summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* s4:samldb LDB module - remove unused "member" attribute from search filterMatthias Dieter Wallnöfer2012-08-221-1/+1
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* LDB:ldb_tdb.c - deny multi-valued attributes manipulation with doubletsMatthias Dieter Wallnöfer2012-08-221-1/+18
| | | | | | | | | | | | | | | | This refers to LDB add operations as well, we have only to be careful on "@ATTRIBUTES" entries. E.g. dn: cn=testperson,cn=users,dc=...,dc=... objectClass: person url: www.example.com url: www.example.com should not work. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* LDB:ldbsearch - add search filter testsMatthias Dieter Wallnöfer2012-08-221-0/+2
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* LDB:ldbsearch - search filters do not only contain "="Matthias Dieter Wallnöfer2012-08-221-1/+1
| | | | | | | | | Also "<=", ">=", "~"... are allowed as well. Enumeration taken from ldb_parse_filtertype(). This was the cause of not identifying the search filter as described in bug https://bugzilla.samba.org/show_bug.cgi?id=8647. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:dsdb - always fail if a search filter could not be parsedMatthias Dieter Wallnöfer2012-08-222-1/+8
| | | | | | A NULL string/expression returns the generic "(objectClass=*)" filter Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* LDB:ldif_handlers.c - LDB_OP_GREATER/LDB_OP_LESS are thought as ">=" or "<="Matthias Dieter Wallnöfer2012-08-222-3/+3
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:dsdb_sort_objectClass_attr - simplify memory context handlingMatthias Dieter Wallnöfer2012-08-223-37/+23
| | | | | | | Do only require the out memory context and build the temporary one in the body of the function. This greatly simplifies the callers. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:dsdb_sort_objectClass_attr - use "data_blob_string_const" for setting valuesMatthias Dieter Wallnöfer2012-08-221-6/+1
| | | | | | | As shown in commit c8e6d8b487 this looks easier and in any case we can treat schema context data like global data. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* libcli: fix value of NT_STATUS_FILE_NOT_AVAILABLEBjörn Jacke2012-08-221-1/+1
| | | | | Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Wed Aug 22 01:30:06 CEST 2012 on sn-devel-104
* 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>