summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix bug #9098 - winbind does not refresh kerberos tickets.Jeremy Allison2012-08-213-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
* selftest: Add tests for vfs_aio_forkAndrew Bartlett2012-08-212-0/+12
| | | | | Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Aug 21 13:12:33 CEST 2012 on sn-devel-104
* s3-vfs: Make vfs_aio_fork erratic timing behaviour a run-time optionAndrew Bartlett2012-08-211-5/+44
| | | | | | This will allow this to be tested as part of a normal selftest. Andrew Bartlett
* build: Create bin/ when doing 'waf dist' from a fresh checkoutAndrew Bartlett2012-08-211-0/+1
| | | | | | | | | As suggested by Amitay. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Aug 21 09:03:02 CEST 2012 on sn-devel-104
* s3-pysmbd: Add get/set functions for the posix ACL layerAndrew Bartlett2012-08-211-0/+89
| | | | | | | These will be used to verify that an ACL set as an NT ACL creates the correct posix ACL. Andrew Bartlett
* s3-pysmbd: Correct comments in python VFS bindingsAndrew Bartlett2012-08-211-2/+2
|
* s3-passdb: Allow pdb_sid_to_id to work on any SIDAndrew Bartlett2012-08-213-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
* s3-pysmbd: Add hook for a VFS chown()Andrew Bartlett2012-08-211-0/+53
|
* build: Remove special case for the build farmAndrew Bartlett2012-08-2112-23/+22
| | | | | | | | | | | 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
* build: Remove accidentily added line in samba_version.pyAndrew Bartlett2012-08-211-1/+0
| | | | | | | | | This was incorrectly added in 0e441636afd5923a92f7eb29d66dfa52e2f0a5c3. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Tue Aug 21 03:11:16 CEST 2012 on sn-devel-104
* Fix bug #9104 - winbindd can mis-identify idle clients - can cause crashes ↵Herb Lewis2012-08-211-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
* s4-torture: Use torture_fail() in the unix.unix_info2 testAndrew Bartlett2012-08-201-2/+3
| | | | | Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Mon Aug 20 15:36:48 CEST 2012 on sn-devel-104
* selftest: Use new fake_acls moduleAndrew Bartlett2012-08-203-8/+2
| | | | | | | | | | | | This isolates us from the OS ACL library, and allows chown to 'work' when we are non-root. In turn, this ensures that we can test the SMB -> POSIX layer even when the OS would refuse the set due to non-root or simply not having acls enabled on this particular file system. This should make a number of build farm tests much more reliable, and allows a number more tests to pass. Andrew Bartlett
* s4-torture: Show that we cannot list extended attributes on streamsAndrew Bartlett2012-08-201-0/+11
|
* s4-torture: Show that we cannot have extended attributes on streamsAndrew Bartlett2012-08-201-2/+17
|
* s4-torture: Improve raw.streams test to cover EAs and to use torture_assert()Andrew Bartlett2012-08-201-34/+25
| | | | | | | | | | The extension of this test is to create an extended attribute, so we can confirm that the easize field on a stream actually refers to the parent file. This has been run against Windows 7. Andrew Bartlett
* doc-BUILD_SYSTEMS.txt: The grand rename is completeAndrew Bartlett2012-08-201-5/+4
|
* WHATSNEW: Remove over-caution on s3fs and explain browsing betterAndrew Bartlett2012-08-202-19/+18
|
* build: Do not put a .distversion file into the GIT treeAndrew Bartlett2012-08-201-5/+8
| | | | | | | This places the file only in the tarball, and shows how to auto-generate other files for placement in the tarball. Andrew Bartlett
* s3-build: Enable vfs_fake_acls when in developer mode or on the build farmAndrew Bartlett2012-08-202-0/+9
|
* s3-vfs: Add lstat and lchown hooks to the vfs_fake_acls moduleAndrew Bartlett2012-08-201-0/+63
|
* s3-vfs: Correct the implementation of fake_acls_sys_acl_delete_def_file()Andrew Bartlett2012-08-201-1/+31
|
* s3-vfs: Use the system. namespace for fake ACLsAndrew Bartlett2012-08-201-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
* s3-smbd: ensure we give appropriate errors for EA requests on streamsAndrew Bartlett2012-08-201-35/+77
|
* s3-smbd: Do not look for EA information on a streamAndrew Bartlett2012-08-201-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
* s3-smbd: Push smb_fname into estimate_ea_sizeAndrew Bartlett2012-08-201-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
* s4-ntvfs: Add TODO on ea_sizeAndrew Bartlett2012-08-201-1/+1
| | | | | | This is almost certainly un-important. Andrew Bartlett
* s4-ntvfs: Ensure we do not attempt to write EAs on streamsAndrew Bartlett2012-08-201-0/+6
|
* s3-vfs: Allow vfs_xattr_tdb to work without a connected shareAndrew Bartlett2012-08-201-19/+99
| | | | | | This is needed to that get_nt_acl_no_snum() can work. Andrew Bartlett
* s4:torture:basic: add more delete test - variants of deltest16 and deltest17Michael Adam2012-08-172-1/+629
| | | | | | | | | | | | | There seems to be a difference if the initial delete_on_close flag was set on a handle that created the file or if the handle if was for a file that already existed. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Aug 17 21:44:24 CEST 2012 on sn-devel-104
* s3: add a debug message for failed execv in sys_popen()Michael Adam2012-08-171-1/+6
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* lib/util: add server_id_set_disconnected() and server_id_is_disconnected()Michael Adam2012-08-172-1/+48
| | | | | | | Utility functions for handling the special placeholder server-id value for disconnected clients (to be used for durable handles). Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* lib/util: let server_id_str() skip the task_id if 0 in the cluster case tooStefan Metzmacher2012-08-171-0/+5
| | | | | | server_id_from_string() already handles that case. metze
* s3:lib: implement interpret_pid() as wrapper of server_id_from_string()Stefan Metzmacher2012-08-171-30/+1
| | | | metze
* lib/util: add server_id_from_string()Stefan Metzmacher2012-08-172-0/+38
| | | | metze
* s3:lib: implement serverid_equal() as macro of server_id_equal()Stefan Metzmacher2012-08-173-24/+1
| | | | metze
* lib/util: add server_id_equal()Stefan Metzmacher2012-08-172-0/+22
| | | | metze
* s3:vfs_tsmsm only send notifications when file was offline beforeChristian Ambach2012-08-171-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
* s3: Adapt the tsmsm module to the new aio routinesVolker Lendecke2012-08-171-8/+120
| | | | Signed-off-by: Christian Ambach <ambi@samba.org>
* s3-vfs: Fix calls of lp_parm_talloc_stringVolker Lendecke2012-08-171-6/+9
| | | | Signed-off-by: Christian Ambach <ambi@samba.org>
* s3: Remove the gpfs_hsm_notify moduleVolker Lendecke2012-08-177-129/+3
| | | | | | The functionality has been merged into vfs_gpfs Signed-off-by: Christian Ambach <ambi@samba.org>
* s3: Merge vfs_gpfs_hsm_notify into vfs_gpfs.cVolker Lendecke2012-08-171-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>
* s4-dsdb: Use tmp_ctx in kccsrv_check_deleted to avoid leaking memory onto ↵Andrew Bartlett2012-08-171-6/+11
| | | | | | | | | | | | | | | | | | | part->dn The confusing use of do_dn as a memory context while legitimate created a bug when it was copied and modified to search on a DN from long-term state. By always using a temporary memory context it is clear what paramter is the memory context. This was found based on a log provided by Ricky Nance <ricky.nance@weaubleau.k12.mo.us>. Thanks Ricky! Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Aug 17 18:24:10 CEST 2012 on sn-devel-104
* s4-kcc: Avoid use-after-free of dn and add tmp_ctxAndrew Bartlett2012-08-171-2/+9
| | | | | | By using a tmp_ctx we are clearer about allocating temporary memory. Andrew Bartlett
* s3:selftest: add some tests against a share the requires encryptionStefan Metzmacher2012-08-174-2/+20
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Aug 17 16:34:26 CEST 2012 on sn-devel-104
* s3:smb2_negprot: annouce/negotiate SMB3 encryption supportStefan Metzmacher2012-08-171-0/+8
| | | | metze
* s3:smb2_server: add SMB3 encryption supportStefan Metzmacher2012-08-172-49/+353
| | | | metze
* s3:smbd: don't disconnect the client when a share has "smb encrypt = required"Stefan Metzmacher2012-08-172-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
* s3:smbd: lp_smb_encrypt() returns SMB_SIGNING_* valuesStefan Metzmacher2012-08-174-8/+8
| | | | metze
* s3:smbd: make use of ENCRYPTION_REQUIRED()Stefan Metzmacher2012-08-171-2/+2
| | | | metze