metze/samba/wb-ndr.git
16 years agowb-ndr: use WINBIND_TRUST_LEVEL_COMPAT_LIST instead of WINBINDD_LIST_TRUSTDOM
Stefan Metzmacher [Wed, 5 Mar 2008 07:20:04 +0000 (08:20 +0100)]
wb-ndr: use WINBIND_TRUST_LEVEL_COMPAT_LIST instead of WINBINDD_LIST_TRUSTDOM

metze

16 years agowb-ndr: implement WINBIND_TRUST_LEVEL_COMPAT_LIST
Stefan Metzmacher [Wed, 5 Mar 2008 06:52:38 +0000 (07:52 +0100)]
wb-ndr: implement WINBIND_TRUST_LEVEL_COMPAT_LIST

metze

16 years agorerun 'make idl'
Stefan Metzmacher [Wed, 5 Mar 2008 06:12:28 +0000 (07:12 +0100)]
rerun 'make idl'

metze

16 years agowb-ndr: add idl for winbind_trust() with WINBIND_TRUST_LEVEL_COMPAT_LIST
Stefan Metzmacher [Wed, 5 Mar 2008 06:10:39 +0000 (07:10 +0100)]
wb-ndr: add idl for winbind_trust() with WINBIND_TRUST_LEVEL_COMPAT_LIST

metze

16 years agowb-ndr: remove unused WINBINDD_LOOKUPRIDS (dual) support
Stefan Metzmacher [Tue, 29 Jan 2008 08:53:50 +0000 (09:53 +0100)]
wb-ndr: remove unused WINBINDD_LOOKUPRIDS (dual) support

metze

16 years agouse WINBIND_LOOKUP_LEVEL_RIDS2NAMES for winbindd_lookuprids
Stefan Metzmacher [Mon, 28 Jan 2008 14:51:18 +0000 (15:51 +0100)]
use WINBIND_LOOKUP_LEVEL_RIDS2NAMES for winbindd_lookuprids

metze

16 years agomake parse_ridlist() non-static
Stefan Metzmacher [Mon, 28 Jan 2008 14:47:27 +0000 (15:47 +0100)]
make parse_ridlist() non-static

metze

16 years agoadd winbindd_lookup_async()
Stefan Metzmacher [Mon, 28 Jan 2008 14:46:40 +0000 (15:46 +0100)]
add winbindd_lookup_async()

metze

16 years agowb-ndr: implement NDR_WINBIND_LOOKUP_LEVEL_RIDS2NAMES in winbindd_ndr_domain_child_lo...
Stefan Metzmacher [Fri, 25 Jan 2008 13:28:42 +0000 (14:28 +0100)]
wb-ndr: implement NDR_WINBIND_LOOKUP_LEVEL_RIDS2NAMES in winbindd_ndr_domain_child_lookup()

metze

16 years agorerun 'make idl'
Stefan Metzmacher [Fri, 25 Jan 2008 13:17:37 +0000 (14:17 +0100)]
rerun 'make idl'

metze

16 years agoadd WINBIND_LOOKUP_LEVEL_RIDS2NAMES idl TODO
Stefan Metzmacher [Fri, 25 Jan 2008 13:17:12 +0000 (14:17 +0100)]
add WINBIND_LOOKUP_LEVEL_RIDS2NAMES idl TODO

TODO:
may not repeat domain_name for each name

metze

16 years agowb-ndr: remove unused WINBINDD_LOOKUPNAME (dual) support
Stefan Metzmacher [Thu, 24 Jan 2008 14:27:17 +0000 (15:27 +0100)]
wb-ndr: remove unused WINBINDD_LOOKUPNAME (dual) support

metze

16 years agowb-ndr: change winbindd_lookupname_async() to use winbind_lookup() TODO!!!
Stefan Metzmacher [Tue, 22 Jan 2008 15:09:03 +0000 (16:09 +0100)]
wb-ndr: change winbindd_lookupname_async() to use winbind_lookup() TODO!!!

metze

16 years agowb-ndr: remove unused WINBINDD_LOOKUPSID (dual) support
Stefan Metzmacher [Tue, 22 Jan 2008 14:55:04 +0000 (15:55 +0100)]
wb-ndr: remove unused WINBINDD_LOOKUPSID (dual) support

metze

16 years agowb-ndr: change winbindd_lookupsid_async() to use winbind_lookup()
Stefan Metzmacher [Tue, 22 Jan 2008 14:43:05 +0000 (15:43 +0100)]
wb-ndr: change winbindd_lookupsid_async() to use winbind_lookup()

metze

16 years agowb-ndr: implement winbindd_ndr_domain_child_lookup() TODO!...
Stefan Metzmacher [Wed, 23 Jan 2008 13:18:25 +0000 (14:18 +0100)]
wb-ndr: implement winbindd_ndr_domain_child_lookup() TODO!...

With levels WINBIND_LOOKUP_LEVEL_SID2NAME WINBIND_LOOKUP_LEVEL_NAME2SID

metze

16 years agorerun 'make idl'
Stefan Metzmacher [Fri, 18 Jan 2008 16:48:12 +0000 (17:48 +0100)]
rerun 'make idl'

metze

16 years agowb-ndr: add idl for winbind_lookup()
Stefan Metzmacher [Fri, 18 Jan 2008 16:47:39 +0000 (17:47 +0100)]
wb-ndr: add idl for winbind_lookup()

With levels WINBIND_LOOKUP_LEVEL_SID2NAME, WINBIND_LOOKUP_LEVEL_NAME2SID

metze

16 years agowb-ndr: import lsa_SidType in winbind_protocol.idl
Stefan Metzmacher [Fri, 18 Jan 2008 16:45:20 +0000 (17:45 +0100)]
wb-ndr: import lsa_SidType in winbind_protocol.idl

metze

16 years agolsa.idl: make lsa_SidType public
Stefan Metzmacher [Fri, 18 Jan 2008 16:43:46 +0000 (17:43 +0100)]
lsa.idl: make lsa_SidType public

metze

16 years agoremove winbindd_dual_show_sequence()...
Stefan Metzmacher [Fri, 14 Dec 2007 15:27:03 +0000 (16:27 +0100)]
remove winbindd_dual_show_sequence()...

16 years agouse WINBIND_DOMAIN_INFO_LEVEL_SEQNUM to get the seqnumber from the domain childs...
Stefan Metzmacher [Fri, 14 Dec 2007 13:41:08 +0000 (14:41 +0100)]
use WINBIND_DOMAIN_INFO_LEVEL_SEQNUM to get the seqnumber from the domain childs...

16 years agoadd winbindd_get_domain_info_async()...
Stefan Metzmacher [Fri, 14 Dec 2007 13:12:07 +0000 (14:12 +0100)]
add winbindd_get_domain_info_async()...

16 years agoimplement WINBIND_DOMAIN_INFO_LEVEL_SEQNUM in the domain child
Stefan Metzmacher [Fri, 14 Dec 2007 12:03:58 +0000 (13:03 +0100)]
implement WINBIND_DOMAIN_INFO_LEVEL_SEQNUM in the domain child

16 years agorerun: 'make idl'...
Stefan Metzmacher [Fri, 14 Dec 2007 11:47:01 +0000 (12:47 +0100)]
rerun: 'make idl'...

16 years agoadd WINBIND_DOMAIN_INFO_LEVEL_SEQNUM level...
Stefan Metzmacher [Fri, 14 Dec 2007 11:46:34 +0000 (12:46 +0100)]
add WINBIND_DOMAIN_INFO_LEVEL_SEQNUM level...

16 years agoadd NDR_WINBIND_PING to the locator and idmap child tables
Stefan Metzmacher [Wed, 12 Dec 2007 18:35:22 +0000 (19:35 +0100)]
add NDR_WINBIND_PING to the locator and idmap child tables

metze

16 years agoremove WINBINDD_DUAL_SET_HWM support ...
Stefan Metzmacher [Wed, 12 Dec 2007 16:52:13 +0000 (17:52 +0100)]
remove WINBINDD_DUAL_SET_HWM support ...

16 years agolet winbindd_set_hwm() use WINBIND_SET_IDMAP_LEVEL_SET_HWM...
Stefan Metzmacher [Wed, 12 Dec 2007 16:50:59 +0000 (17:50 +0100)]
let winbindd_set_hwm() use WINBIND_SET_IDMAP_LEVEL_SET_HWM...

16 years agoremove WINBINDD_DUAL_SET_MAPPING support ...
Stefan Metzmacher [Wed, 12 Dec 2007 16:47:40 +0000 (17:47 +0100)]
remove WINBINDD_DUAL_SET_MAPPING support ...

16 years agolet winbindd_set_mapping() use WINBIND_SET_IDMAP_LEVEL_SET_MAPPING...
Stefan Metzmacher [Wed, 12 Dec 2007 18:35:49 +0000 (19:35 +0100)]
let winbindd_set_mapping() use WINBIND_SET_IDMAP_LEVEL_SET_MAPPING...

16 years agoremove winbindd_dual_allocate_gid()...
Stefan Metzmacher [Wed, 12 Dec 2007 16:16:13 +0000 (17:16 +0100)]
remove winbindd_dual_allocate_gid()...

16 years agolet winbindd_allocate_gid() use WINBIND_SET_IDMAP_LEVEL_ALLOCATE_GID...
Stefan Metzmacher [Wed, 12 Dec 2007 16:14:14 +0000 (17:14 +0100)]
let winbindd_allocate_gid() use WINBIND_SET_IDMAP_LEVEL_ALLOCATE_GID...

16 years agoremove winbindd_dual_allocate_uid()...
Stefan Metzmacher [Wed, 12 Dec 2007 16:10:37 +0000 (17:10 +0100)]
remove winbindd_dual_allocate_uid()...

16 years agolet winbindd_allocate_uid() use WINBIND_SET_IDMAP_LEVEL_ALLOCATE_UID...
Stefan Metzmacher [Wed, 12 Dec 2007 16:09:06 +0000 (17:09 +0100)]
let winbindd_allocate_uid() use WINBIND_SET_IDMAP_LEVEL_ALLOCATE_UID...

16 years agoadd winbindd_ndr_child_set_idmap() ...
Stefan Metzmacher [Wed, 12 Dec 2007 16:05:09 +0000 (17:05 +0100)]
add winbindd_ndr_child_set_idmap() ...

16 years agorerun 'make idl'
Stefan Metzmacher [Wed, 12 Dec 2007 17:10:31 +0000 (18:10 +0100)]
rerun 'make idl'

metze

16 years agoadd idl for WINBIND_SET_IDMAP...
Stefan Metzmacher [Wed, 12 Dec 2007 17:10:02 +0000 (18:10 +0100)]
add idl for WINBIND_SET_IDMAP...

16 years agolibrpc/ndr: add marshalling code for struct unixid and struct id_map
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

16 years agowb-ndr: remove unused WINBINDD_DUAL_GID2SID support
Stefan Metzmacher [Tue, 11 Dec 2007 13:27:35 +0000 (14:27 +0100)]
wb-ndr: remove unused WINBINDD_DUAL_GID2SID support

metze

16 years agowb-ndr: change winbindd_gid2sid_async() to use winbind_get_idmap()
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

16 years agowb-ndr: remove unused WINBINDD_DUAL_UID2SID support
Stefan Metzmacher [Tue, 11 Dec 2007 13:23:15 +0000 (14:23 +0100)]
wb-ndr: remove unused WINBINDD_DUAL_UID2SID support

metze

16 years agowb-ndr: change winbindd_uid2sid_async() to use winbind_get_idmap()
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

16 years agowb-ndr: remove unused WINBINDD_DUAL_SID2GID support
Stefan Metzmacher [Tue, 11 Dec 2007 13:16:50 +0000 (14:16 +0100)]
wb-ndr: remove unused WINBINDD_DUAL_SID2GID support

metze

16 years agowb-ndr: change winbindd_sid2gid_async() to use winbind_get_idmap()
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

16 years agowb-ndr: remove unused WINBINDD_DUAL_SID2UID support
Stefan Metzmacher [Tue, 11 Dec 2007 10:27:03 +0000 (11:27 +0100)]
wb-ndr: remove unused WINBINDD_DUAL_SID2UID support

metze

16 years agowb-ndr: change winbindd_sid2uid_async() to use WINBIND_GET_IDMAP
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

16 years agowb-ndr: implement winbindd_ndr_child_get_idmap()
Stefan Metzmacher [Wed, 12 Dec 2007 10:42:44 +0000 (11:42 +0100)]
wb-ndr: implement winbindd_ndr_child_get_idmap()

metze

16 years agowb-ndr: rerun 'make idl'
Stefan Metzmacher [Mon, 10 Dec 2007 17:59:12 +0000 (18:59 +0100)]
wb-ndr: rerun 'make idl'

metze

16 years agowb-ndr: add WINBIND_GET_IDMAP function (TODO!)
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

16 years agowb-ndr: remove unused WINBINDD_DUAL_DSGETDCNAME support
Stefan Metzmacher [Fri, 7 Dec 2007 23:26:34 +0000 (00:26 +0100)]
wb-ndr: remove unused WINBINDD_DUAL_DSGETDCNAME support

metze

16 years agofixes
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

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.