Stefan Metzmacher [Wed, 12 Dec 2007 16:05:09 +0000 (17:05 +0100)]
add winbindd_ndr_child_set_idmap() ...
Stefan Metzmacher [Wed, 12 Dec 2007 17:10:31 +0000 (18:10 +0100)]
rerun 'make idl'
metze
Stefan Metzmacher [Wed, 12 Dec 2007 17:10:02 +0000 (18:10 +0100)]
add idl for WINBIND_SET_IDMAP...
Stefan Metzmacher [Mon, 10 Dec 2007 16:01:38 +0000 (17:01 +0100)]
librpc/ndr: add marshalling code for struct unixid and struct id_map
metze
Stefan Metzmacher [Tue, 11 Dec 2007 13:27:35 +0000 (14:27 +0100)]
wb-ndr: remove unused WINBINDD_DUAL_GID2SID support
metze
Stefan Metzmacher [Tue, 11 Dec 2007 13:26:53 +0000 (14:26 +0100)]
wb-ndr: change winbindd_gid2sid_async() to use winbind_get_idmap()
metze
Stefan Metzmacher [Tue, 11 Dec 2007 13:23:15 +0000 (14:23 +0100)]
wb-ndr: remove unused WINBINDD_DUAL_UID2SID support
metze
Stefan Metzmacher [Tue, 11 Dec 2007 10:51:33 +0000 (11:51 +0100)]
wb-ndr: change winbindd_uid2sid_async() to use winbind_get_idmap()
metze
Stefan Metzmacher [Tue, 11 Dec 2007 13:16:50 +0000 (14:16 +0100)]
wb-ndr: remove unused WINBINDD_DUAL_SID2GID support
metze
Stefan Metzmacher [Tue, 11 Dec 2007 10:39:39 +0000 (11:39 +0100)]
wb-ndr: change winbindd_sid2gid_async() to use winbind_get_idmap()
metze
Stefan Metzmacher [Tue, 11 Dec 2007 10:27:03 +0000 (11:27 +0100)]
wb-ndr: remove unused WINBINDD_DUAL_SID2UID support
metze
Stefan Metzmacher [Tue, 11 Dec 2007 10:25:19 +0000 (11:25 +0100)]
wb-ndr: change winbindd_sid2uid_async() to use WINBIND_GET_IDMAP
metze
Stefan Metzmacher [Wed, 12 Dec 2007 10:42:44 +0000 (11:42 +0100)]
wb-ndr: implement winbindd_ndr_child_get_idmap()
metze
Stefan Metzmacher [Mon, 10 Dec 2007 17:59:12 +0000 (18:59 +0100)]
wb-ndr: rerun 'make idl'
metze
Stefan Metzmacher [Thu, 13 Dec 2007 09:49:03 +0000 (10:49 +0100)]
wb-ndr: add WINBIND_GET_IDMAP function (TODO!)
add todo's to make dom_sid *sid a [ref] pointers...
metze
Stefan Metzmacher [Fri, 7 Dec 2007 23:26:34 +0000 (00:26 +0100)]
wb-ndr: remove unused WINBINDD_DUAL_DSGETDCNAME support
metze
Stefan Metzmacher [Fri, 29 Feb 2008 12:33:50 +0000 (13:33 +0100)]
fixes
wb-ndr: remove unused WINBINDD_DUAL_DSGETDCNAME support
metze
Conflicts:
source/winbindd/winbindd_locator.c
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
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
Stefan Metzmacher [Mon, 17 Sep 2007 14:28:20 +0000 (16:28 +0200)]
wb-ndr: remove unused WINBINDD_DUAL_GETDCNAME support
metze
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
Stefan Metzmacher [Fri, 7 Dec 2007 23:24:21 +0000 (00:24 +0100)]
wb-ndr: add winbindd_get_dc_info_async_child() function
metze
Stefan Metzmacher [Fri, 7 Dec 2007 18:05:54 +0000 (19:05 +0100)]
wb-ndr: add winbindd_get_dc_info_async_domain() function
metze
Stefan Metzmacher [Wed, 12 Sep 2007 12:53:00 +0000 (14:53 +0200)]
wb-ndr: remove unused WINBINDD_INIT_CONNECTION support
metze
Stefan Metzmacher [Fri, 7 Dec 2007 18:38:44 +0000 (19:38 +0100)]
wb-ndr: use the ndr calls in init_child_connection()
metze
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
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
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
Stefan Metzmacher [Wed, 19 Sep 2007 18:49:30 +0000 (20:49 +0200)]
wb-ndr: rerun 'make idl'
metze
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
Stefan Metzmacher [Mon, 10 Sep 2007 08:23:16 +0000 (10:23 +0200)]
wb-ndr: add idl for winbindd_get_domain_info()
metze
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
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
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
Stefan Metzmacher [Thu, 6 Sep 2007 16:03:57 +0000 (18:03 +0200)]
wb-ndr: add async_ndr_call() similar to async_request()
metze
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
Stefan Metzmacher [Mon, 3 Sep 2007 07:27:00 +0000 (09:27 +0200)]
wb-ndr: implement NDR_WINBIND_PING
metze
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
Stefan Metzmacher [Tue, 20 Nov 2007 15:36:06 +0000 (16:36 +0100)]
wb-ndr: add pidl generated files from winbind_protocol.idl
metze
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
Stefan Metzmacher [Wed, 12 Dec 2007 08:07:13 +0000 (09:07 +0100)]
winbindd: remove currently disabled WINBINDD_SIDS_TO_XIDS support
metze
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.
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.
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)
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.
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)
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)
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)
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.
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)
Karolin Seeger [Mon, 28 Apr 2008 08:01:12 +0000 (10:01 +0200)]
WHATSNEW: Add changes from Steven Danneman.
Karolin
Karolin Seeger [Mon, 28 Apr 2008 07:19:41 +0000 (09:19 +0200)]
WHATSNEW: Preparation for 3.2.0rc1.
Karolin
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.
Volker Lendecke [Sat, 26 Apr 2008 07:48:17 +0000 (09:48 +0200)]
Attempt to fix the build on IRIX: Bug 5420
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().
Jeremy Allison [Fri, 25 Apr 2008 15:29:08 +0000 (08:29 -0700)]
Remove hard coded sizes.
Jeremy.
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.
Volker Lendecke [Fri, 25 Apr 2008 14:48:00 +0000 (16:48 +0200)]
Revert "Make some fns static"
This reverts commit
e04fc36f223d8d905a930c077a6cf6c48ee57af7.
Volker Lendecke [Fri, 25 Apr 2008 14:45:17 +0000 (16:45 +0200)]
Revert "Remove a redundant TALLOC_FREE"
This reverts commit
8e348ab8652e1893be78384404f57df1dbbcea48.
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.
Volker Lendecke [Fri, 25 Apr 2008 14:42:27 +0000 (16:42 +0200)]
Revert "Remove some write-only fstrings"
This reverts commit
aacb07b1b0f674b8cb92347ef4b4dd1e7808dde8.
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.
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.
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.
Volker Lendecke [Fri, 25 Apr 2008 14:35:05 +0000 (16:35 +0200)]
Revert "Add "desthost" to rpc_pipe_client"
This reverts commit
783afab9c891dd7bcb78895b2a639b6f3a0edf5b.
Volker Lendecke [Fri, 25 Apr 2008 14:34:59 +0000 (16:34 +0200)]
Revert "Fix two "ignoring asprintf result" warnings"
This reverts commit
1d261e78b38e8080ca7122037d33c8ef913a4558.
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.
Volker Lendecke [Fri, 25 Apr 2008 14:34:18 +0000 (16:34 +0200)]
Revert "Introduce rpccli_set_timeout()"
This reverts commit
2e4c1ba38963cffe4c3f25ab24bc28975f2fc291.
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.
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.
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.
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.
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.
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.
Volker Lendecke [Fri, 25 Apr 2008 14:33:23 +0000 (16:33 +0200)]
Revert "Introduce rpc_pipe_np_smb_conn()"
This reverts commit
c56e1c08cef107ff33a34346ceeca3475a102b19.
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.
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.
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.
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.
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.
Volker Lendecke [Fri, 25 Apr 2008 14:31:14 +0000 (16:31 +0200)]
Revert "Create rpccli_xxx_bind_data functions"
This reverts commit
630b9c241cb6db758f8290420a38af452569e903.
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.
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.
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.
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.
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.
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.
Günther Deschner [Fri, 25 Apr 2008 12:49:02 +0000 (14:49 +0200)]
IDL: Add autogenerated drsuapi files.
Guenther
Günther Deschner [Thu, 24 Apr 2008 20:19:23 +0000 (22:19 +0200)]
errors: add WERR_INVALID_DOMAINNAME.
Guenther
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
Michael Adam [Fri, 25 Apr 2008 12:01:57 +0000 (14:01 +0200)]
docs: fix indentation in expand-smbxonfdoc.
Michael
Karolin Seeger [Fri, 25 Apr 2008 10:07:28 +0000 (12:07 +0200)]
mount.cifs: Zero mountpassword content before freeing.
Karolin
Volker Lendecke [Fri, 25 Apr 2008 10:36:39 +0000 (12:36 +0200)]
Attempt to fix the non-krb build
Volker Lendecke [Thu, 24 Apr 2008 20:24:20 +0000 (22:24 +0200)]
Add basic ncacn_ip_tcp client infrastructure
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
Volker Lendecke [Thu, 24 Apr 2008 18:24:37 +0000 (20:24 +0200)]
Introduce rpccli_pipe_txt(), describing a pipe for debug messages
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
Volker Lendecke [Tue, 22 Apr 2008 12:31:35 +0000 (14:31 +0200)]
Make use of rpccli_xxx_bind_data
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
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