summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2011-03-22s3-fault: removed the cont_fn from fault_setup()Andrew Tridgell8-46/+8
cont_fn() was supposed to be a way to continue after a seg fault. It could never be called however, as smb_panic() from fault_report() could never return, as dump_core() never returns at the end of smb_panic() Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Mar 22 05:07:58 CET 2011 on sn-devel-104
2011-03-21s3:smbd: access checks should not depend on share mode flagsStefan Metzmacher1-1/+0
metze
2011-03-21s3: Fix Coverity ID 1048, CHECKED_RETURNVolker Lendecke1-6/+1
This is a real bug: tevent_req_set_endtime already calls tevent_req_nomem. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Mar 21 16:29:22 CET 2011 on sn-devel-104
2011-03-21s3: Fix Coverity ID 770, REVERSE_INULLVolker Lendecke1-15/+7
We dereference "res" in various places, no point in checking. All current callers send "res!=NULL".
2011-03-20s3: Fix early tldap_search cancelsVolker Lendecke1-1/+1
A callback of tldap_search_send might not interested in the rest of the results and could do a TALLOC_FREE of the search request. In this case, "subreq" is already free'ed. So we have to set it to pending before the callback is called. The TALLOC_FREE of the search request will set it to non-pending again via tldap_msg_destructor. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Mar 20 11:26:57 CET 2011 on sn-devel-104
2011-03-19s3:smbd: remove uses of "./" in unlink_internals()Stefan Metzmacher1-4/+0
Commit 78b931ce6c840ade646c1c6030fa2d6acb77208b tried to do that, but didn't have any effect. metze
2011-03-19s3: use getgrset() when it is availableChristian Ambach3-3/+59
When getgrouplist() is not defined, use getgrset() if it is defined instead of using the initgroups() + getgroups() combo Major contributions from Yannick Bergeron <yaberger@ca.ibm.com> Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Mar 19 10:09:38 CET 2011 on sn-devel-104
2011-03-19s3-waf: use HAVE_ADS env to decide whether to build libads.soGünther Deschner2-2/+5
Guenther
2011-03-19s3-build: use HAVE_ADS define in some more places.Günther Deschner2-2/+2
Guenther
2011-03-18SMB2 renames return SHARING_VIOLATION if there is any existing oplock on a file.Jeremy Allison1-0/+6
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Mar 18 23:39:49 CET 2011 on sn-devel-104
2011-03-18s3: Add "print notify backchannel" parameter to prevent us doing the reverse ↵Volker Lendecke3-0/+19
print notify connection. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Mar 18 21:34:30 CET 2011 on sn-devel-104
2011-03-18s3:autorid make sure we set the mapping status correct on early exitChristian Ambach1-0/+1
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com> Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Mar 18 16:30:36 CET 2011 on sn-devel-104
2011-03-18idmap-autorid: Slightly simplify idmap_autorid_get_domainrangeVolker Lendecke1-8/+3
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2011-03-18idmap-autorid: Slightly simplify idmap_autorid_get_domainrangeVolker Lendecke1-2/+1
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2011-03-18idmap-autorid: Remove an unused variableVolker Lendecke1-11/+0
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2011-03-18idmap-autorid: Use talloc_tos() in idmap_autorid_id_to_sidVolker Lendecke1-5/+6
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2011-03-18idmap-autorid: Remove an else branchVolker Lendecke1-10/+11
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2011-03-18idmap-autorid: Remove an unused variableVolker Lendecke1-11/+0
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2011-03-18idmap-autorid: Remove an unused parameterVolker Lendecke1-3/+2
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2011-03-18idmap-autorid: Use talloc_tos() in idmap_autorid_sids_to_unixidsVolker Lendecke1-8/+12
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2011-03-18idmap-autorid: Not necessary to talloc domaincfgVolker Lendecke1-14/+8
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2011-03-18idmap-autorid: Not necessary to talloc domainsidVolker Lendecke1-9/+8
Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2011-03-18s3: Cope with 192.168.1.1/24 in smbcontrol ip-droppedVolker Lendecke1-4/+32
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Mar 18 14:56:38 CET 2011 on sn-devel-104
2011-03-18s3-waf: enable nss_winbind in make test for nss_wrapper.Günther Deschner1-0/+1
Guenther
2011-03-18s3-registry: remove some unused headers.Günther Deschner5-7/+0
Guenther
2011-03-18s3:locking: simplify the non cluster case of brl_get_locks_readonly()Stefan Metzmacher1-21/+2
Pair-Programmed-With: Michael Adam <obnox@samba.org> metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Mar 18 13:00:51 CET 2011 on sn-devel-104
2011-03-18s3:locking: brl_get_locks_internal() should not expose a write lock if the ↵Stefan Metzmacher1-7/+24
caller wants read_only This triggered deadlocks in the cluster case of brl_get_locks_readonly(). Pair-Programmed-With: Michael Adam <obnox@samba.org> metze
2011-03-18s4-smbtorture: add netsessiongetinfo() test.Günther Deschner1-0/+1
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Mar 18 02:11:38 CET 2011 on sn-devel-104
2011-03-18s4-smbtorture: add test for rap_NetUserDelete().Günther Deschner1-0/+1
Guenther
2011-03-18s3-net: make sure we set correct default user flags in rap_user_add().Günther Deschner1-1/+1
Guenther
2011-03-18s4-smbtorture: add test for rap_NetUserAdd().Günther Deschner1-0/+1
Guenther
2011-03-18s3-utils: run minimal_includes.pl over utils/*.cGünther Deschner3-4/+0
Guenther
2011-03-18The searches struct is still being used and idled in SMB2 - move it to the ↵Jeremy Allison2-31/+33
global section until we decide if we want to idle SMB2 directory handles. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Mar 18 01:13:53 CET 2011 on sn-devel-104
2011-03-17Fix crash bug on smbd shutdown when using FOPENDIR() found by Volker.Jeremy Allison1-1/+13
The key was allowing the dptr_idle code to be triggered. We were closing the dirp->dir handle without updating the underlying fd in the open fsp. Jeremy.
2011-03-17s3: Expose num_opens via api_RNetSessionEnumVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Mar 17 22:05:10 CET 2011 on sn-devel-104
2011-03-17Nulling out the op_mid is never the right thing to do. We depend onJeremy Allison1-1/+0
this value when searching for specific share mode entries. Jeremy. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Mar 17 19:59:51 CET 2011 on sn-devel-104
2011-03-17Fix compiler warning in debug message.Jeremy Allison1-1/+1
2011-03-17s3:Makefile.in: make sure we rebuild bin/smbtorture4 if there where changesStefan Metzmacher1-0/+2
and bin/ndrdump4... metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Mar 17 16:31:45 CET 2011 on sn-devel-104
2011-03-17lib-util: put data_blob back in the public librarySimo Sorce1-1/+1
data_blob is defined ina public header, so it needs to be exposed in the public library. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Mar 17 15:39:08 CET 2011 on sn-devel-104
2011-03-17s3-waf: add --with-pam_smbpass configure option.Günther Deschner1-0/+1
We build pam_smbpass independent from this configure option though. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Mar 17 14:52:33 CET 2011 on sn-devel-104
2011-03-17s3-waf: move HAVE_LDAP_SASL_WRAPPING define to the HAVE_LDAP block.Günther Deschner1-5/+5
Guenther
2011-03-17s3:net Find uid before using itSumit Bose1-7/+7
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-17s3-username: rename static getpwnam_alloc to getpwnam_alloc_cached.Günther Deschner1-5/+5
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Mar 17 00:32:40 CET 2011 on sn-devel-104
2011-03-16s3-build: only include asn1 headers where actually needed.Günther Deschner11-1/+13
Guenther
2011-03-16s3: Fix Coverity ID 2231, REVERSE_INULLVolker Lendecke1-2/+3
No point in checking for !ctx after dereferencing it Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 16 22:51:52 CET 2011 on sn-devel-104
2011-03-16s3: Fix Coverity ID 2232, REVERSE_INULLVolker Lendecke1-2/+4
No point checking for !cli after dereferencing it
2011-03-16s3: Fix Coverity ID 2233, REVERSE_INULLVolker Lendecke1-1/+1
We have dereferenced h already in dcerpc_lsa_open_policy2 in line 425
2011-03-16s3: Fix Coverity ID 2234: REVERSE_INULLVolker Lendecke1-2/+2
We have dereferenced "b" already in dcerpc_samr_Connect2 in line 521
2011-03-16s3: Fix Coverity ID 2140, DEADCODEVolker Lendecke1-1/+1
This routine was never executed after f0dcc90f because "netname" was always NULL. Jeremy, please check!
2011-03-16s3: Fix Coverity ID 2144, DEADCODEVolker Lendecke1-1/+1
We could never have assigned the real value in line 481. Andreas, please check!