summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-safe_str: Futher simplify the macros by removing indirectionAndrew Bartlett2011-03-234-71/+41
| | | | | | | | Now that we don't need to pass in the function name and string, another level of indirection can be safely removed, and the operation of these macros made much clearer. Andrew Bartlett
* s3-lib Remove the clobber_region() code.Andrew Bartlett2011-03-2312-316/+87
| | | | | | | | | | | | | | | | | | This code wrote to the full buffer in fstrcpy(), pstrcpy() and other fixed-length string manipulation functions. The hope of this code was to find out at run time if we were mixing up pstring and fstring etc, and to record where this came from. It has a runtime performance impact (particularly if compiled with --enable-developer). It is being removed because of the complexity it adds, and the distinct lack of bugs that this complexity has been credited in finding. The macro-based compile-time checking of string sizes remains. Andrew Bartlett
* s3-config: say which config file we failed to openAndrew Tridgell2011-03-233-3/+3
| | | | saves having to strace it to work that out
* fault: fixed smb_panic() prototypesAndrew Tridgell2011-03-231-1/+0
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Mar 23 01:51:44 CET 2011 on sn-devel-104
* fault: get fault.c ready for use by s4Andrew Tridgell2011-03-239-11/+342
| | | | | this moves the s3 specific dumpcore code into source3/lib/dumpcore.c, and uses a function pointer to setup which smb_panic call to use
* fault: moved s3 fault.c to top levelAndrew Tridgell2011-03-233-383/+2
|
* s3:idmap: make sure that the id mapping system is initialized for first accessMichael Adam2011-03-221-0/+4
|
* 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