summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-23charcnv: remove the automatic fail on allow_badcharcnv trueAndrew Tridgell1-5/+0
we should just fail the call if the string really is bad
2011-03-23waf: prevent an error in the symbol checking codeAndrew Tridgell1-1/+2
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 Tridgell2-3/+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: fixed call to fault_setup() to use new syntaxAndrew Tridgell1-1/+1
2011-03-23fault: moved fault.c into common libraryAndrew Tridgell1-2/+2
2011-03-23fault: switch s4 to use the common fault.cAndrew Tridgell2-237/+1
2011-03-23fault: get fault.c ready for use by s4Andrew Tridgell11-310/+416
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-8/+7
2011-03-23fault: rename fault.c to fault_s4.cAndrew Tridgell2-11/+11
this is in preparation for merging the s3 fault code into common
2011-03-22s3:WHATSNEW: document changes of the id mapping systemMichael Adam1-0/+43
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Mar 22 23:57:29 CET 2011 on sn-devel-104
2011-03-22s3:selftest: fix Samba3.pm deprecated idmap configBjörn Baumbach1-2/+1
Replace deprecated idmap uid and gid option with new idmap config * : range
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:WHATSNEW: remove mention of "idmap read only" as new parameterMichael Adam1-1/+0
2011-03-22s3:docs: remove documentation of "idmap read only" which was removed.Michael Adam1-21/+0
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-22s4:python bindings - handle NULL returns from "loadparm_init_global"Matthias Dieter Wallnöfer3-0/+17
Reviewed-by: Jelmer Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Mar 22 19:52:57 CET 2011 on sn-devel-104
2011-03-22s4:param/loadparm.c - check for OOMMatthias Dieter Wallnöfer1-0/+3
Return NULL if the loadparm context hasn't been allocated Reviewed-by: Jelmer
2011-03-22s4:auth/system_session.c - check for OOMMatthias Dieter Wallnöfer1-0/+2
Reviewed-by: Jelmer
2011-03-22s4:ntvfs/posix: name->dos.attrib isn't initialized in pvfs_access_check_create()Stefan Metzmacher1-1/+1
That's why we have the 'container' parameter to indicate the caller wants to create a directory. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Mar 22 17:39:11 CET 2011 on sn-devel-104
2011-03-22s3:docs: fix xml of "printnotifybackchannel" parameter (missing closing tag)Michael Adam1-0/+1
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Tue Mar 22 13:57:25 CET 2011 on sn-devel-104
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-21libcli/security: make sure that we don't grant SEC_STD_DELETE to the owner ↵Stefan Metzmacher1-28/+30
by default In the file server SEC_STD_DELETE is granted on the file/directory or by FILE_DELETE_CHILD on the parent directory. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Mar 21 23:25:05 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-21s4:ntvfs/posix: grant SEC_STD_DELETE if the parent grants SEC_DIR_DELETE_CHILDStefan Metzmacher1-10/+58
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-21idmap.idl: Fix whitespaceVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Mar 21 13:36:48 CET 2011 on sn-devel-104
2011-03-20pyldb: minor fixup, fix a memory leakMatthieu Patou1-2/+3
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Mar 20 12:13:50 CET 2011 on sn-devel-104
2011-03-20pyldb: add more tests for control manipulationMatthieu Patou1-0/+4
2011-03-20dsdb: read acl, sd can be null and ret == LDB_SUCCESSMatthieu Patou1-1/+1
2011-03-20dsdb: acl_read fix a missed talloc_stealMatthieu Patou1-0/+1
2011-03-20upgradeprovision: Fix typoMatthieu Patou1-1/+1
2011-03-20ldb:fix control parsing for dirsyncMatthieu Patou1-2/+3
2011-03-20ldapcli: allocate control value on the control object not on the control ↵Matthieu Patou1-2/+2
container
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-19lib/replace/test: Add missing include for prototype.Jelmer Vernooij1-0/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Mar 19 16:45:56 CET 2011 on sn-devel-104
2011-03-19rpc_server/remote: Add missing prototype.Jelmer Vernooij1-0/+1