summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2012-08-21Fix bug #9098 - winbind does not refresh kerberos tickets.Jeremy Allison3-0/+39
Based on work from Ian Gordon <ian.gordon@strath.ac.uk>. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Aug 21 22:01:15 CEST 2012 on sn-devel-104
2012-08-21selftest: Add tests for vfs_aio_forkAndrew Bartlett1-0/+4
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Aug 21 13:12:33 CEST 2012 on sn-devel-104
2012-08-21s3-vfs: Make vfs_aio_fork erratic timing behaviour a run-time optionAndrew Bartlett1-5/+44
This will allow this to be tested as part of a normal selftest. Andrew Bartlett
2012-08-21s3-pysmbd: Add get/set functions for the posix ACL layerAndrew Bartlett1-0/+89
These will be used to verify that an ACL set as an NT ACL creates the correct posix ACL. Andrew Bartlett
2012-08-21s3-pysmbd: Correct comments in python VFS bindingsAndrew Bartlett1-2/+2
2012-08-21s3-passdb: Allow pdb_sid_to_id to work on any SIDAndrew Bartlett3-13/+19
This is needed so that pdb_samba4 can map any SID during a provision. At runtime, winbindd will be asked first, but this shortcut direct to the ldb file makes it possible to set the permissions on the sysvol share at provision time. Andrew Bartlett
2012-08-21s3-pysmbd: Add hook for a VFS chown()Andrew Bartlett1-0/+53
2012-08-21build: Remove special case for the build farmAndrew Bartlett5-11/+16
Except in the formatting of the selftest output, this removes the special case of the build farm, so that an autobuild, a manual make test and the build farm are more similar. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Aug 21 06:39:04 CEST 2012 on sn-devel-104
2012-08-21Fix bug #9104 - winbindd can mis-identify idle clients - can cause crashes ↵Herb Lewis1-1/+2
and NDR parsing errors. A connection is idle when both struct winbindd_cli_state->request AND struct winbindd_cli_state->response are NULL. Otherwise we can flag as idle a connection in the state of having sent the request to the winbindd child (request != NULL) but not yet received a reply (response == NULL). Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Aug 21 01:31:46 CEST 2012 on sn-devel-104
2012-08-20s3-build: Enable vfs_fake_acls when in developer mode or on the build farmAndrew Bartlett2-0/+9
2012-08-20s3-vfs: Add lstat and lchown hooks to the vfs_fake_acls moduleAndrew Bartlett1-0/+63
2012-08-20s3-vfs: Correct the implementation of fake_acls_sys_acl_delete_def_file()Andrew Bartlett1-1/+31
2012-08-20s3-vfs: Use the system. namespace for fake ACLsAndrew Bartlett1-4/+4
By using the system. namespace, we make sure this is only run on top of a TDB based ACL store (ie in make test). Andrew Bartlett
2012-08-20s3-smbd: ensure we give appropriate errors for EA requests on streamsAndrew Bartlett1-35/+77
2012-08-20s3-smbd: Do not look for EA information on a streamAndrew Bartlett1-6/+8
The estimated EA size needs to be of the main file. However, the fsp may point to the stream, so we need to ignore it if this is the case. This may mean we estimate wrong if there has been a rename. Andrew Bartlett
2012-08-20s3-smbd: Push smb_fname into estimate_ea_sizeAndrew Bartlett1-12/+20
This ensures that we return the ea size of the stream, not the overall file. This is important as if there is an EA on the main file, the raw.streams test was failing. Andrew Bartlett
2012-08-20s3-vfs: Allow vfs_xattr_tdb to work without a connected shareAndrew Bartlett1-19/+99
This is needed to that get_nt_acl_no_snum() can work. Andrew Bartlett
2012-08-17s3: add a debug message for failed execv in sys_popen()Michael Adam1-1/+6
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-08-17s3:lib: implement interpret_pid() as wrapper of server_id_from_string()Stefan Metzmacher1-30/+1
metze
2012-08-17s3:lib: implement serverid_equal() as macro of server_id_equal()Stefan Metzmacher3-24/+1
metze
2012-08-17s3:vfs_tsmsm only send notifications when file was offline beforeChristian Ambach1-2/+6
Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Fri Aug 17 20:05:30 CEST 2012 on sn-devel-104
2012-08-17s3: Adapt the tsmsm module to the new aio routinesVolker Lendecke1-8/+120
Signed-off-by: Christian Ambach <ambi@samba.org>
2012-08-17s3-vfs: Fix calls of lp_parm_talloc_stringVolker Lendecke1-6/+9
Signed-off-by: Christian Ambach <ambi@samba.org>
2012-08-17s3: Remove the gpfs_hsm_notify moduleVolker Lendecke5-126/+1
The functionality has been merged into vfs_gpfs Signed-off-by: Christian Ambach <ambi@samba.org>
2012-08-17s3: Merge vfs_gpfs_hsm_notify into vfs_gpfs.cVolker Lendecke1-0/+190
It was separated out because formerly our async I/O was not properly stackable. aio_fork could for example catch aio and not get aio_return get through to vfs_gpfs Signed-off-by: Christian Ambach <ambi@samba.org>
2012-08-17s3:selftest: add some tests against a share the requires encryptionStefan Metzmacher1-2/+7
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Aug 17 16:34:26 CEST 2012 on sn-devel-104
2012-08-17s3:smb2_negprot: annouce/negotiate SMB3 encryption supportStefan Metzmacher1-0/+8
metze
2012-08-17s3:smb2_server: add SMB3 encryption supportStefan Metzmacher2-49/+353
metze
2012-08-17s3:smbd: don't disconnect the client when a share has "smb encrypt = required"Stefan Metzmacher2-6/+8
It's not the client fault, if he doesn't know that encryption is required. We should just return ACCESS_DENIED and let the client work on other shares and open files on the current SMB connection. metze
2012-08-17s3:smbd: lp_smb_encrypt() returns SMB_SIGNING_* valuesStefan Metzmacher4-8/+8
metze
2012-08-17s3:smbd: make use of ENCRYPTION_REQUIRED()Stefan Metzmacher1-2/+2
metze
2012-08-17Fix bug #9085 - NMB registration for a duplicate workstation fails with ↵S Hargagan1-1/+1
registration refuse Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Aug 17 04:15:21 CEST 2012 on sn-devel-104
2012-08-17s3-torture: Allow vfstest to set ACLs on a directoryAndrew Bartlett2-6/+20
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Aug 17 02:35:49 CEST 2012 on sn-devel-104
2012-08-17s3:smb2_server: try to sign an error response if we have a signing keyStefan Metzmacher1-1/+18
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Aug 17 00:54:01 CEST 2012 on sn-devel-104
2012-08-16s3:smb2_server: verify the signature before the session_statusStefan Metzmacher1-3/+4
metze
2012-08-16s3:smb2_server: add some const to print_req_vectors()Stefan Metzmacher1-1/+1
metze
2012-08-16s3-libsmb: Add a python wrapperVolker Lendecke3-1/+678
Please note that this is not finished and only for internal use. Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-08-16s3-g_lock: Make g_lock_lock more robustVolker Lendecke1-0/+24
If for some reason the cleanup of dbwrap_watch_send does not work properly, we might starve indefinitely. Make the lock routine more robust by retrying every 5-10 seconds. g_lock_trylock will clean up orphaned entries. Signed-off-by: Christian Ambach <ambi@samba.org> Autobuild-User(master): Christian Ambach <ambi@samba.org> Autobuild-Date(master): Thu Aug 16 19:44:00 CEST 2012 on sn-devel-104
2012-08-16s3-msg: For msg_channel, correct the talloc hierarchyVolker Lendecke1-1/+1
talloc_free() of a channel must free all immediate requests that have piled up Signed-off-by: Christian Ambach <ambi@samba.org>
2012-08-16s3-msg: Rename msg_channel_init_destructorVolker Lendecke1-3/+3
Signed-off-by: Christian Ambach <ambi@samba.org>
2012-08-16s3-autoconf: Fix deps for dbwrap_tortureVolker Lendecke1-1/+1
Signed-off-by: Christian Ambach <ambi@samba.org>
2012-08-16s3-g_lock: Properly free "rec" on retry to avoid deadlockVolker Lendecke1-0/+1
Signed-off-by: Christian Ambach <ambi@samba.org>
2012-08-16s3:brlock: give traverse_fn a proper nameChristian Ambach1-2/+2
2012-08-16s3:vfs_gpfs: make sure parameters are set correctly for leasesChristian Ambach1-0/+25
gpfs:leases requires kernel oplocks = yes and level2 oplocks = no to work properly make sure those are set correctly for a share
2012-08-16s3:vfs_gpfs: Fix compile error in gpfs moduleChristof Schmitt1-0/+1
Fix this compile error by adding fcntl.h as a include that defines F_RDLCK and F_WRLCK: modules/gpfs.c: In function ‘set_gpfs_lease’: modules/gpfs.c:102: error: ‘F_RDLCK’ undeclared (first use in this function) modules/gpfs.c:102: error: (Each undeclared identifier is reported only once modules/gpfs.c:102: error: for each function it appears in.) modules/gpfs.c:105: error: ‘F_WRLCK’ undeclared (first use in this function)
2012-08-16s3-selftest: Add a seperate test for ACL tests using vfstestAndrew Bartlett4-11/+94
This does not check for consistency or correctness yet, that will be done with python unit tests. The purpose of this test is to ensure that the vfstest wrapper doesn't crash. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Thu Aug 16 09:32:25 CEST 2012 on sn-devel-104
2012-08-16s3-torture: Add ACL commands to vfstestAndrew Bartlett1-0/+311
This will allow easier investigation of our ACL layer. Andrew Bartlett
2012-08-16s3-torture: Use talloc more in vfstestAndrew Bartlett2-29/+25
This matches the rest of Samba, which allocates many of these structures with talloc. Andrew Bartlett
2012-08-16s3-torture: Initialise fsp fully in vfstest openAndrew Bartlett1-0/+34
2012-08-16s3-smbd: Do not check no_acl_syscall_error(errno) after sys_acl_init()Andrew Bartlett1-11/+2
This is no longer a VFS call, so will no longer fail in this way. Andrew Bartlett