summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2011-05-08ncalrpc: Force ncalrpc dir to be mode 755 in all usersAndrew Bartlett1-2/+2
This allows this directory to be shared between Samba3 and Samba4 in a Franky-style setup easily. Andrew Bartlett
2011-05-08s3-auth Add auth_samba4 moduleAndrew Bartlett2-0/+141
This module makes a direct call into the Samba4 auth stack to authenticate Samba4 uses in a Samba3 file server. The direct call avoids the need to obtain schannel credentials. Andrew Bartlett Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2011-05-08s3-passdb: added pdb_samba4Andrew Bartlett3-0/+2126
This uses direct LDB operations and calls to the dsdb library to allow passdb operations (such as pdbedit and smbpasswd) offline, and uses transactions internally for database consistency. Pair-Programmed-With: Andrew Tridgell <tridge@samba.org>
2011-05-08s3-passdb Redirect domain GUID and SID queries to the passdb stackAndrew Bartlett1-0/+58
This is done if the passdb module supports PDB_ADS, and ensures that a random SID is never made up locally for these directories. This is only enabled when in the waf build, due to dependency issues. Andrew Bartlett
2011-05-08build: Allow the C code to know if this is a waf buildAndrew Bartlett1-0/+1
This allows addition of functionality that can't be handled (for example, due to dependencies) in the autoconf build. Andrew Bartlett
2011-05-08s3-test: build smbtorture with --enable-developerAndrew Tridgell1-1/+1
this makes debugging of tests much easier, as we get debug symbols
2011-05-08s3-lib Use common lib/socket code for get_interfaces() et alAndrew Bartlett7-354/+7
2011-05-08s3-smbd: expose smbd_set_server_fd()Andrew Tridgell3-29/+30
this allows the fd to be setup by subsystems that want to use the s3 server core code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun May 8 12:01:13 CEST 2011 on sn-devel-104
2011-05-08s3-waf: expose the server_exit code in the smbd_base libraryAndrew Tridgell1-1/+2
these functions are called from the rest of smbd_base
2011-05-08Improve debug messages when creating socket directoriesAndrew Bartlett1-5/+12
This makes clear what the permissions error and directory name actually is Andrew Bartlett
2011-05-08libds: moved enum security_types to a common headerAndrew Tridgell1-3/+0
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-05-08s3-utils Set dyn_CONFIGFILE from -c on smbpasswd command lineAndrew Bartlett1-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
2011-05-07s3: Fix including libsmb/proto.h without prior ads.hVolker Lendecke1-0/+2
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 7 11:38:11 CEST 2011 on sn-devel-104
2011-05-07Fix Samba3 on OpenIndiana.Gordon Ross2-6/+22
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-06A couple more off-by-one calculations with strlcpy.Jeremy Allison1-2/+2
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 6 18:39:17 CEST 2011 on sn-devel-104
2011-05-06s3-includes: no need to globally include libads/ads_status.h.Günther Deschner7-1/+10
Guenther
2011-05-06s3-includes: finally only include client.h when libsmb is used.Günther Deschner12-3/+15
Guenther
2011-05-06s3-libsmb: move protos to libsmb/proto.hGünther Deschner83-812/+936
Guenther
2011-05-06s3-proto: remove some duplicate prototypes.Günther Deschner1-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
2011-05-06s3-spoolss: remove unused struct in construct_notify_printer_info().Günther Deschner1-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
2011-05-06s3: only include tdb headers where needed.Günther Deschner68-8/+81
Guenther
2011-05-06libcli/smb Move cifs posix helper functions and headers in commonAndrew Bartlett3-524/+1
unix_perms_to_wire() was a duplicate symbol in the top level build. Andrew Bartlett
2011-05-06lib/util Use lib/util/ms_fnmatch.c in common for gen_fnmatch()Andrew Bartlett3-9/+1
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-06errors: Remove unused unix_to_werror()Andrew Bartlett1-6/+0
2011-05-06libcli/util Move NTSTATUS table to the top levelAndrew Bartlett2-726/+5
2011-05-06nterr: Add mem_ctx for return string from get_nt_error_c_code()Andrew Bartlett3-8/+7
It is clearer to avoid the implicit return on talloc_tos() Andrew Bartlett
2011-05-06s3-smbd ntstatus_to_dos() pulls the DOS error codes out internallyAndrew Bartlett1-5/+4
This means we don't need to duplicate that logic here. Andrew Bartlett
2011-05-06libcli/util Merge ntstatus_to_dos() ntstatus_to_werror() to the top levelAndrew Bartlett2-1215/+1
This takes the Samba4 version, with the NT_STATUS_IS_DOS() check. This will be used in smbd/error.c shortly. Andrew Bartlett
2011-05-06errors: Merge ntstatus -> DOS error table between Samba3 and Samba4.Andrew Bartlett1-8/+9
They are now identical Andrew Bartlett
2011-05-06s3-lib Remove unused dos error codes from errmap_unixAndrew Bartlett3-54/+47
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
2011-05-06lib/util Move source3 tdb_wrap_open() into the common code.Andrew Bartlett9-168/+7
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-06s3-winbind: another strlcpy()/fstring fixAndrew Tridgell1-2/+2
Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Fri May 6 07:50:33 CEST 2011 on sn-devel-104
2011-05-06s3-auth: fixed bug with usernames longer than sizeof(char *)Andrew Tridgell1-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>
2011-05-06Fix const in smbtorture.Jeremy Allison2-11/+10
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 6 02:45:00 CEST 2011 on sn-devel-104
2011-05-06Fix broken interface to set_namearray() - don't modify incoming string.Jeremy Allison3-8/+19
2011-05-06Fixup use of const.Jeremy Allison1-2/+2
2011-05-06More const fixes. Remove CONST_DISCARD.Jeremy Allison32-69/+65
2011-05-06Change the char * pointers in the struct to const char * (which is how ↵Jeremy Allison1-19/+18
they're treated).
2011-05-06More const fixes... getting near the end now.Jeremy Allison5-17/+17
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 6 00:57:00 CEST 2011 on sn-devel-104
2011-05-05More simple const fixups.Jeremy Allison10-22/+22
2011-05-05More simple const fixes.Jeremy Allison22-58/+58
2011-05-05More const fixes for compiler warnings from the waf build.Jeremy Allison25-99/+107
2011-05-05Fixup build without --with-aio.Jeremy Allison1-1/+1
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu May 5 21:38:23 CEST 2011 on sn-devel-104
2011-05-05More const compiler warning fixes.Jeremy Allison6-29/+29
2011-05-05Fix many const compiler warnings.Jeremy Allison23-76/+79
2011-05-05Don't reuse a non-const pointer when manipulating const.Jeremy Allison1-4/+3
2011-05-05s3: Fix a typoVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu May 5 16:10:35 CEST 2011 on sn-devel-104
2011-05-05s3: Fix dup_smb2_vec3Volker Lendecke1-1/+1
Metze, Jeremy, please check! Thanks, Volker Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu May 5 13:39:40 CEST 2011 on sn-devel-104
2011-05-05s3-rpc_server: run minimal_includes.pl.Günther Deschner7-8/+0
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu May 5 03:04:38 CEST 2011 on sn-devel-104
2011-05-05s3-rpc_client: run minimal_includes.pl.Günther Deschner3-3/+0
Guenther