Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-11-17 | s3-net Do not look for a local SID when we are a DC | Andrew Bartlett | 1 | -7/+8 | |
If we are actually a DC, then the only SID we have is the domain SID, and looking for it under the local name fails if we are a Samba4 AD DC. Andrew Bartlett | |||||
2011-11-17 | param: Connect lp_security to the lib/param code to allow tests | Andrew Bartlett | 1 | -0/+1 | |
Pair-Programmed-With: Amitay Isaacs <amitay@samba.org> | |||||
2011-11-17 | param: Move enum values into a common (included) .c file | Andrew Bartlett | 1 | -83/+1 | |
This #include hack is required as it is not possible to declare a compile-time sized array in a header file. Andrew Bartlett Pair-Programmed-With: Amitay Isaacs <amitay@samba.org> | |||||
2011-11-17 | param: move server role helpers into loadparm.h | Andrew Bartlett | 1 | -1/+0 | |
Pair-Programmed-With: Amitay Isaacs <amitay@samba.org> | |||||
2011-11-17 | param: calculate server role from security, and security from server role | Andrew Bartlett | 6 | -113/+11 | |
This allows smb.conf files from either the samba3 or samba4 tradition to come to the same value of server role, using the information in the smb.conf file. This is important so that tools like 'net getlocalsid' work against a Samba4 AD installation (yes, users have tried this). Andrew Bartlett Pair-Programmed-With: Amitay Isaacs <amitay@samba.org> | |||||
2011-11-17 | s3-param remove lp_domain_logons(), always use IS_DC | Andrew Bartlett | 5 | -5/+3 | |
This makes the code internally consistant. Andrew Bartlett Pair-Programmed-With: Amitay Isaacs <amitay@samba.org> | |||||
2011-11-17 | param: make server role list common and include auto (for the new default) | Andrew Bartlett | 1 | -3/+8 | |
Pair-Programmed-With: Amitay Isaacs <amitay@samba.org> | |||||
2011-11-17 | s3-param: Add "server role" as global parameter | Amitay Isaacs | 3 | -10/+31 | |
This will help extracting server role processing code in common library. | |||||
2011-11-17 | param: Add "domain logons" and "domain master" parameters | Amitay Isaacs | 1 | -0/+2 | |
This makes parsing of config files with s3 loadparm code and s4 loadparm code consistent. | |||||
2011-11-16 | s3-libsmb/passchange.c: remove some cli_nt_error() calls | Björn Baumbach | 1 | -2/+0 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 16 20:36:11 CET 2011 on sn-devel-104 | |||||
2011-11-16 | s3-winbindd/winbindd_cm.c: remove cli_nt_error() | Björn Baumbach | 1 | -8/+2 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-11-16 | s3-libsmb/clidfs.c: remove cli_nt_error() | Björn Baumbach | 1 | -2/+2 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-11-16 | s3:winbindd_cm: remove unused ads_status | Stefan Metzmacher | 1 | -3/+0 | |
metze | |||||
2011-11-16 | s3-torture: remove all cli_nt_error() calls in torture | Björn Baumbach | 1 | -12/+11 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-11-16 | s3-torture: replace cli_errstr() with nt_errstr() | Björn Baumbach | 1 | -6/+10 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-11-16 | s3-libsmb: introduce option to disable dos error mapping | Björn Baumbach | 3 | -1/+4 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-11-16 | s3:smbd: calculate the negprot signing flags from the signing_state | Stefan Metzmacher | 1 | -3/+10 | |
We should map from lp_server_signing() just once in srv_init_signing(). metze Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Nov 16 18:59:49 CET 2011 on sn-devel-104 | |||||
2011-11-16 | s3: Fix wbinfo socket dir path. | Andreas Schneider | 1 | -0/+7 | |
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Nov 16 17:19:56 CET 2011 on sn-devel-104 | |||||
2011-11-16 | Revert "Fix bug #8453 - smbclient segfaults when dialect option -m is used ↵ | Stefan Metzmacher | 1 | -13/+0 | |
for legacy dialects" This reverts commit f261ac1932ecdae925b27301aa3e907757845a85. We now handle that in cli_state_create(). metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 16 15:44:05 CET 2011 on sn-devel-104 | |||||
2011-11-16 | s3:libsmb: always init cli->{server_os,server_domain,server_type} | Stefan Metzmacher | 1 | -0/+13 | |
We should do that at creation time of cli_state. metze | |||||
2011-11-16 | s3-waf: create a smbldap.so library. | Günther Deschner | 4 | -6/+10 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Nov 16 14:03:05 CET 2011 on sn-devel-104 | |||||
2011-11-16 | s3-smbldap: remove dependency to secrets subsystem. | Günther Deschner | 1 | -17/+4 | |
Guenther | |||||
2011-11-16 | s3-smbldap: extend smbldap_init() with binddn/bindsecret arguments. | Günther Deschner | 5 | -6/+39 | |
Guenther | |||||
2011-11-16 | s3-smbldap: remove duplicate prototype of smbldap_init(). | Günther Deschner | 1 | -3/+0 | |
Guenther | |||||
2011-11-16 | s3-net: use better state variable name for smbldap_state. | Günther Deschner | 1 | -9/+9 | |
Guenther | |||||
2011-11-16 | s3-passdb: split out passdb/pdb_ldap_schema.c | Günther Deschner | 13 | -327/+385 | |
Guenther | |||||
2011-11-16 | s3: move smbldap_util to pdb_ldap_util. | Günther Deschner | 8 | -21/+52 | |
Guenther | |||||
2011-11-16 | s3-smbldap: use include/smb_ldap.h in smbldap.h | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2011-11-16 | Final part of patchset to fix bug #8556 - ACL permissions ignored when ↵ | Jeremy Allison | 3 | -16/+51 | |
SMBsetatr is requested. This now plumbs access checks through all setattr calls. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Nov 16 04:20:04 CET 2011 on sn-devel-104 | |||||
2011-11-15 | Remove the check for FILE_WRITE_ATTRIBUTES from smb_set_file_time(). It | Jeremy Allison | 3 | -8/+17 | |
is called from places like fileio.c that need to update the write time on a file handle only open for write, without neccessarily having FILE_WRITE_ATTRIBUTES permission. Move all checks to before the smb_set_file_time() callers. | |||||
2011-11-15 | Always set the attribute first, before the time. | Jeremy Allison | 1 | -7/+7 | |
2011-11-15 | Move handle-based access check into handle codepath. | Jeremy Allison | 1 | -4/+4 | |
2011-11-15 | We've already checked fsp must be non-null here. | Jeremy Allison | 1 | -1/+1 | |
2011-11-15 | Remove unneeded access check. This is done inside smb_set_file_time(). | Jeremy Allison | 1 | -4/+0 | |
2011-11-15 | Remove unneeded access check. This is done inside smb_set_file_size(). | Jeremy Allison | 1 | -4/+0 | |
2011-11-15 | Move handle based access check into handle code path. | Jeremy Allison | 1 | -4/+4 | |
2011-11-16 | Fix bug #8561 - Password change settings not fully observed. | Jeremy Allison | 3 | -5/+36 | |
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Nov 16 00:22:41 CET 2011 on sn-devel-104 | |||||
2011-11-15 | Ensure we correctly calculate reply credits over all returned | Jeremy Allison | 1 | -4/+13 | |
SMB2 replies, and do as Windows does and return the total in the last SMB2 reply. Fixes an issue found by Christian M Ambach <christian.ambach@de.ibm.com> (and thanks to Christian for the initial patch this was based on). | |||||
2011-11-15 | Remove unneeded NULL check. | Jeremy Allison | 1 | -4/+0 | |
2011-11-15 | s3:smbd/aio: handle_aio_completed() should do nothing if aio_ex->fsp is NULL | Stefan Metzmacher | 1 | -0/+5 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Nov 15 18:47:55 CET 2011 on sn-devel-104 | |||||
2011-11-15 | s3:smbd/aio: pass ECANCELED to the smb2 aio handlers | Stefan Metzmacher | 1 | -1/+4 | |
metze | |||||
2011-11-15 | s3:smb2_read: make it possible to cancel aio reads | Stefan Metzmacher | 1 | -1/+16 | |
metze | |||||
2011-11-15 | s3:smb2_write: make it possible to cancel aio writes | Stefan Metzmacher | 1 | -1/+16 | |
metze | |||||
2011-11-15 | s3:smbd/aio: add cancel_smb2_aio() | Stefan Metzmacher | 2 | -0/+39 | |
metze | |||||
2011-11-15 | s3:smb2_ioctl: STATUS_PENDING is defered by 1 millisecond for SMB2_IOCTL | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-11-15 | s3:smb2_create: defer STATUS_PENDING for 2 seconds as before | Stefan Metzmacher | 1 | -1/+7 | |
metze | |||||
2011-11-15 | s3:smb2_server: pass explicit defer_times to smbd_smb2_request_pending_queue() | Stefan Metzmacher | 13 | -14/+15 | |
metze | |||||
2011-11-15 | s3:smb2_server: always send STATUS_PENDING responses, but delayed by 0.5 ↵ | Stefan Metzmacher | 5 | -152/+125 | |
milliseconds In future we'll pass the delay from the caller. metze | |||||
2011-11-15 | s3-winbind: Don't fail on users without a uid. | Andreas Schneider | 1 | -1/+19 | |
This fixes bug #8608. If you join samba with idmap_ad backend to an AD. When you try to enumerate users with 'getent passwd' and the user doesn't have a uid set, then getent is aborted cause of NT_STATUS_NONE_MAPPED. If we can't map a user we should not stop but continue enumerating users. This normally happens with the default user 'krbtgt' with idmap_ad but could also happen with other backends. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Tue Nov 15 16:52:04 CET 2011 on sn-devel-104 | |||||
2011-11-15 | s3-winbind: Make sure the map is clean. | Andreas Schneider | 1 | -1/+5 | |