summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-waf: expose the server_exit code in the smbd_base libraryAndrew Tridgell2011-05-081-1/+2
| | | | these functions are called from the rest of smbd_base
* build: allow s3 libraries to be built with no undefined symbolsAndrew Tridgell2011-05-081-2/+4
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-param Don't set variables such as the debuglevel unless globalAndrew Bartlett2011-05-081-2/+18
| | | | | | | | | | This ensures that when a second lp_ctx is created, that it does not set global variables such as the debug level, log file etc, potentially overriding the settings created by another context. In particular this matters when loading Samba4 modules into Samba3. Andrew Bartlett
* Improve debug messages when creating socket directoriesAndrew Bartlett2011-05-083-7/+15
| | | | | | This makes clear what the permissions error and directory name actually is Andrew Bartlett
* libds: moved enum security_types to a common headerAndrew Tridgell2011-05-084-5/+5
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s3-utils Set dyn_CONFIGFILE from -c on smbpasswd command lineAndrew Bartlett2011-05-081-0/+1
| | | | | | | | This is similar to the code in popt_common and allows the smb.conf to be re-loaded from this file later in the code (or for Samba4 plugins to attempt to parse the same smb.conf). Andrew Bartlett
* selftest Use die() less often, as it fails to allow cleanupAndrew Bartlett2011-05-082-9/+30
|
* auth: allow auth_common.h to be included multiple times without errorAndrew Bartlett2011-05-081-0/+5
|
* s4-auth Rename auth -> auth4 to avoid conflict with s3 authAndrew Bartlett2011-05-0823-78/+80
|
* s4-ntvfs: Rename brl_*() -> brlock_*() to avoid conflict with brlock_init in s3Andrew Bartlett2011-05-087-24/+24
|
* s4-auth: remove unused prototypeAndrew Tridgell2011-05-081-4/+1
|
* s3: Fix including libsmb/proto.h without prior ads.hVolker Lendecke2011-05-071-0/+2
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 7 11:38:11 CEST 2011 on sn-devel-104
* Fix Samba3 on OpenIndiana.Gordon Ross2011-05-074-7/+49
| | | | | | | | | | | 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
* A couple more off-by-one calculations with strlcpy.Jeremy Allison2011-05-061-2/+2
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 6 18:39:17 CEST 2011 on sn-devel-104
* s4-smbd: fix randseed_init() usage.Günther Deschner2011-05-061-1/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri May 6 17:37:11 CEST 2011 on sn-devel-104
* s3-includes: no need to globally include libads/ads_status.h.Günther Deschner2011-05-067-1/+10
| | | | Guenther
* s3-includes: finally only include client.h when libsmb is used.Günther Deschner2011-05-0612-3/+15
| | | | Guenther
* s3-libsmb: move protos to libsmb/proto.hGünther Deschner2011-05-0684-812/+937
| | | | Guenther
* s3-proto: remove some duplicate prototypes.Günther Deschner2011-05-061-54/+0
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri May 6 16:21:08 CEST 2011 on sn-devel-104
* s3-spoolss: remove unused struct in construct_notify_printer_info().Günther Deschner2011-05-061-2/+1
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri May 6 12:07:17 CEST 2011 on sn-devel-104
* libcli/security: fix build warning, cr_descr_log_acl() is not used currently.Günther Deschner2011-05-061-0/+2
| | | | Guenther
* tdb: fix a build warning.Günther Deschner2011-05-061-0/+1
| | | | Guenther
* s3: only include tdb headers where needed.Günther Deschner2011-05-0668-8/+81
| | | | Guenther
* lib/util don't use enum protocol_types in ms_fnmatch_protocolAndrew Bartlett2011-05-062-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
* libcli/smb Move cifs posix helper functions and headers in commonAndrew Bartlett2011-05-0611-715/+555
| | | | | | unix_perms_to_wire() was a duplicate symbol in the top level build. Andrew Bartlett
* lib/util Use lib/util/ms_fnmatch.c in common for gen_fnmatch()Andrew Bartlett2011-05-064-11/+3
| | | | | | | | | 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
* lib/util Rename ms_fnmatch() to ms_fnmatch_protocol() to avoid dup symbolAndrew Bartlett2011-05-067-14/+15
| | | | | | | This verison of the function takes a protcol as argument to determine matching rules. Andrew Bartlett
* errors: Remove unused unix_to_werror()Andrew Bartlett2011-05-063-16/+0
|
* libcli/util Move NTSTATUS table to the top levelAndrew Bartlett2011-05-066-1616/+922
|
* nterr: Add mem_ctx for return string from get_nt_error_c_code()Andrew Bartlett2011-05-066-35/+34
| | | | | | It is clearer to avoid the implicit return on talloc_tos() Andrew Bartlett
* s3-smbd ntstatus_to_dos() pulls the DOS error codes out internallyAndrew Bartlett2011-05-061-5/+4
| | | | | | This means we don't need to duplicate that logic here. Andrew Bartlett
* libcli/util Merge ntstatus_to_dos() ntstatus_to_werror() to the top levelAndrew Bartlett2011-05-065-1884/+1242
| | | | | | | This takes the Samba4 version, with the NT_STATUS_IS_DOS() check. This will be used in smbd/error.c shortly. Andrew Bartlett
* errors: Merge source3/ werror_to_ntstatus() code to source4/Andrew Bartlett2011-05-061-6/+16
|
* errors: Merge ntstatus -> DOS error table between Samba3 and Samba4.Andrew Bartlett2011-05-062-15/+20
| | | | | | They are now identical Andrew Bartlett
* s3-lib Remove unused dos error codes from errmap_unixAndrew Bartlett2011-05-064-59/+50
| | | | | | | This also makes unix_nt_errmap private to errmap_unix.c and errormap.c so the tables themselves cannot be duplicate symbols until merged. Andrew Bartlett
* lib/util Move source3 tdb_wrap_open() into the common code.Andrew Bartlett2011-05-0626-311/+222
| | | | | | | | | 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
* s3-winbind: another strlcpy()/fstring fixAndrew Tridgell2011-05-061-2/+2
| | | | | Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri May 6 07:50:33 CEST 2011 on sn-devel-104
* s3-auth: fixed bug with usernames longer than sizeof(char *)Andrew Tridgell2011-05-061-3/+3
| | | | | | | | | | | | using sizeof(user) when user is "fstring user" as a C parameter actually returns sizeof(char *), which means that long usernames aren't allowed. Jeremy, you need a longer username :-) Cheers, Tridge Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* Fix const in smbtorture.Jeremy Allison2011-05-062-11/+10
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 6 02:45:00 CEST 2011 on sn-devel-104
* Fix broken interface to set_namearray() - don't modify incoming string.Jeremy Allison2011-05-063-8/+19
|
* Fixup use of const.Jeremy Allison2011-05-061-2/+2
|
* More const fixes. Remove CONST_DISCARD.Jeremy Allison2011-05-0637-77/+71
|
* Change the char * pointers in the struct to const char * (which is how ↵Jeremy Allison2011-05-061-19/+18
| | | | they're treated).
* More const fixes... getting near the end now.Jeremy Allison2011-05-065-17/+17
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 6 00:57:00 CEST 2011 on sn-devel-104
* More simple const fixups.Jeremy Allison2011-05-0510-22/+22
|
* More simple const fixes.Jeremy Allison2011-05-0522-58/+58
|
* More const fixes for compiler warnings from the waf build.Jeremy Allison2011-05-0527-114/+122
|
* Fixup build without --with-aio.Jeremy Allison2011-05-051-1/+1
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu May 5 21:38:23 CEST 2011 on sn-devel-104
* More const compiler warning fixes.Jeremy Allison2011-05-056-29/+29
|
* Fix many const compiler warnings.Jeremy Allison2011-05-0526-81/+84
|