summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-23async_rec/async_sock.c - add an additional "const"Matthias Dieter Wallnöfer1-1/+2
In order to suppress a build warning. Acked-by: Volker and Metze Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Wed Mar 23 10:26:23 CET 2011 on sn-devel-104
2011-03-23ndrdump - make "in_pipes" and "out_pipes" constMatthias Dieter Wallnöfer1-2/+2
In order to suppress a build warning.
2011-03-23lib/util: Merge basic string length and comparison functionsAndrew Bartlett7-636/+428
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-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