summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2011-05-10libsmbconf: Document smbconf_delete_share().Andreas Schneider1-0/+11
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Document smbconf_get_share().Andreas Schneider1-0/+18
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Document smbconf_create_share().Andreas Schneider1-0/+11
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Document smbconf_share_exists().Andreas Schneider1-0/+10
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Document smbconf_get_share_names().Andreas Schneider1-0/+15
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Document smbconf_get_config().Andreas Schneider1-4/+22
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Document smbconf_drop().Andreas Schneider1-0/+9
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Document smbconf_changed().Andreas Schneider1-0/+20
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Document smbconf_shutdown().Andreas Schneider1-0/+6
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Document smbconf_is_writeable().Andreas Schneider1-0/+8
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Document smbconf_backend_requires_messaging().Andreas Schneider1-2/+14
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_get_config() to sbcErr.Andreas Schneider2-10/+6
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_transaction_*() to sbcErr.Andreas Schneider4-15/+15
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_delete_includes() to sbcErr.Andreas Schneider4-11/+10
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_set_includes() to sbcErr.Andreas Schneider4-12/+11
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_get_includes() to sbcErr.Andreas Schneider4-18/+15
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_delete_parameter() to sbcErr.Andreas Schneider4-11/+10
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_get_parameter() to sbcErr.Andreas Schneider4-17/+17
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_set_parameter() to sbcErr.Andreas Schneider4-11/+10
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_delete_share() to sbcErr.Andreas Schneider4-6/+6
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_get_share() to sbcErr.Andreas Schneider4-16/+14
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_create_share() to smbErr.Andreas Schneider4-30/+44
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_get_share_names() to sbcErr.Andreas Schneider5-40/+43
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_drop() to sbcErr.Andreas Schneider4-5/+5
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_open() to sbcErr.Andreas Schneider2-10/+3
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Convert smbconf_init() to sbcErr.Andreas Schneider4-50/+60
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Added a sbcErrorString() function.Andreas Schneider2-0/+44
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10libsmbconf: Introduce a sbcErrType.Andreas Schneider1-0/+23
Signed-off-by: Michael Adam <obnox@samba.org>
2011-05-10tdb_wrap.h: not a public header.Rusty Russell1-1/+0
It is a private library, and OpenChange has their own which they use, so it's not for them either. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Tue May 10 05:21:19 CEST 2011 on sn-devel-104
2011-05-09tevent: Fix a typoVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon May 9 08:17:08 CEST 2011 on sn-devel-104
2011-05-08lib/socket: Remove outdated commentAndrew Bartlett1-11/+0
The autoconf and waf tests for interfaces logic are in libreplace now.
2011-05-08lib/socket move interfaces code to the top levelAndrew Bartlett3-0/+365
2011-05-08Improve debug messages when creating socket directoriesAndrew Bartlett1-1/+2
This makes clear what the permissions error and directory name actually is Andrew Bartlett
2011-05-07Fix Samba3 on OpenIndiana.Gordon Ross1-1/+3
I'd like Samba to use the native OpenLDAP and MIT Kerberos libs. Attached are some patches to do that. (relative to git master) It does not build for me without these. (OpenIndiana is an off-shoot of OpenSolaris See http://www.openindiana.org) Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat May 7 02:20:14 CEST 2011 on sn-devel-104
2011-05-06tdb: fix a build warning.Günther Deschner1-0/+1
Guenther
2011-05-06lib/util don't use enum protocol_types in ms_fnmatch_protocolAndrew Bartlett2-2/+2
This makes it easier to compile this in the top level with s3 and s4 headers. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri May 6 08:50:52 CEST 2011 on sn-devel-104
2011-05-06lib/util Use lib/util/ms_fnmatch.c in common for gen_fnmatch()Andrew Bartlett1-2/+2
gen_fnmatch was a duplicate symbol in the top level build. gen_fnmatch() used for simple non-CIFS pattern matching, so selecting the lib/util implementation should not be a concern. Andrew Bartlett
2011-05-06lib/util Rename ms_fnmatch() to ms_fnmatch_protocol() to avoid dup symbolAndrew Bartlett2-5/+6
This verison of the function takes a protcol as argument to determine matching rules. Andrew Bartlett
2011-05-06lib/util Move source3 tdb_wrap_open() into the common code.Andrew Bartlett4-1/+246
This #if _SAMBA_BUILD == 3 is very unfortunate, as it means that in the top level build, these options are not available for these databases. However, having two different tdb_wrap lists is a worse fate, so this will do for now. Andrew Bartlett
2011-05-06More const fixes. Remove CONST_DISCARD.Jeremy Allison2-3/+3
2011-05-05Fix many const compiler warnings.Jeremy Allison2-4/+4
2011-05-05Clean up some const and other compiler warnings.Jeremy Allison4-7/+9
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu May 5 00:59:40 CEST 2011 on sn-devel-104
2011-05-04I added them, so I get to kill them :-). Finally remove all uses of ↵Jeremy Allison3-99/+0
safe_strcpy and safe_strcat. Change to strlcpy, strlcat. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed May 4 22:14:14 CEST 2011 on sn-devel-104
2011-05-04Tidy up some missing checks for NULL in strlcpy.Jeremy Allison1-1/+1
2011-05-04Remove overmalloc_safe_strcpy - can be simple strlcpy.Jeremy Allison1-8/+0
2011-05-04Change safe_strcpy_base to strlcpy_base. Note the size doesn't change here ↵Jeremy Allison1-2/+2
as the original macro auto-added the -1.
2011-05-04Fix simple uses of safe_strcpy -> strlcpy. Easy ones where we just remove -1.Jeremy Allison3-10/+10
2011-05-03lib/util make string_wrappers.h a public headerAndrew Bartlett1-1/+1
This isn't a very good public header, but util.h includes it, so we don't have much choice in the short term. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue May 3 08:37:22 CEST 2011 on sn-devel-104
2011-05-03lib/util Use lib/util/util_str.c in common, including strequal()Andrew Bartlett2-3/+3
strequal() is now implemented in terms of strcasecmp_m() which is tested in smbtorture and which does not talloc() for ASCII or non-ASCII comparions, and has an ASCII fast-path. Andrew Bartlett
2011-05-03lib/util Use compiler-checked safe string macros in top level code.Andrew Bartlett2-35/+27
This brings the 'safe' macros to the top level code, and removes duplication of the safe_strcpy() and safe_strcat() functions. Andrew Bartlett