summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:loadparm: set the default "idmap config * : backend" in initialize_globals().Michael Adam2011-03-221-0/+2
|
* s3:loadparm: deprecate "idmap uid/gid/backend" and have them set "idmap ↵Michael Adam2011-03-221-26/+14
| | | | config * : range/backend"
* s3:loadparm: remove unused parameter "idmap read only".Michael Adam2011-03-222-11/+0
| | | | | This has not been released yet and is now useless since we use the "idmap config * : read only = ..." syntax.
* s3:idmap: remove (now) unneeded function parse_idmap_module()Michael Adam2011-03-221-38/+0
|
* s3:idmap: simply call idmap_init_named_domain for "*" in ↵Michael Adam2011-03-221-41/+14
| | | | | | | idmap_init_default_domain The default domain "*" is now treated exactly the same as other explicitly configured domains.
* s3:idmap: remove passdb argument from idmap_init_domain()Michael Adam2011-03-221-5/+3
|
* s3:idmap: remove the params argument from the init functionMichael Adam2011-03-2212-29/+21
|
* s3:idmap: remove special treatment of domain "*" from idmap_ldap_init.Michael Adam2011-03-221-9/+5
| | | | | The default config via domain "*" is now treated just as the explicit domain configs.
* s3:idmap: remove use of params from idmap_ldap_init - it is not used any moreMichael Adam2011-03-221-13/+7
|
* s3:idmap: remove the special treatment of the default domain "*" from ↵Michael Adam2011-03-221-65/+23
| | | | idmap_init_domain
* s3-fault: removed the cont_fn from fault_setup()Andrew Tridgell2011-03-228-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
* s3:smbd: access checks should not depend on share mode flagsStefan Metzmacher2011-03-211-1/+0
| | | | metze
* s3: Fix Coverity ID 1048, CHECKED_RETURNVolker Lendecke2011-03-211-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
* s3: Fix Coverity ID 770, REVERSE_INULLVolker Lendecke2011-03-211-15/+7
| | | | | We dereference "res" in various places, no point in checking. All current callers send "res!=NULL".
* s3: Fix early tldap_search cancelsVolker Lendecke2011-03-201-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
* s3:smbd: remove uses of "./" in unlink_internals()Stefan Metzmacher2011-03-191-4/+0
| | | | | | | Commit 78b931ce6c840ade646c1c6030fa2d6acb77208b tried to do that, but didn't have any effect. metze
* s3: use getgrset() when it is availableChristian Ambach2011-03-193-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
* s3-waf: use HAVE_ADS env to decide whether to build libads.soGünther Deschner2011-03-192-2/+5
| | | | Guenther
* s3-build: use HAVE_ADS define in some more places.Günther Deschner2011-03-192-2/+2
| | | | Guenther
* SMB2 renames return SHARING_VIOLATION if there is any existing oplock on a file.Jeremy Allison2011-03-181-0/+6
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Mar 18 23:39:49 CET 2011 on sn-devel-104
* s3: Add "print notify backchannel" parameter to prevent us doing the reverse ↵Volker Lendecke2011-03-183-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
* s3:autorid make sure we set the mapping status correct on early exitChristian Ambach2011-03-181-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
* idmap-autorid: Slightly simplify idmap_autorid_get_domainrangeVolker Lendecke2011-03-181-8/+3
| | | | Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
* idmap-autorid: Slightly simplify idmap_autorid_get_domainrangeVolker Lendecke2011-03-181-2/+1
| | | | Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
* idmap-autorid: Remove an unused variableVolker Lendecke2011-03-181-11/+0
| | | | Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
* idmap-autorid: Use talloc_tos() in idmap_autorid_id_to_sidVolker Lendecke2011-03-181-5/+6
| | | | Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
* idmap-autorid: Remove an else branchVolker Lendecke2011-03-181-10/+11
| | | | Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
* idmap-autorid: Remove an unused variableVolker Lendecke2011-03-181-11/+0
| | | | Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
* idmap-autorid: Remove an unused parameterVolker Lendecke2011-03-181-3/+2
| | | | Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
* idmap-autorid: Use talloc_tos() in idmap_autorid_sids_to_unixidsVolker Lendecke2011-03-181-8/+12
| | | | Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
* idmap-autorid: Not necessary to talloc domaincfgVolker Lendecke2011-03-181-14/+8
| | | | Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
* idmap-autorid: Not necessary to talloc domainsidVolker Lendecke2011-03-181-9/+8
| | | | Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
* s3: Cope with 192.168.1.1/24 in smbcontrol ip-droppedVolker Lendecke2011-03-181-4/+32
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Mar 18 14:56:38 CET 2011 on sn-devel-104
* s3-waf: enable nss_winbind in make test for nss_wrapper.Günther Deschner2011-03-181-0/+1
| | | | Guenther
* s3-registry: remove some unused headers.Günther Deschner2011-03-185-7/+0
| | | | Guenther
* s3:locking: simplify the non cluster case of brl_get_locks_readonly()Stefan Metzmacher2011-03-181-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
* s3:locking: brl_get_locks_internal() should not expose a write lock if the ↵Stefan Metzmacher2011-03-181-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
* s4-smbtorture: add netsessiongetinfo() test.Günther Deschner2011-03-181-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
* s4-smbtorture: add test for rap_NetUserDelete().Günther Deschner2011-03-181-0/+1
| | | | Guenther
* s3-net: make sure we set correct default user flags in rap_user_add().Günther Deschner2011-03-181-1/+1
| | | | Guenther
* s4-smbtorture: add test for rap_NetUserAdd().Günther Deschner2011-03-181-0/+1
| | | | Guenther
* s3-utils: run minimal_includes.pl over utils/*.cGünther Deschner2011-03-183-4/+0
| | | | Guenther
* The searches struct is still being used and idled in SMB2 - move it to the ↵Jeremy Allison2011-03-182-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
* Fix crash bug on smbd shutdown when using FOPENDIR() found by Volker.Jeremy Allison2011-03-171-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.
* s3: Expose num_opens via api_RNetSessionEnumVolker Lendecke2011-03-171-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Mar 17 22:05:10 CET 2011 on sn-devel-104
* Nulling out the op_mid is never the right thing to do. We depend onJeremy Allison2011-03-171-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
* Fix compiler warning in debug message.Jeremy Allison2011-03-171-1/+1
|
* s3:Makefile.in: make sure we rebuild bin/smbtorture4 if there where changesStefan Metzmacher2011-03-171-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
* lib-util: put data_blob back in the public librarySimo Sorce2011-03-171-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
* s3-waf: add --with-pam_smbpass configure option.Günther Deschner2011-03-171-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