metze/samba/wb-ndr.git
16 years agowb-ndr: use winbindd_get_dc_info_async_child() to implement WINBINDD_DSGETDCNAME
Stefan Metzmacher [Fri, 7 Dec 2007 23:25:26 +0000 (00:25 +0100)]
wb-ndr: use winbindd_get_dc_info_async_child() to implement WINBINDD_DSGETDCNAME

metze

16 years agowb-ndr: implement WINBIND_DC_INFO_LEVEL_COMPAT_DS in the locator child
Stefan Metzmacher [Fri, 7 Dec 2007 18:04:57 +0000 (19:04 +0100)]
wb-ndr: implement WINBIND_DC_INFO_LEVEL_COMPAT_DS in the locator child

metze

16 years agowb-ndr: remove unused WINBINDD_DUAL_GETDCNAME support
Stefan Metzmacher [Mon, 17 Sep 2007 14:28:20 +0000 (16:28 +0200)]
wb-ndr: remove unused WINBINDD_DUAL_GETDCNAME support

metze

16 years agowb-ndr: use winbindd_get_dc_info_async_domain() to implement WINBINDD_GETDCNAME
Stefan Metzmacher [Fri, 7 Dec 2007 18:05:28 +0000 (19:05 +0100)]
wb-ndr: use winbindd_get_dc_info_async_domain() to implement WINBINDD_GETDCNAME

metze

16 years agowb-ndr: add winbindd_get_dc_info_async_child() function
Stefan Metzmacher [Fri, 7 Dec 2007 23:24:21 +0000 (00:24 +0100)]
wb-ndr: add winbindd_get_dc_info_async_child() function

metze

16 years agowb-ndr: add winbindd_get_dc_info_async_domain() function
Stefan Metzmacher [Fri, 7 Dec 2007 18:05:54 +0000 (19:05 +0100)]
wb-ndr: add winbindd_get_dc_info_async_domain() function

metze

16 years agowb-ndr: remove unused WINBINDD_INIT_CONNECTION support
Stefan Metzmacher [Wed, 12 Sep 2007 12:53:00 +0000 (14:53 +0200)]
wb-ndr: remove unused WINBINDD_INIT_CONNECTION support

metze

16 years agowb-ndr: use the ndr calls in init_child_connection()
Stefan Metzmacher [Fri, 7 Dec 2007 18:38:44 +0000 (19:38 +0100)]
wb-ndr: use the ndr calls in init_child_connection()

metze

16 years agowb-ndr: add option to forward ping requests to our domain child
Stefan Metzmacher [Wed, 12 Sep 2007 10:22:56 +0000 (12:22 +0200)]
wb-ndr: add option to forward ping requests to our domain child

The option "winbindd:ping_our_domain=yes"
is very useful for testing and benchmarks

metze

16 years agowb-ndr: implement winbindd_ndr_child_get_dc_info() with DC_INFO_LEVEL_COMPAT_NT4
Stefan Metzmacher [Sun, 23 Dec 2007 15:39:58 +0000 (16:39 +0100)]
wb-ndr: implement winbindd_ndr_child_get_dc_info() with DC_INFO_LEVEL_COMPAT_NT4

metze

16 years agowb-ndr: implement winbindd_ndr_child_get_domain_info() with DOMAIN_INFO_LEVEL_COMPAT
Stefan Metzmacher [Wed, 12 Sep 2007 07:14:03 +0000 (09:14 +0200)]
wb-ndr: implement winbindd_ndr_child_get_domain_info() with DOMAIN_INFO_LEVEL_COMPAT

metze

16 years agowb-ndr: rerun 'make idl'
Stefan Metzmacher [Wed, 19 Sep 2007 18:49:30 +0000 (20:49 +0200)]
wb-ndr: rerun 'make idl'

metze

16 years agowb-ndr: add idl for winbindd_get_dc_info() with compat levels
Stefan Metzmacher [Fri, 14 Dec 2007 11:08:18 +0000 (12:08 +0100)]
wb-ndr: add idl for winbindd_get_dc_info() with compat levels

metze

16 years agowb-ndr: add idl for winbindd_get_domain_info()
Stefan Metzmacher [Mon, 10 Sep 2007 08:23:16 +0000 (10:23 +0200)]
wb-ndr: add idl for winbindd_get_domain_info()

metze

16 years agowb-ndr: add do_async_ndr()/do_async_ndr_domain() similar to
Stefan Metzmacher [Thu, 6 Sep 2007 16:09:10 +0000 (18:09 +0200)]
wb-ndr: add do_async_ndr()/do_async_ndr_domain() similar to

do_async()/do_async_domain()

metze

16 years agowb-ndr: pass ndr requests via sendto_child()/sendto_domain() too
Stefan Metzmacher [Thu, 6 Sep 2007 16:07:19 +0000 (18:07 +0200)]
wb-ndr: pass ndr requests via sendto_child()/sendto_domain() too

metze

16 years agowb-ndr: add async_ndr_domain_call() similar to async_domain_request()
Stefan Metzmacher [Thu, 6 Sep 2007 16:05:29 +0000 (18:05 +0200)]
wb-ndr: add async_ndr_domain_call() similar to async_domain_request()

metze

16 years agowb-ndr: add async_ndr_call() similar to async_request()
Stefan Metzmacher [Thu, 6 Sep 2007 16:03:57 +0000 (18:03 +0200)]
wb-ndr: add async_ndr_call() similar to async_request()

metze

16 years agowb-ndr: infrastructure to handle ndr requests in the winbind childs
Stefan Metzmacher [Tue, 11 Dec 2007 12:04:02 +0000 (13:04 +0100)]
wb-ndr: infrastructure to handle ndr requests in the winbind childs

metze

16 years agowb-ndr: implement NDR_WINBIND_PING
Stefan Metzmacher [Mon, 3 Sep 2007 07:27:00 +0000 (09:27 +0200)]
wb-ndr: implement NDR_WINBIND_PING

metze

16 years agowb-ndr: add infrastruture for ndr based requests in the winbindd parent
Stefan Metzmacher [Tue, 20 Nov 2007 14:32:27 +0000 (15:32 +0100)]
wb-ndr: add infrastruture for ndr based requests in the winbindd parent

metze

16 years agowb-ndr: add pidl generated files from winbind_protocol.idl
Stefan Metzmacher [Tue, 20 Nov 2007 15:36:06 +0000 (16:36 +0100)]
wb-ndr: add pidl generated files from winbind_protocol.idl

metze

16 years agowb-ndr: add winbind_protocol.idl
Stefan Metzmacher [Tue, 21 Aug 2007 07:33:48 +0000 (09:33 +0200)]
wb-ndr: add winbind_protocol.idl

This will define the new NDR based winbind protocol.

metze

16 years agowinbindd: remove currently disabled WINBINDD_SIDS_TO_XIDS support
Stefan Metzmacher [Wed, 12 Dec 2007 08:07:13 +0000 (09:07 +0100)]
winbindd: remove currently disabled WINBINDD_SIDS_TO_XIDS support

metze

16 years agoTidyup to ensure '\n' is treated identically in all
Jeremy Allison [Thu, 1 May 2008 15:49:18 +0000 (08:49 -0700)]
Tidyup to ensure '\n' is treated identically in all
cases. Karolin please pull for 3.2-stable.
Jeremy.

16 years agoFix bug #5434 found by Ted Percival <ted@midg3t.net>.
Jeremy Allison [Thu, 1 May 2008 15:40:30 +0000 (08:40 -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.
Karolin - please pull for 3.2 stable !
Jeremy.

16 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
(cherry picked from commit 5b65df6245c1458ca21cc602df11c49aa97a25c5)

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

16 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.
(cherry picked from commit b379b5b5d8a6daccc69aaf2be6d9a6e276e7dd78)

16 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.
(cherry picked from commit 5ed9b92097460cd8180db806a08213e97cfb8daa)

16 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.
(cherry picked from commit 2983b9dc790e0f90ec1e6add131438c6bfd361b4)

16 years agoFix bug found by Igor Mammedov <niallain@gmail.com> where we are
Jeremy Allison [Mon, 28 Apr 2008 22:06:14 +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.

16 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
(cherry picked from commit 70f6966099788f4bdb0298a68d4cb0b90964dd8f)

16 years agoWHATSNEW: Add changes from Steven Danneman.
Karolin Seeger [Mon, 28 Apr 2008 08:01:12 +0000 (10:01 +0200)]
WHATSNEW: Add changes from Steven Danneman.

Karolin

16 years agoWHATSNEW: Preparation for 3.2.0rc1.
Karolin Seeger [Mon, 28 Apr 2008 07:19:41 +0000 (09:19 +0200)]
WHATSNEW: Preparation for 3.2.0rc1.

Karolin

16 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.

16 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

16 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().

16 years agoRemove hard coded sizes.
Jeremy Allison [Fri, 25 Apr 2008 15:29:08 +0000 (08:29 -0700)]
Remove hard coded sizes.
Jeremy.

16 years agoRevert "mount.cifs: Zero mountpassword content before freeing."
Volker Lendecke [Fri, 25 Apr 2008 15:04:44 +0000 (17:04 +0200)]
Revert "mount.cifs: Zero mountpassword content before freeing."

This reverts commit d99a31848bd2172c15500dd61ce30fef963c1ac6.

16 years agoRevert "Make some fns static"
Volker Lendecke [Fri, 25 Apr 2008 14:48:00 +0000 (16:48 +0200)]
Revert "Make some fns static"

This reverts commit e04fc36f223d8d905a930c077a6cf6c48ee57af7.

16 years agoRevert "Remove a redundant TALLOC_FREE"
Volker Lendecke [Fri, 25 Apr 2008 14:45:17 +0000 (16:45 +0200)]
Revert "Remove a redundant TALLOC_FREE"

This reverts commit 8e348ab8652e1893be78384404f57df1dbbcea48.

16 years agoRevert "Enable multiple fd events on a single file descriptor"
Volker Lendecke [Fri, 25 Apr 2008 14:43:30 +0000 (16:43 +0200)]
Revert "Enable multiple fd events on a single file descriptor"

This reverts commit 61503f822b60f98dd1f7549707ec89b48e32caeb.

16 years agoRevert "Remove some write-only fstrings"
Volker Lendecke [Fri, 25 Apr 2008 14:42:27 +0000 (16:42 +0200)]
Revert "Remove some write-only fstrings"

This reverts commit aacb07b1b0f674b8cb92347ef4b4dd1e7808dde8.

16 years agoRevert "Remove namedpipe_transact fn pointer from smb_np_struct"
Volker Lendecke [Fri, 25 Apr 2008 14:42:15 +0000 (16:42 +0200)]
Revert "Remove namedpipe_transact fn pointer from smb_np_struct"

This reverts commit d1f82b7e67a791e19d08c682b607d82ae649feb4.

16 years agoRevert "Set the right domain\user in cli_rpc_pipe_open_ntlmssp_internal"
Volker Lendecke [Fri, 25 Apr 2008 14:35:23 +0000 (16:35 +0200)]
Revert "Set the right domain\user in cli_rpc_pipe_open_ntlmssp_internal"

This reverts commit b90062e33cbde7de4961414fd35a3a588760d002.

16 years agoRevert "Refactoring: Make struct rpc_pipe_client its own talloc parent"
Volker Lendecke [Fri, 25 Apr 2008 14:35:10 +0000 (16:35 +0200)]
Revert "Refactoring: Make struct rpc_pipe_client its own talloc parent"

This reverts commit a6d74a5a562b54f0b36934965f545fdeb1e8b34a.

16 years agoRevert "Add "desthost" to rpc_pipe_client"
Volker Lendecke [Fri, 25 Apr 2008 14:35:05 +0000 (16:35 +0200)]
Revert "Add "desthost" to rpc_pipe_client"

This reverts commit 783afab9c891dd7bcb78895b2a639b6f3a0edf5b.

16 years agoRevert "Fix two "ignoring asprintf result" warnings"
Volker Lendecke [Fri, 25 Apr 2008 14:34:59 +0000 (16:34 +0200)]
Revert "Fix two "ignoring asprintf result" warnings"

This reverts commit 1d261e78b38e8080ca7122037d33c8ef913a4558.

16 years agoRevert "Move srv_name_slash from cli_state to rpc_pipe_client"
Volker Lendecke [Fri, 25 Apr 2008 14:34:30 +0000 (16:34 +0200)]
Revert "Move srv_name_slash from cli_state to rpc_pipe_client"

This reverts commit a9061e52e1ff8e31aa480f4a30cda64c9d93214e.

16 years agoRevert "Introduce rpccli_set_timeout()"
Volker Lendecke [Fri, 25 Apr 2008 14:34:18 +0000 (16:34 +0200)]
Revert "Introduce rpccli_set_timeout()"

This reverts commit 2e4c1ba38963cffe4c3f25ab24bc28975f2fc291.

16 years agoRevert "Use rpc_pipe_client->user_name instead of rpc_pipe_client->cli->user_name"
Volker Lendecke [Fri, 25 Apr 2008 14:34:11 +0000 (16:34 +0200)]
Revert "Use rpc_pipe_client->user_name instead of rpc_pipe_client->cli->user_name"

This reverts commit 3f6c5b99664a75a6f490ee3b6980b89cacf7f579.

16 years agoRevert "Remove some unused code referencing pipe_names[]"
Volker Lendecke [Fri, 25 Apr 2008 14:34:05 +0000 (16:34 +0200)]
Revert "Remove some unused code referencing pipe_names[]"

This reverts commit d8a04b798c44c26a91a37fa7090dd071a1909166.

16 years agoRevert "Remove the pipe_idx variable from rpc_pipe_client"
Volker Lendecke [Fri, 25 Apr 2008 14:33:54 +0000 (16:33 +0200)]
Revert "Remove the pipe_idx variable from rpc_pipe_client"

This reverts commit 4840febcd481563c3d9b2fabc1fe1b2ae5a76cf6.

16 years agoRevert "Refactoring: Move stuff around for creating a pipe"
Volker Lendecke [Fri, 25 Apr 2008 14:33:47 +0000 (16:33 +0200)]
Revert "Refactoring: Move stuff around for creating a pipe"

This reverts commit 45be749ed69f8c1ad3ebe8ea1f35c806db2ed5d0.

16 years agoRevert "Replace cli_rpc_pipe_close by a talloc destructor on rpc_pipe_struct"
Volker Lendecke [Fri, 25 Apr 2008 14:33:35 +0000 (16:33 +0200)]
Revert "Replace cli_rpc_pipe_close by a talloc destructor on rpc_pipe_struct"

This reverts commit 99fc3283c4ecc791f5a242bd1983b4352ce3e6cf.

16 years agoRevert "Remove a redundant reference to rpc_pipe_state->cli from srv_spoolss"
Volker Lendecke [Fri, 25 Apr 2008 14:33:30 +0000 (16:33 +0200)]
Revert "Remove a redundant reference to rpc_pipe_state->cli from srv_spoolss"

This reverts commit 7331c4c2781bf7904942c119f1a8de8eda00ae7e.

16 years agoRevert "Introduce rpc_pipe_np_smb_conn()"
Volker Lendecke [Fri, 25 Apr 2008 14:33:23 +0000 (16:33 +0200)]
Revert "Introduce rpc_pipe_np_smb_conn()"

This reverts commit c56e1c08cef107ff33a34346ceeca3475a102b19.

16 years agoRevert "Make convert_samr_dispinfo_to_NET_DISPLAY() static"
Volker Lendecke [Fri, 25 Apr 2008 14:33:15 +0000 (16:33 +0200)]
Revert "Make convert_samr_dispinfo_to_NET_DISPLAY() static"

This reverts commit a30a26d471a572167ee13bf10be1a275a6592851.

16 years agoRevert "Fix some empty lines with just spaces"
Volker Lendecke [Fri, 25 Apr 2008 14:33:01 +0000 (16:33 +0200)]
Revert "Fix some empty lines with just spaces"

This reverts commit f8fb9b7e3759bec7fbcf93b27438ca6b03202ddb.

16 years agoRevert "Remove the "pwd" struct from rpc_pipe_client"
Volker Lendecke [Fri, 25 Apr 2008 14:32:44 +0000 (16:32 +0200)]
Revert "Remove the "pwd" struct from rpc_pipe_client"

This reverts commit 3d8c2a47e677a4c4aacf4abf148b1bd8163c3351.

16 years agoRevert "Refactoring: Make cli_pipe_auth_data a pointer off rpc_pipe_client"
Volker Lendecke [Fri, 25 Apr 2008 14:31:31 +0000 (16:31 +0200)]
Revert "Refactoring: Make cli_pipe_auth_data a pointer off rpc_pipe_client"

This reverts commit f665afaaa3eff9ef54112e08ed034a6e1bb30edc.

16 years agoRevert "Move user/domain from rpc_pipe_client to cli_pipe_auth_data"
Volker Lendecke [Fri, 25 Apr 2008 14:31:25 +0000 (16:31 +0200)]
Revert "Move user/domain from rpc_pipe_client to cli_pipe_auth_data"

This reverts commit 42de50d2cd43e760d776694f7b5f003ba51d7f84.

16 years agoRevert "Create rpccli_xxx_bind_data functions"
Volker Lendecke [Fri, 25 Apr 2008 14:31:14 +0000 (16:31 +0200)]
Revert "Create rpccli_xxx_bind_data functions"

This reverts commit 630b9c241cb6db758f8290420a38af452569e903.

16 years agoRevert "Make use of rpccli_xxx_bind_data"
Volker Lendecke [Fri, 25 Apr 2008 14:31:08 +0000 (16:31 +0200)]
Revert "Make use of rpccli_xxx_bind_data"

This reverts commit f9bc336affd2ce21a3c62880ecea2622f35653d1.

16 years agoRevert "cli_rpc_pipe_open_noauth must take the user/domain from the smb session"
Volker Lendecke [Fri, 25 Apr 2008 14:31:00 +0000 (16:31 +0200)]
Revert "cli_rpc_pipe_open_noauth must take the user/domain from the smb session"

This reverts commit 6f08128cf2722618e74b603e180e7e2a83d7d07a.

16 years agoRevert "Introduce rpccli_pipe_txt(), describing a pipe for debug messages"
Volker Lendecke [Fri, 25 Apr 2008 14:30:55 +0000 (16:30 +0200)]
Revert "Introduce rpccli_pipe_txt(), describing a pipe for debug messages"

This reverts commit 83892d51de0dcdaeae18bc34d03eefefc95ff601.

16 years agoRevert "Introduce a redirection for ncacn_np and ncacn_ip_tcp in rpc_pipe_client"
Volker Lendecke [Fri, 25 Apr 2008 14:30:50 +0000 (16:30 +0200)]
Revert "Introduce a redirection for ncacn_np and ncacn_ip_tcp in rpc_pipe_client"

This reverts commit 3433f430b0c1f7d350a40eac783385a2d30d905c.

16 years agoRevert "Add basic ncacn_ip_tcp client infrastructure"
Volker Lendecke [Fri, 25 Apr 2008 14:30:45 +0000 (16:30 +0200)]
Revert "Add basic ncacn_ip_tcp client infrastructure"

This reverts commit 11072ccc7aeb6e087e78cea83959a2f6e0b2f837.

16 years agoRevert "Attempt to fix the non-krb build"
Volker Lendecke [Fri, 25 Apr 2008 14:30:39 +0000 (16:30 +0200)]
Revert "Attempt to fix the non-krb build"

This reverts commit 31d80a476701c89bf236997f2ab68bd2765579bd.

16 years agoIDL: Add autogenerated drsuapi files.
Günther Deschner [Fri, 25 Apr 2008 12:49:02 +0000 (14:49 +0200)]
IDL: Add autogenerated drsuapi files.

Guenther

16 years agoerrors: add WERR_INVALID_DOMAINNAME.
Günther Deschner [Thu, 24 Apr 2008 20:19:23 +0000 (22:19 +0200)]
errors: add WERR_INVALID_DOMAINNAME.

Guenther

16 years agodocs: fix the manpage output of parameters list in smb.conf.5.
Michael Adam [Fri, 25 Apr 2008 12:08:10 +0000 (14:08 +0200)]
docs: fix the manpage output of parameters list in smb.conf.5.

There were some newlines missing in the template for samba:parameters.

Michael

16 years agodocs: fix indentation in expand-smbxonfdoc.
Michael Adam [Fri, 25 Apr 2008 12:01:57 +0000 (14:01 +0200)]
docs: fix indentation in expand-smbxonfdoc.

Michael

16 years agomount.cifs: Zero mountpassword content before freeing.
Karolin Seeger [Fri, 25 Apr 2008 10:07:28 +0000 (12:07 +0200)]
mount.cifs: Zero mountpassword content before freeing.

Karolin

16 years agoAttempt to fix the non-krb build
Volker Lendecke [Fri, 25 Apr 2008 10:36:39 +0000 (12:36 +0200)]
Attempt to fix the non-krb build

16 years agoAdd basic ncacn_ip_tcp client infrastructure
Volker Lendecke [Thu, 24 Apr 2008 20:24:20 +0000 (22:24 +0200)]
Add basic ncacn_ip_tcp client infrastructure

16 years agoIntroduce a redirection for ncacn_np and ncacn_ip_tcp in rpc_pipe_client
Volker Lendecke [Thu, 24 Apr 2008 18:42:32 +0000 (20:42 +0200)]
Introduce a redirection for ncacn_np and ncacn_ip_tcp in rpc_pipe_client

Should be no functional change, just a change in the data structure

16 years agoIntroduce rpccli_pipe_txt(), describing a pipe for debug messages
Volker Lendecke [Thu, 24 Apr 2008 18:24:37 +0000 (20:24 +0200)]
Introduce rpccli_pipe_txt(), describing a pipe for debug messages

16 years agocli_rpc_pipe_open_noauth must take the user/domain from the smb session
Volker Lendecke [Tue, 22 Apr 2008 16:17:01 +0000 (18:17 +0200)]
cli_rpc_pipe_open_noauth must take the user/domain from the smb session

16 years agoMake use of rpccli_xxx_bind_data
Volker Lendecke [Tue, 22 Apr 2008 12:31:35 +0000 (14:31 +0200)]
Make use of rpccli_xxx_bind_data

16 years agoCreate rpccli_xxx_bind_data functions
Volker Lendecke [Tue, 22 Apr 2008 11:03:06 +0000 (13:03 +0200)]
Create rpccli_xxx_bind_data functions

These functions create the auth data for the later bind

16 years agoMove user/domain from rpc_pipe_client to cli_pipe_auth_data
Volker Lendecke [Mon, 21 Apr 2008 20:27:29 +0000 (22:27 +0200)]
Move user/domain from rpc_pipe_client to cli_pipe_auth_data

16 years agoRefactoring: Make cli_pipe_auth_data a pointer off rpc_pipe_client
Volker Lendecke [Mon, 21 Apr 2008 08:39:37 +0000 (10:39 +0200)]
Refactoring: Make cli_pipe_auth_data a pointer off rpc_pipe_client

16 years agoFix from Martin Zielinski <mz@seh.de>. Don't delete files when
Jeremy Allison [Thu, 24 Apr 2008 22:02:23 +0000 (15:02 -0700)]
Fix from Martin Zielinski <mz@seh.de>. Don't delete files when
they're in use by other drivers.
Jeremy.

16 years agoThe first of Martin Zielinski <mz@seh.de> Vista printing patches.
Jeremy Allison [Thu, 24 Apr 2008 21:04:47 +0000 (14:04 -0700)]
The first of Martin Zielinski <mz@seh.de> Vista printing patches.
Jerry will test and should get into 3.2 final (and the next 3.0.x
release).
Jeremy.

16 years agomailslot/dsgetdcname: do what XP does and request nt_version 11.
Günther Deschner [Thu, 24 Apr 2008 19:53:55 +0000 (21:53 +0200)]
mailslot/dsgetdcname: do what XP does and request nt_version 11.

This allows dsgetdcname to query for a flat, non-dns domain name and
come back with all information about the DC (site names, guid, forest,
etc.) based on a mailslot reply. The version 11 request is downgraded
to version 1 in case we do a query against NT4.

Guenther

16 years agomailslot: allow to give back struct nbt_ntlogon_packet.
Günther Deschner [Thu, 24 Apr 2008 19:37:42 +0000 (21:37 +0200)]
mailslot: allow to give back struct nbt_ntlogon_packet.

Guenther

16 years agomailslot: make sure we are looking at the correct reply structure.
Günther Deschner [Thu, 24 Apr 2008 19:29:48 +0000 (21:29 +0200)]
mailslot: make sure we are looking at the correct reply structure.

Guenther

16 years agomailslot: allow to define nt_version in send_getdc_request().
Günther Deschner [Thu, 24 Apr 2008 19:28:03 +0000 (21:28 +0200)]
mailslot: allow to define nt_version in send_getdc_request().

Guenther

16 years agorpcclient: Add tiny fix for cmd_samr_get_dispinfo_idx().
Günther Deschner [Wed, 23 Apr 2008 08:55:26 +0000 (10:55 +0200)]
rpcclient: Add tiny fix for cmd_samr_get_dispinfo_idx().

Guenther

16 years agoFix yet another set of documentation links
Alexander Bokovoy [Thu, 24 Apr 2008 19:46:01 +0000 (23:46 +0400)]
Fix yet another set of documentation links

Signed-off-by: Alexander Bokovoy <ab@samba.org>
16 years agoIgnore intermediary documentation files in git
Alexander Bokovoy [Thu, 24 Apr 2008 19:41:35 +0000 (23:41 +0400)]
Ignore intermediary documentation files in git

Signed-off-by: Alexander Bokovoy <ab@samba.org>
16 years agoFix documentation build: manpages, links in the HTML documents.
Alexander Bokovoy [Thu, 24 Apr 2008 19:40:51 +0000 (23:40 +0400)]
Fix documentation build: manpages, links in the HTML documents.

Fixed manpages generation to properly create handle smb.conf parameters' titles
Changed HTML generator to include links for every smb.conf parameter.
Now we have correct linking between different HTML documents.

Signed-off-by: Alexander Bokovoy <ab@samba.org>
16 years agoMake mount.cifs.c consistent with other Samba code usage w.r.t
Jeremy Allison [Thu, 24 Apr 2008 17:24:05 +0000 (10:24 -0700)]
Make mount.cifs.c consistent with other Samba code usage w.r.t
SAFE_FREE. Use #define constants not arbitrary numbers. Stevef
please check. Karolyn, once Steve has checked please pull for
3.2-stable.
Jeremy.

16 years agomanpages: describe special meaning of "include = registry" in description of "include"
Michael Adam [Thu, 24 Apr 2008 09:24:23 +0000 (11:24 +0200)]
manpages: describe special meaning of "include = registry" in description of "include"

Michael

16 years agomanpages: update the section about registry configuration in smb.conf.5
Michael Adam [Thu, 24 Apr 2008 09:23:36 +0000 (11:23 +0200)]
manpages: update the section about registry configuration in smb.conf.5

Michael

16 years agoFix CLEAR_IF_FIRST handling of messages.tdb
Volker Lendecke [Wed, 23 Apr 2008 15:13:50 +0000 (17:13 +0200)]
Fix CLEAR_IF_FIRST handling of messages.tdb

We now open messages.tdb even before we do the become_daemon. become_daemon()
involves a fork and an immediate exit of the parent, thus the
parent_is_longlived argument must be set to false in this case. The parent is
not really long lived :-)

16 years agoUse wbinfo --online-status in make test rather than --sequence
Gerald W. Carter [Wed, 23 Apr 2008 16:26:35 +0000 (11:26 -0500)]
Use wbinfo --online-status in make test rather than --sequence

16 years agoMark a domain offline in the wbcDomainInfo structure using the domain_flags.
Gerald W. Carter [Tue, 22 Apr 2008 20:29:53 +0000 (15:29 -0500)]
Mark a domain offline in the wbcDomainInfo structure using the domain_flags.

Use the existing domain_flags fiueld in wbcDomainInfo to set a bit if the
domain is marked as offline by Winbind.