summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
* s3-param: Add "server role" as global parameterAmitay Isaacs2011-11-173-10/+31
| | | | | This will help extracting server role processing code in common library.
* param: Add "domain logons" and "domain master" parametersAmitay Isaacs2011-11-171-0/+2
| | | | | This makes parsing of config files with s3 loadparm code and s4 loadparm code consistent.
* s3-libsmb/passchange.c: remove some cli_nt_error() callsBjörn Baumbach2011-11-161-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
* s3-winbindd/winbindd_cm.c: remove cli_nt_error()Björn Baumbach2011-11-161-8/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmb/clidfs.c: remove cli_nt_error()Björn Baumbach2011-11-161-2/+2
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:winbindd_cm: remove unused ads_statusStefan Metzmacher2011-11-161-3/+0
| | | | metze
* s3-torture: remove all cli_nt_error() calls in tortureBjörn Baumbach2011-11-161-12/+11
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-torture: replace cli_errstr() with nt_errstr()Björn Baumbach2011-11-161-6/+10
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmb: introduce option to disable dos error mappingBjörn Baumbach2011-11-163-1/+4
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:smbd: calculate the negprot signing flags from the signing_stateStefan Metzmacher2011-11-161-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
* s3: Fix wbinfo socket dir path.Andreas Schneider2011-11-161-0/+7
| | | | | Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Nov 16 17:19:56 CET 2011 on sn-devel-104
* Revert "Fix bug #8453 - smbclient segfaults when dialect option -m is used ↵Stefan Metzmacher2011-11-161-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
* s3:libsmb: always init cli->{server_os,server_domain,server_type}Stefan Metzmacher2011-11-161-0/+13
| | | | | | We should do that at creation time of cli_state. metze
* s3-waf: create a smbldap.so library.Günther Deschner2011-11-164-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
* s3-smbldap: remove dependency to secrets subsystem.Günther Deschner2011-11-161-17/+4
| | | | Guenther
* s3-smbldap: extend smbldap_init() with binddn/bindsecret arguments.Günther Deschner2011-11-165-6/+39
| | | | Guenther
* s3-smbldap: remove duplicate prototype of smbldap_init().Günther Deschner2011-11-161-3/+0
| | | | Guenther
* s3-net: use better state variable name for smbldap_state.Günther Deschner2011-11-161-9/+9
| | | | Guenther
* s3-passdb: split out passdb/pdb_ldap_schema.cGünther Deschner2011-11-1613-327/+385
| | | | Guenther
* s3: move smbldap_util to pdb_ldap_util.Günther Deschner2011-11-168-21/+52
| | | | Guenther
* s3-smbldap: use include/smb_ldap.h in smbldap.hGünther Deschner2011-11-161-1/+1
| | | | Guenther
* Final part of patchset to fix bug #8556 - ACL permissions ignored when ↵Jeremy Allison2011-11-163-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
* Remove the check for FILE_WRITE_ATTRIBUTES from smb_set_file_time(). ItJeremy Allison2011-11-153-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.
* Always set the attribute first, before the time.Jeremy Allison2011-11-151-7/+7
|
* Move handle-based access check into handle codepath.Jeremy Allison2011-11-151-4/+4
|
* We've already checked fsp must be non-null here.Jeremy Allison2011-11-151-1/+1
|
* Remove unneeded access check. This is done inside smb_set_file_time().Jeremy Allison2011-11-151-4/+0
|
* Remove unneeded access check. This is done inside smb_set_file_size().Jeremy Allison2011-11-151-4/+0
|
* Move handle based access check into handle code path.Jeremy Allison2011-11-151-4/+4
|
* Fix bug #8561 - Password change settings not fully observed.Jeremy Allison2011-11-163-5/+36
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Nov 16 00:22:41 CET 2011 on sn-devel-104
* Ensure we correctly calculate reply credits over all returnedJeremy Allison2011-11-151-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).
* Remove unneeded NULL check.Jeremy Allison2011-11-151-4/+0
|
* s3:smbd/aio: handle_aio_completed() should do nothing if aio_ex->fsp is NULLStefan Metzmacher2011-11-151-0/+5
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Nov 15 18:47:55 CET 2011 on sn-devel-104
* s3:smbd/aio: pass ECANCELED to the smb2 aio handlersStefan Metzmacher2011-11-151-1/+4
| | | | metze
* s3:smb2_read: make it possible to cancel aio readsStefan Metzmacher2011-11-151-1/+16
| | | | metze
* s3:smb2_write: make it possible to cancel aio writesStefan Metzmacher2011-11-151-1/+16
| | | | metze
* s3:smbd/aio: add cancel_smb2_aio()Stefan Metzmacher2011-11-152-0/+39
| | | | metze
* s3:smb2_ioctl: STATUS_PENDING is defered by 1 millisecond for SMB2_IOCTLStefan Metzmacher2011-11-151-1/+1
| | | | metze
* s3:smb2_create: defer STATUS_PENDING for 2 seconds as beforeStefan Metzmacher2011-11-151-1/+7
| | | | metze
* s3:smb2_server: pass explicit defer_times to smbd_smb2_request_pending_queue()Stefan Metzmacher2011-11-1513-14/+15
| | | | metze
* s3:smb2_server: always send STATUS_PENDING responses, but delayed by 0.5 ↵Stefan Metzmacher2011-11-155-152/+125
| | | | | | | | milliseconds In future we'll pass the delay from the caller. metze
* s3-winbind: Don't fail on users without a uid.Andreas Schneider2011-11-151-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
* s3-winbind: Make sure the map is clean.Andreas Schneider2011-11-151-1/+5
|
* s3-winbind: Increase the negative cache entry timout.Andreas Schneider2011-11-151-1/+1
| | | | | The timout for the cache entry of a negative connection should be the double of a connect timeout (which is 30 seconds).
* s3-modules: remove the last "init_module" traces.Günther Deschner2011-11-142-4/+0
| | | | Guenther
* s3:smb2_flush: outbody only needs 4 bytesStefan Metzmacher2011-11-141-1/+1
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Nov 14 10:01:30 CET 2011 on sn-devel-104
* py_passdb: Cannot steal an item pointer from an arrayAmitay Isaacs2011-11-111-4/+9
| | | | | Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Fri Nov 11 12:04:33 CET 2011 on sn-devel-104
* s3: server_id.pid has turned 64 (bits, that is)Volker Lendecke2011-11-101-4/+11
| | | | | | | | Fix ctdb_processes_exist protocol. The socket expects pid_t which is 32 bits on 32 bit machines. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Nov 10 18:57:01 CET 2011 on sn-devel-104
* s3: Avoid a race with the async echo handlerVolker Lendecke2011-11-101-33/+28
| | | | | | We can not read from the echo handler socket when we have the main socket locked. This leads to the echo responder to lock up sitting in the fcntl lock while the parent wants to read the remainder of a large packet.
* s3:smbd: don't limit the number of open dptrs for smb2 (bug #8592)Stefan Metzmacher2011-11-101-3/+12
| | | | | | | | | | This fixes a crash bug that is triggered, when a client has more than 256 directory handles with searches. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Nov 10 14:08:14 CET 2011 on sn-devel-104