Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-03-23 | s3-safe_string: Add checked_strlcpy() | Andrew Bartlett | 2 | -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-23 | s3-safe_str: Futher simplify the macros by removing indirection | Andrew Bartlett | 4 | -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-23 | s3-lib Remove the clobber_region() code. | Andrew Bartlett | 12 | -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-23 | charcnv: remove the automatic fail on allow_badcharcnv true | Andrew Tridgell | 1 | -5/+0 | |
we should just fail the call if the string really is bad | |||||
2011-03-23 | waf: prevent an error in the symbol checking code | Andrew Tridgell | 1 | -1/+2 | |
2011-03-23 | s3-config: say which config file we failed to open | Andrew Tridgell | 3 | -3/+3 | |
saves having to strace it to work that out | |||||
2011-03-23 | fault: fixed smb_panic() prototypes | Andrew Tridgell | 2 | -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-23 | fault: fixed call to fault_setup() to use new syntax | Andrew Tridgell | 1 | -1/+1 | |
2011-03-23 | fault: moved fault.c into common library | Andrew Tridgell | 1 | -2/+2 | |
2011-03-23 | fault: switch s4 to use the common fault.c | Andrew Tridgell | 2 | -237/+1 | |
2011-03-23 | fault: get fault.c ready for use by s4 | Andrew Tridgell | 11 | -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-23 | fault: moved s3 fault.c to top level | Andrew Tridgell | 3 | -8/+7 | |
2011-03-23 | fault: rename fault.c to fault_s4.c | Andrew Tridgell | 2 | -11/+11 | |
this is in preparation for merging the s3 fault code into common | |||||
2011-03-22 | s3:WHATSNEW: document changes of the id mapping system | Michael Adam | 1 | -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-22 | s3:selftest: fix Samba3.pm deprecated idmap config | Björn Baumbach | 1 | -2/+1 | |
Replace deprecated idmap uid and gid option with new idmap config * : range | |||||
2011-03-22 | s3:idmap: make sure that the id mapping system is initialized for first access | Michael Adam | 1 | -0/+4 | |
2011-03-22 | s3:loadparm: set the default "idmap config * : backend" in initialize_globals(). | Michael Adam | 1 | -0/+2 | |
2011-03-22 | s3:loadparm: deprecate "idmap uid/gid/backend" and have them set "idmap ↵ | Michael Adam | 1 | -26/+14 | |
config * : range/backend" | |||||
2011-03-22 | s3:WHATSNEW: remove mention of "idmap read only" as new parameter | Michael Adam | 1 | -1/+0 | |
2011-03-22 | s3:docs: remove documentation of "idmap read only" which was removed. | Michael Adam | 1 | -21/+0 | |
2011-03-22 | s3:loadparm: remove unused parameter "idmap read only". | Michael Adam | 2 | -11/+0 | |
This has not been released yet and is now useless since we use the "idmap config * : read only = ..." syntax. | |||||
2011-03-22 | s3:idmap: remove (now) unneeded function parse_idmap_module() | Michael Adam | 1 | -38/+0 | |
2011-03-22 | s3:idmap: simply call idmap_init_named_domain for "*" in ↵ | Michael Adam | 1 | -41/+14 | |
idmap_init_default_domain The default domain "*" is now treated exactly the same as other explicitly configured domains. | |||||
2011-03-22 | s3:idmap: remove passdb argument from idmap_init_domain() | Michael Adam | 1 | -5/+3 | |
2011-03-22 | s3:idmap: remove the params argument from the init function | Michael Adam | 12 | -29/+21 | |
2011-03-22 | s3:idmap: remove special treatment of domain "*" from idmap_ldap_init. | Michael Adam | 1 | -9/+5 | |
The default config via domain "*" is now treated just as the explicit domain configs. | |||||
2011-03-22 | s3:idmap: remove use of params from idmap_ldap_init - it is not used any more | Michael Adam | 1 | -13/+7 | |
2011-03-22 | s3:idmap: remove the special treatment of the default domain "*" from ↵ | Michael Adam | 1 | -65/+23 | |
idmap_init_domain | |||||
2011-03-22 | s4:python bindings - handle NULL returns from "loadparm_init_global" | Matthias Dieter Wallnöfer | 3 | -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-22 | s4:param/loadparm.c - check for OOM | Matthias Dieter Wallnöfer | 1 | -0/+3 | |
Return NULL if the loadparm context hasn't been allocated Reviewed-by: Jelmer | |||||
2011-03-22 | s4:auth/system_session.c - check for OOM | Matthias Dieter Wallnöfer | 1 | -0/+2 | |
Reviewed-by: Jelmer | |||||
2011-03-22 | s4:ntvfs/posix: name->dos.attrib isn't initialized in pvfs_access_check_create() | Stefan Metzmacher | 1 | -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-22 | s3:docs: fix xml of "printnotifybackchannel" parameter (missing closing tag) | Michael Adam | 1 | -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-22 | s3-fault: removed the cont_fn from fault_setup() | Andrew Tridgell | 8 | -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-21 | libcli/security: make sure that we don't grant SEC_STD_DELETE to the owner ↵ | Stefan Metzmacher | 1 | -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-21 | s3:smbd: access checks should not depend on share mode flags | Stefan Metzmacher | 1 | -1/+0 | |
metze | |||||
2011-03-21 | s4:ntvfs/posix: grant SEC_STD_DELETE if the parent grants SEC_DIR_DELETE_CHILD | Stefan Metzmacher | 1 | -10/+58 | |
metze | |||||
2011-03-21 | s3: Fix Coverity ID 1048, CHECKED_RETURN | Volker Lendecke | 1 | -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-21 | s3: Fix Coverity ID 770, REVERSE_INULL | Volker Lendecke | 1 | -15/+7 | |
We dereference "res" in various places, no point in checking. All current callers send "res!=NULL". | |||||
2011-03-21 | idmap.idl: Fix whitespace | Volker Lendecke | 1 | -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-20 | pyldb: minor fixup, fix a memory leak | Matthieu Patou | 1 | -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-20 | pyldb: add more tests for control manipulation | Matthieu Patou | 1 | -0/+4 | |
2011-03-20 | dsdb: read acl, sd can be null and ret == LDB_SUCCESS | Matthieu Patou | 1 | -1/+1 | |
2011-03-20 | dsdb: acl_read fix a missed talloc_steal | Matthieu Patou | 1 | -0/+1 | |
2011-03-20 | upgradeprovision: Fix typo | Matthieu Patou | 1 | -1/+1 | |
2011-03-20 | ldb:fix control parsing for dirsync | Matthieu Patou | 1 | -2/+3 | |
2011-03-20 | ldapcli: allocate control value on the control object not on the control ↵ | Matthieu Patou | 1 | -2/+2 | |
container | |||||
2011-03-20 | s3: Fix early tldap_search cancels | Volker Lendecke | 1 | -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-19 | lib/replace/test: Add missing include for prototype. | Jelmer Vernooij | 1 | -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-19 | rpc_server/remote: Add missing prototype. | Jelmer Vernooij | 1 | -0/+1 | |