summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2011-03-23s3-includes: remove unused cmdline_lp_ctx.Günther Deschner1-3/+0
Guenther
2011-03-23s3-epmapper: Log error if we can't register the endpoint.Andreas Schneider1-2/+3
Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Wed Mar 23 18:06:54 CET 2011 on sn-devel-104
2011-03-23s3-epmapper: Setup epm in smbd to forward np requests.Andreas Schneider1-0/+4
2011-03-23s3-epmapper: Remove unregister on shutdown.Andreas Schneider1-313/+13
This is done automatically now.
2011-03-23s3-epmd: Cleanup endpoints on service pipe disconnect.Andreas Schneider1-1/+1
2011-03-23s3-epmapper: Added function to delete endpoint entries.Andreas Schneider3-0/+57
2011-03-23s3-rpc_server: Added disconnect callback function.Andreas Schneider4-15/+43
2011-03-23s3-rpc_server: Rename req to subreq.Andreas Schneider1-14/+14
2011-03-23s3-rpc_server: Implement an endpoint monitor loop.Andreas Schneider2-2/+114
2011-03-23s3-rpc_server: Added a memory context to the ep regsiter state.Andreas Schneider1-5/+17
2011-03-23s3-librpc: Leave the epm registration connection open.Andreas Schneider3-23/+77
2011-03-23s3-epmd: Cleanup endpoint mapper correctly.Andreas Schneider1-1/+15
2011-03-23s3-epmapper: Shutdown the embedded epmapper cleanly.Andreas Schneider1-1/+9
2011-03-23s3-epmapper: Added a cleanup function.Andreas Schneider2-0/+45
2011-03-23s3-epmapper: Use DCERPC_AUTH_LEVEL_CONNECT for ep ncalrpc.Andreas Schneider2-4/+1
2011-03-23s3-rpc_server: Rename system_user to ncalrpc_as_system.Andreas Schneider3-4/+4
2011-03-23s3: Fix a shadowed declaration warningVolker Lendecke1-3/+3
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 23 17:19:01 CET 2011 on sn-devel-104
2011-03-23s3: Include prctl where it is actually usedVolker Lendecke1-0/+4
2011-03-23s3: Attempt to fix the build on FreeBSDVolker Lendecke1-0/+4
2011-03-23s3: Fix Coverity ID 2201, NULL_RETURNSVolker Lendecke1-0/+3
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 23 13:06:20 CET 2011 on sn-devel-104
2011-03-23s3: Fix Coverity ID 2202, NULL_RETURNSVolker Lendecke1-0/+3
2011-03-23s3: Fix Coverity ID 2203, NULL_RETURNSVolker Lendecke1-0/+4
2011-03-23s3: Fix a (invalid) uninitialized variable warningVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 23 11:13:14 CET 2011 on sn-devel-104
2011-03-23lib/util: Merge basic string length and comparison functionsAndrew Bartlett2-293/+1
These functions now use the codepoints for more accurate string handling and now form common code. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Mar 23 08:21:54 CET 2011 on sn-devel-104
2011-03-23s3-lib prepare Samba3 to use common codepoint based string functionsAndrew Bartlett1-108/+82
This patch changes the source3 util_str.c functions so that the next patch just contains the move into common code, without code changes. Andrew Bartlett
2011-03-23s3-safe_string: Add checked_strlcpy()Andrew Bartlett2-1/+13
This is strlcpy, just with an extra check of the parameters with sizeof(), use only where that works. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Mar 23 03:39:35 CET 2011 on sn-devel-104
2011-03-23s3-safe_str: Futher simplify the macros by removing indirectionAndrew Bartlett4-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
2011-03-23s3-lib Remove the clobber_region() code.Andrew Bartlett12-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
2011-03-23s3-config: say which config file we failed to openAndrew Tridgell3-3/+3
saves having to strace it to work that out
2011-03-23fault: fixed smb_panic() prototypesAndrew Tridgell1-1/+0
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Mar 23 01:51:44 CET 2011 on sn-devel-104
2011-03-23fault: get fault.c ready for use by s4Andrew Tridgell9-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
2011-03-23fault: moved s3 fault.c to top levelAndrew Tridgell3-383/+2
2011-03-22s3:idmap: make sure that the id mapping system is initialized for first accessMichael Adam1-0/+4
2011-03-22s3:loadparm: set the default "idmap config * : backend" in initialize_globals().Michael Adam1-0/+2
2011-03-22s3:loadparm: deprecate "idmap uid/gid/backend" and have them set "idmap ↵Michael Adam1-26/+14
config * : range/backend"
2011-03-22s3:loadparm: remove unused parameter "idmap read only".Michael Adam2-11/+0
This has not been released yet and is now useless since we use the "idmap config * : read only = ..." syntax.
2011-03-22s3:idmap: remove (now) unneeded function parse_idmap_module()Michael Adam1-38/+0
2011-03-22s3:idmap: simply call idmap_init_named_domain for "*" in ↵Michael Adam1-41/+14
idmap_init_default_domain The default domain "*" is now treated exactly the same as other explicitly configured domains.
2011-03-22s3:idmap: remove passdb argument from idmap_init_domain()Michael Adam1-5/+3
2011-03-22s3:idmap: remove the params argument from the init functionMichael Adam12-29/+21
2011-03-22s3:idmap: remove special treatment of domain "*" from idmap_ldap_init.Michael Adam1-9/+5
The default config via domain "*" is now treated just as the explicit domain configs.
2011-03-22s3:idmap: remove use of params from idmap_ldap_init - it is not used any moreMichael Adam1-13/+7
2011-03-22s3:idmap: remove the special treatment of the default domain "*" from ↵Michael Adam1-65/+23
idmap_init_domain
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