]> git.ipfire.org Git - thirdparty/samba.git/log
thirdparty/samba.git
17 years agore-run make idl.
Günther Deschner [Wed, 7 May 2008 12:11:27 +0000 (14:11 +0200)] 
re-run make idl.

Guenther

17 years agoIDL: add missing case 14 and 15 to nbt_cldap_netlogon union.
Günther Deschner [Wed, 7 May 2008 12:10:34 +0000 (14:10 +0200)] 
IDL: add missing case 14 and 15 to nbt_cldap_netlogon union.

Guenther

17 years agodsgetdcname: remove invalid assumptions when using DNS for the DC query.
Günther Deschner [Wed, 7 May 2008 12:09:41 +0000 (14:09 +0200)] 
dsgetdcname: remove invalid assumptions when using DNS for the DC query.

Guenther

17 years agonetapi: add -f switch for DsGetDCName() example and be more verbose on output.
Günther Deschner [Tue, 6 May 2008 15:09:44 +0000 (17:09 +0200)] 
netapi: add -f switch for DsGetDCName() example and be more verbose on output.

Guenther

17 years agowins: fix null pointer crash in nss_wins module.
Günther Deschner [Tue, 6 May 2008 15:02:31 +0000 (17:02 +0200)] 
wins: fix null pointer crash in nss_wins module.

Guenther

17 years agoEnable tests for splice on Linux. Add a static (vl, I hate this)
Jeremy Allison [Tue, 6 May 2008 22:44:39 +0000 (15:44 -0700)] 
Enable tests for splice on Linux. Add a static (vl, I hate this)
so we can detect broken Linux recvfile splice and correctly fall
back.
Jeremy.

17 years agotestsuite: allow selection of posix_s3 subtests by env var POSIX_SUBTESTS.
Michael Adam [Tue, 6 May 2008 21:43:37 +0000 (23:43 +0200)] 
testsuite: allow selection of posix_s3 subtests by env var POSIX_SUBTESTS.

This allows for calling e.g.

TESTS=posix_s3 POSIX_SUBTESTS="RPC-SAMBA3-GETUSERNAME" make test

Michael

17 years agoFix a memleak introduced after refactoring "struct user_struct"
Volker Lendecke [Tue, 6 May 2008 13:41:20 +0000 (15:41 +0200)] 
Fix a memleak introduced after refactoring "struct user_struct"

17 years agoFix a memleak in construct_printer_info_7()
Volker Lendecke [Tue, 6 May 2008 13:06:12 +0000 (15:06 +0200)] 
Fix a memleak in construct_printer_info_7()

Also fix a "ignoring asprintf result" warning

17 years agoRemove some unused code
Volker Lendecke [Tue, 6 May 2008 12:16:06 +0000 (14:16 +0200)] 
Remove some unused code

17 years agoFix a panic in the [ug]id2sid valgrind bug fix
Volker Lendecke [Tue, 6 May 2008 11:53:45 +0000 (13:53 +0200)] 
Fix a panic in the [ug]id2sid valgrind bug fix

Always, always run "make test" before pushing stuff :-)

17 years agolibreplace: check how portable utimes() and futimes() are
Stefan Metzmacher [Tue, 6 May 2008 10:38:55 +0000 (12:38 +0200)] 
libreplace: check how portable utimes() and futimes() are

metze
(cherry picked from commit 8798ce3c744025b94973784dcb44d099427ef190)

17 years agotestsuite: make structuring output of net_s3 tests stand out more.
Michael Adam [Tue, 6 May 2008 10:09:59 +0000 (12:09 +0200)] 
testsuite: make structuring output of net_s3 tests stand out more.

say "RUNNING SUBTESTS ..." instead of "Running ... tests"

Michael

17 years agotestsuite: make diagnostic output more appropriate in tests_all.sh
Michael Adam [Tue, 6 May 2008 10:08:27 +0000 (12:08 +0200)] 
testsuite: make diagnostic output more appropriate in tests_all.sh

Say "RUNNING TESTS ..." instead of "RUNNING SUBTESTS ..."

Michael

17 years agotestsuite: give the testuser administrative rights in selftest.sh
Michael Adam [Fri, 4 Apr 2008 16:29:44 +0000 (18:29 +0200)] 
testsuite: give the testuser administrative rights in selftest.sh

(by adding him to builtin\administrators)

Michael

17 years agotestsuite: run the net rpc registry tests from the net_s3 tests.
Michael Adam [Tue, 6 May 2008 10:01:49 +0000 (12:01 +0200)] 
testsuite: run the net rpc registry tests from the net_s3 tests.

Michael

17 years agotestsuite: add the ability to test "net rpc registry" with the net_registry tests
Michael Adam [Fri, 4 Apr 2008 16:26:34 +0000 (18:26 +0200)] 
testsuite: add the ability to test "net rpc registry" with the net_registry tests

by specifying a parameter "rpc" on the commandline.

Michael

17 years agotestsuite: adapt informative message to say "Running _local_ registry tests".
Michael Adam [Tue, 6 May 2008 09:43:27 +0000 (11:43 +0200)] 
testsuite: adapt informative message to say "Running _local_ registry tests".

The plan is to also test remote registry  with "net rpc registry".

Michael

17 years agotestsuite: use domain==workgroup in wbinfo tests now that we are PDC.
Michael Adam [Tue, 6 May 2008 09:40:05 +0000 (11:40 +0200)] 
testsuite: use domain==workgroup in wbinfo tests now that we are PDC.

Previously domain==netbios name was the right thing to use.

Michael

17 years agotests: Add a net_misc test.
Kai Blin [Fri, 2 May 2008 23:50:20 +0000 (01:50 +0200)] 
tests: Add a net_misc test.

17 years agoselftest: Advertise as PDC and time server during make test
Kai Blin [Mon, 5 May 2008 13:26:11 +0000 (15:26 +0200)] 
selftest: Advertise as PDC and time server during make test

17 years agoselftest: Use TESTS env var to specify tests to run like Samba4 does.
Kai Blin [Fri, 2 May 2008 23:45:33 +0000 (01:45 +0200)] 
selftest: Use TESTS env var to specify tests to run like Samba4 does.

17 years agogitignore: Add *.swp files, *.patch files and export/libtdb.symb
Kai Blin [Fri, 2 May 2008 23:50:47 +0000 (01:50 +0200)] 
gitignore: Add *.swp files, *.patch files and export/libtdb.symb

17 years agoFix a valgrind bug in the new [ug]id2sid cache
Volker Lendecke [Sat, 3 May 2008 00:41:10 +0000 (02:41 +0200)] 
Fix a valgrind bug in the new [ug]id2sid cache

When we're given a SID, it is not always padded with zeros. Only look at the
initialized parts in the SID.

17 years agobuild: fix the build w/o ldap.
Günther Deschner [Tue, 6 May 2008 07:48:16 +0000 (09:48 +0200)] 
build: fix the build w/o ldap.

Guenther

17 years agomailslot/cldap: use nt_version bits in queries.
Günther Deschner [Mon, 5 May 2008 16:04:41 +0000 (18:04 +0200)] 
mailslot/cldap: use nt_version bits in queries.

Guenther

17 years agodsgetdcname: use correct dc name for name cache store.
Günther Deschner [Mon, 5 May 2008 15:22:49 +0000 (17:22 +0200)] 
dsgetdcname: use correct dc name for name cache store.

Guenther

17 years agoMerge branch 'v3-3-test' of ssh://jra@git.samba.org/data/git/samba into v3-3-test
Jeremy Allison [Mon, 5 May 2008 23:29:21 +0000 (16:29 -0700)] 
Merge branch 'v3-3-test' of ssh://jra@git.samba.org/data/git/samba into v3-3-test

17 years agoTry and fix bug #5095, "Manage Documents privilege is not functional".
Jeremy Allison [Mon, 5 May 2008 23:24:52 +0000 (16:24 -0700)] 
Try and fix bug #5095, "Manage Documents privilege is not functional".
Should map the created sd to printer jobs, not printer.
Jerry please test and I'll add to 3.2 if it passes. Thanks,
Jeremy.

17 years agoRemove unused dir_status_struct
Volker Lendecke [Mon, 5 May 2008 20:53:09 +0000 (22:53 +0200)] 
Remove unused dir_status_struct

17 years agoFix a C++ warning
Volker Lendecke [Mon, 5 May 2008 15:24:17 +0000 (17:24 +0200)] 
Fix a C++ warning

17 years agoRemove "userdom_struct user" from "struct user_struct"
Volker Lendecke [Wed, 30 Apr 2008 15:42:39 +0000 (17:42 +0200)] 
Remove "userdom_struct user" from "struct user_struct"

17 years agoFix a typo
Volker Lendecke [Sat, 3 May 2008 07:52:24 +0000 (09:52 +0200)] 
Fix a typo

17 years agoRemove unused set_current_user_guest()
Volker Lendecke [Wed, 30 Apr 2008 15:06:45 +0000 (17:06 +0200)] 
Remove unused set_current_user_guest()

17 years agoFix typo
Volker Lendecke [Wed, 30 Apr 2008 10:58:40 +0000 (12:58 +0200)] 
Fix typo

17 years agoRemove "session_key" from "struct user_struct"
Volker Lendecke [Wed, 30 Apr 2008 12:26:16 +0000 (14:26 +0200)] 
Remove "session_key" from "struct user_struct"

This one took a bit -- I hope I covered all data paths

17 years agoRemove "guest" from "struct user_struct"
Volker Lendecke [Tue, 29 Apr 2008 11:45:58 +0000 (13:45 +0200)] 
Remove "guest" from "struct user_struct"

17 years agoRemove the unix token info from "struct user_struct"
Volker Lendecke [Tue, 29 Apr 2008 11:43:10 +0000 (13:43 +0200)] 
Remove the unix token info from "struct user_struct"

17 years agoRemove "nt_user_token" from "struct user_struct"
Volker Lendecke [Tue, 29 Apr 2008 11:35:00 +0000 (13:35 +0200)] 
Remove "nt_user_token" from "struct user_struct"

17 years agoRemove "logon_script" from "struct user_struct"
Volker Lendecke [Tue, 29 Apr 2008 11:28:40 +0000 (13:28 +0200)] 
Remove "logon_script" from "struct user_struct"

17 years agoRemove unix_homedir from struct user_struct
Volker Lendecke [Tue, 29 Apr 2008 11:23:47 +0000 (13:23 +0200)] 
Remove unix_homedir from struct user_struct

This makes pdb_get_unix_homedir unused. I wonder if that was ever really used...

17 years agoRemove "homedir" from "struct user_struct"
Volker Lendecke [Tue, 29 Apr 2008 10:47:55 +0000 (12:47 +0200)] 
Remove "homedir" from "struct user_struct"

17 years agopipes_struct->pipe_user_name is unused, remove it
Volker Lendecke [Mon, 28 Apr 2008 17:42:11 +0000 (19:42 +0200)] 
pipes_struct->pipe_user_name is unused, remove it

17 years agoMake the namelist arg to set_namearray const
Volker Lendecke [Mon, 28 Apr 2008 11:35:44 +0000 (13:35 +0200)] 
Make the namelist arg to set_namearray const

17 years agoFix client authentication with -P switch in client tools (Bug 5435).
Günther Deschner [Mon, 5 May 2008 14:58:24 +0000 (16:58 +0200)] 
Fix client authentication with -P switch in client tools (Bug 5435).

Guenther

17 years agoRevert "Fix allocation of conn->vuid_cache entries"
Volker Lendecke [Mon, 5 May 2008 13:06:39 +0000 (15:06 +0200)] 
Revert "Fix allocation of conn->vuid_cache entries"

This reverts commit 50c891d3dfb75c9f607f7ad2a578aa3ba5d91988.

There's more to this code -- sorry for the spam

17 years agoRevert "Second half of 50c891d3: Correctly clear the vuid cache"
Volker Lendecke [Mon, 5 May 2008 13:06:30 +0000 (15:06 +0200)] 
Revert "Second half of 50c891d3: Correctly clear the vuid cache"

This reverts commit 0aea404b0a83736ba2884cc7cf00cd797aab1f56.

17 years agoSecond half of 50c891d3: Correctly clear the vuid cache
Volker Lendecke [Mon, 5 May 2008 12:53:49 +0000 (14:53 +0200)] 
Second half of 50c891d3: Correctly clear the vuid cache

17 years agoFix allocation of conn->vuid_cache entries
Volker Lendecke [Mon, 5 May 2008 12:43:57 +0000 (14:43 +0200)] 
Fix allocation of conn->vuid_cache entries

With the old code, if more than VUID_CACHE_SIZE elements were used all new
entries ended up in slot 0. With this checkin we do cycle.

Jeremy, please revert if the old behaviour was intentional

17 years agoFix dfs_Enum: In form_junctions, correctly check for malloc failure
Volker Lendecke [Mon, 5 May 2008 10:45:12 +0000 (12:45 +0200)] 
Fix dfs_Enum: In form_junctions, correctly check for malloc failure

17 years agoDeveloper's Guide: Fix typos.
Karolin Seeger [Sun, 4 May 2008 04:48:31 +0000 (06:48 +0200)] 
Developer's Guide: Fix typos.

Karolin

17 years agoRemove connection_struct->mem_ctx, connection_struct is its own parent
Volker Lendecke [Mon, 28 Apr 2008 08:31:49 +0000 (10:31 +0200)] 
Remove connection_struct->mem_ctx, connection_struct is its own parent

17 years agoFix two uninitialized variable warnings
Volker Lendecke [Mon, 5 May 2008 09:15:59 +0000 (11:15 +0200)] 
Fix two uninitialized variable warnings

17 years agoRemove the "stat_open()" function, flag, and all associated code. It was only
Jeremy Allison [Sat, 3 May 2008 00:22:10 +0000 (17:22 -0700)] 
Remove the "stat_open()" function, flag, and all associated code. It was only
being (correctly) used in the can_read/can_write checks for hide unreadable/unwritable
and this is more properly done using the functions in smbd/file_access.c.
Preparing to do NT access checks on all file access.
Jeremy.

17 years agoRename inherit_access_acl() -> inherit_access_posix_acl() to make use clear.
Jeremy Allison [Fri, 2 May 2008 19:54:53 +0000 (12:54 -0700)] 
Rename inherit_access_acl() -> inherit_access_posix_acl() to make use clear.
Jeremy.

17 years agoMove directory_has_default_acl() to file_access.c, belongs
Jeremy Allison [Fri, 2 May 2008 17:09:00 +0000 (10:09 -0700)] 
Move directory_has_default_acl() to file_access.c, belongs
there as it no longer uses explicit POSIX ACL calls.
Jeremy.

17 years agoStart to ensure we use the NT ACL interface, keep the POSIX
Jeremy Allison [Fri, 2 May 2008 00:01:37 +0000 (17:01 -0700)] 
Start to ensure we use the NT ACL interface, keep the POSIX
ACL interface inside the VFS modules. Will help when moving
to storing NT ACLs.
Jeremy.

17 years agoTidyup to ensure '\n' is treated identically in all
Jeremy Allison [Thu, 1 May 2008 15:48:52 +0000 (08:48 -0700)] 
Tidyup to ensure '\n' is treated identically in all
cases.
Jeremy.

17 years agoFix bug #5434 found by Ted Percival <ted@midg3t.net>.
Jeremy Allison [Thu, 1 May 2008 15:39:16 +0000 (08:39 -0700)] 
Fix bug #5434 found by Ted Percival <ted@midg3t.net>.
Introduced by me in the strlcpy cleanup. Ensure the
loaded password doesn't contain the '\n' at the end.
Jeremy.

17 years agontlmssp: replace UNKNOWN_02000000 with NTLMSSP_NEGOTIATE_VERSION.
Günther Deschner [Wed, 30 Apr 2008 16:47:40 +0000 (18:47 +0200)] 
ntlmssp: replace UNKNOWN_02000000 with NTLMSSP_NEGOTIATE_VERSION.

Guenther

17 years agopam_winbind: Fix Bug #5430 (patch from fumiyas@osstech.co.jp).
Günther Deschner [Wed, 30 Apr 2008 16:23:26 +0000 (18:23 +0200)] 
pam_winbind: Fix Bug #5430 (patch from fumiyas@osstech.co.jp).

Guenther

17 years agoFix typo noticed by David Disseldorp <ddiss@sgi.com>. AF_INET should be AF_INET6...
Jeremy Allison [Wed, 30 Apr 2008 16:28:47 +0000 (09:28 -0700)] 
Fix typo noticed by David Disseldorp <ddiss@sgi.com>. AF_INET should be AF_INET6 in this case.
Jeremy.

17 years agoWinbind: Prevent cycle in children list when reaping dead child processes.
Gerald W. Carter [Wed, 30 Apr 2008 15:09:43 +0000 (10:09 -0500)] 
Winbind: Prevent cycle in children list when reaping dead child processes.

Thanks to Glenn Curtis and Kyle Stemen @ Likewise.  Their explanation is:

    In winbindd_dual.c, there is a list of children processes that
    is maintained using macros DTLIST_ADD and DTLIST_REMOVE. In the
    case when a scheduled_async_request fails, the particular child
    was located in the list, and its attributes were cleared out
    and it was reused for a subsequent async request. The bug was that
    the new request would queue the same node into the doubly-linked
    list and would result in list->next pointing to the same node as
    list itself. This would set up an infinite loop in the processing of
    the for loop when the list of children was referenced.

    Solution was to fully remove the child node from the list, such that
    it could be inserted without risk of being inserted twice.

Note that the child is re-added to the list in fork_domain_child() again.

17 years agoBUG 5107: Fix handling of large DNS replies on AIX and Solaris.
Gerald W. Carter [Wed, 30 Apr 2008 14:57:15 +0000 (09:57 -0500)] 
BUG 5107: Fix handling of large DNS replies on AIX and Solaris.

On AIX, Solaris, and possibly some older glibc systems (e.g. SLES8)
truncated replies never give back a resp_len > buflen
which ends up causing DNS resolve failures on large tcp DNS replies.

Also add more debug lines about processing the DNS reply.

17 years agoBUG 5429: Clarify log msgs re: failure to create BUILTIN\{Administrators,Users}
Gerald W. Carter [Wed, 30 Apr 2008 14:43:00 +0000 (09:43 -0500)] 
BUG 5429: Clarify log msgs re: failure to create BUILTIN\{Administrators,Users}

Raise the debug msgs from Lvl 0 in the create_builtin_XX() functions
to prevent unnecessary panic from people reading the logs.

17 years agore-run make idl.
Günther Deschner [Wed, 30 Apr 2008 14:03:58 +0000 (16:03 +0200)] 
re-run make idl.

Guenther

17 years agobuild: fix make everything.
Günther Deschner [Wed, 30 Apr 2008 14:02:23 +0000 (16:02 +0200)] 
build: fix make everything.

Guenther

17 years agoIDL: add nbt_cldap_netlogon_29 which includes the next_closest_site.
Günther Deschner [Wed, 30 Apr 2008 13:49:20 +0000 (15:49 +0200)] 
IDL: add nbt_cldap_netlogon_29 which includes the next_closest_site.

Guenther

17 years agoIDL: use nbt_netlogon_command in cldap replies.
Günther Deschner [Wed, 30 Apr 2008 13:19:32 +0000 (15:19 +0200)] 
IDL: use nbt_netlogon_command in cldap replies.

Guenther

17 years agoNext round fixing bug 5420, build on IRIX
Volker Lendecke [Sun, 27 Apr 2008 10:16:23 +0000 (12:16 +0200)] 
Next round fixing bug 5420, build on IRIX

The IRIX make does not like lines with only whitespace. With LIBNETAPI_LIBS
evaluating to nothing this happens there.

17 years agoAttempt to fix the build on IRIX: Bug 5420
Volker Lendecke [Sat, 26 Apr 2008 07:48:17 +0000 (09:48 +0200)] 
Attempt to fix the build on IRIX: Bug 5420

17 years agoregistry: skip writes of existing keys in init_registry_data().
Michael Adam [Tue, 29 Apr 2008 15:41:03 +0000 (17:41 +0200)] 
registry: skip writes of existing keys in init_registry_data().

Michael

17 years agoregistry: save writes in init_registry_data() if data does already exist.
Michael Adam [Tue, 29 Apr 2008 15:37:35 +0000 (17:37 +0200)] 
registry: save writes in init_registry_data() if data does already exist.

This is done by first checking if all data (keys and values) exists
(using new regdb_key_exists()) and kompletely skipping all writes if it does.

Michael

17 years agoregistry: check for existence of key init_registry_key and possibly save a write.
Michael Adam [Tue, 29 Apr 2008 15:18:26 +0000 (17:18 +0200)] 
registry: check for existence of key init_registry_key and possibly save a write.

Michael

17 years agoregistry: add function regdb_key_exists() to check for existence of a key.
Michael Adam [Tue, 29 Apr 2008 15:17:02 +0000 (17:17 +0200)] 
registry: add function regdb_key_exists() to check for existence of a key.

The existence of the registry key entry (and not the values entry!) is
taken as the criterion for existence.

Michael

17 years agoregistry: use regdb_fetch_key_internal() in regdb_fetch_values().
Michael Adam [Tue, 29 Apr 2008 15:11:09 +0000 (17:11 +0200)] 
registry: use regdb_fetch_key_internal() in regdb_fetch_values().

Michael

17 years agoregistry: use regdb_fetch_key_internal() in regdb_fetch_keys().
Michael Adam [Tue, 29 Apr 2008 15:09:10 +0000 (17:09 +0200)] 
registry: use regdb_fetch_key_internal() in regdb_fetch_keys().

Michael

17 years agoregistry: add a function for fetching a tdb record for a given keystring
Michael Adam [Tue, 29 Apr 2008 15:04:41 +0000 (17:04 +0200)] 
registry: add a function for fetching a tdb record for a given keystring

regdb_fetch_key_internal()

Michael

17 years agoregistry: combine talloc_strdup() and normalize_reg_path() in regdb_fetch_keys().
Michael Adam [Tue, 29 Apr 2008 13:30:45 +0000 (15:30 +0200)] 
registry: combine talloc_strdup() and normalize_reg_path() in regdb_fetch_keys().

the talloc_strdup() call is just and extra allocation here.

Michael

17 years agoregistry: use normalize_reg_path() in regdb_fetch_keys()
Michael Adam [Tue, 29 Apr 2008 13:28:47 +0000 (15:28 +0200)] 
registry: use normalize_reg_path() in regdb_fetch_keys()

instead of handcrafting normalization.

Michael

17 years agoregistry: use dbwrap_fetch_bystring() in regdb_fetch_values().
Michael Adam [Tue, 29 Apr 2008 13:17:54 +0000 (15:17 +0200)] 
registry: use dbwrap_fetch_bystring() in regdb_fetch_values().

Michael

17 years agoregistry: use dbwrap_fetch_bystring() in regdb_fetch_keys().
Michael Adam [Tue, 29 Apr 2008 13:16:10 +0000 (15:16 +0200)] 
registry: use dbwrap_fetch_bystring() in regdb_fetch_keys().

instead of using regdb->fetch and constructing tdb data
from the registry key string by hand.

Michael

17 years agobuild: fix some build dependencies.
Günther Deschner [Tue, 29 Apr 2008 22:58:49 +0000 (00:58 +0200)] 
build: fix some build dependencies.

Guenther

17 years agoRe-run make idl.
Günther Deschner [Tue, 29 Apr 2008 22:58:28 +0000 (00:58 +0200)] 
Re-run make idl.

Guenther

17 years agoIDL: use nbt_dc_sock_addr.
Günther Deschner [Tue, 29 Apr 2008 23:10:13 +0000 (01:10 +0200)] 
IDL: use nbt_dc_sock_addr.

Guenther

17 years agoIDL: move some netlogon DS flags to NBT where they actually showup first.
Günther Deschner [Tue, 29 Apr 2008 22:56:31 +0000 (00:56 +0200)] 
IDL: move some netlogon DS flags to NBT where they actually showup first.

Guenther

17 years agoIDL: use samr_AcctFlags in nbt_ntlogon_sam_logon.
Günther Deschner [Tue, 29 Apr 2008 22:35:57 +0000 (00:35 +0200)] 
IDL: use samr_AcctFlags in nbt_ntlogon_sam_logon.

Guenther

17 years agoIDL: add nbt_netlogon_version.
Günther Deschner [Tue, 29 Apr 2008 22:34:43 +0000 (00:34 +0200)] 
IDL: add nbt_netlogon_version.

Guenther

17 years agorpcclient: fix another srv_name_slash.
Günther Deschner [Tue, 29 Apr 2008 18:14:17 +0000 (20:14 +0200)] 
rpcclient: fix another srv_name_slash.

Guenther

17 years ago_netr_LogonSamLogon: fix lm session key length.
Günther Deschner [Tue, 29 Apr 2008 18:13:22 +0000 (20:13 +0200)] 
_netr_LogonSamLogon: fix lm session key length.

Thanks Volker for pointing this out.

Guenther

17 years agoRe-run make idl.
Günther Deschner [Tue, 29 Apr 2008 18:12:26 +0000 (20:12 +0200)] 
Re-run make idl.

Guenther

17 years agoIDL: Add DFS_MANAGER_VERSION_W2K8.
Günther Deschner [Tue, 29 Apr 2008 18:11:59 +0000 (20:11 +0200)] 
IDL: Add DFS_MANAGER_VERSION_W2K8.

Guenther

17 years agonetapi: fix returned name buffer in NetGetJoinInformation_r().
Günther Deschner [Tue, 29 Apr 2008 18:11:02 +0000 (20:11 +0200)] 
netapi: fix returned name buffer in NetGetJoinInformation_r().

Guenther

17 years agoerrors: add WERR_NOT_FOUND.
Günther Deschner [Tue, 29 Apr 2008 18:10:17 +0000 (20:10 +0200)] 
errors: add WERR_NOT_FOUND.

Guenther

17 years agoMerge data_blob_hex_string from Samba4.
Günther Deschner [Fri, 25 Apr 2008 18:06:19 +0000 (20:06 +0200)] 
Merge data_blob_hex_string from Samba4.

Guenther

17 years agoFix bug found by Igor Mammedov <niallain@gmail.com> where we are
Jeremy Allison [Mon, 28 Apr 2008 22:06:08 +0000 (15:06 -0700)] 
Fix bug found by Igor Mammedov <niallain@gmail.com> where we are
not returning a directory value for a QPATHINFO on a msdfs link
with a non-dfs path. Windows does this.
Jeremy.

17 years agoman smbcacls: Correct possible flag values.
Karolin Seeger [Mon, 28 Apr 2008 13:26:57 +0000 (15:26 +0200)] 
man smbcacls: Correct possible flag values.

This patch fixes bug #620.
Thanks to Satoh Fumiyasu <fumiyas@osstech.co.jp>!

Karolin

17 years agoFix bug 5419: memory leak in ads_do_search_all_args() when enumerating 1000s of entries
Steven Danneman [Sat, 26 Apr 2008 01:34:46 +0000 (18:34 -0700)] 
Fix bug 5419: memory leak in ads_do_search_all_args() when enumerating 1000s of entries

The ads_do_search_all_args() function attempts to string together several
LDAPMessage structures, returned across several paged ldap requests, into a
single LDAPMessage structure.  It does this by pulling entries off the second
LDAPMessage structure and appending them to the first via the OpenLDAP specific
ldap_add_result_entry() call.

The problem with this approach is it skips non-entry messages such as the
result, and controls.  These messages are leaked.

The short term solution as suggested by Volker is to replace the ads_*_entry()
calls with ads_*_message() calls so we don't leak any messages.

This fixes the leak but doesn't remove the dependence on the OpenLDAP specific
implementation of ldap_add_result_entry().

17 years agoSync up client/mount.cifs.c with v3-2-test.
Jeremy Allison [Fri, 25 Apr 2008 16:29:11 +0000 (09:29 -0700)] 
Sync up client/mount.cifs.c with v3-2-test.
Jeremy.

17 years agoSetting version to 3.3.0pre1
Gerald W. Carter [Fri, 25 Apr 2008 13:35:27 +0000 (08:35 -0500)] 
Setting version to 3.3.0pre1