summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-12-07s4/torture: fix >80 column spacing issuesSteven Danneman2-9/+10
2009-12-07s4/torture: add delete-on-close test for directoriesAravind Srinivasan1-0/+63
This test opens a directory with delete on close, opens it again, and checks to make sure that the second open returned with NT_STATUS_DELETE_PENDING.
2009-12-07parent_sd can never be null in this function, so don'tJeremy Allison1-1/+5
check for it. Jeremy.
2009-12-07Hopefullt final fix for 6802 - acl_xattr.c module: A created folder does not ↵Jeremy Allison3-267/+168
properly inherit permissions from parent and 6938 - No hook exists to check creation rights when using acl_xattr module Volker was right (dammit :-). It's much easier to catch this case in the create_file() vfs call instead of trying to do everything inside open() and mkdir(). Hook all these functions to gain the desired effect. Jeremy.
2009-12-07s3: let gencache_init() use tdb_check()Stefan Metzmacher1-0/+25
If the check fails we try to clear the tdb and start with an empty cache. metze
2009-12-07s3: let netsamlogon_cache_init() use tdb_check()Stefan Metzmacher1-4/+42
If the check fails we try to unlink the old file and start with an empty cache. metze
2009-12-07s3: let tdb_validate_child() use tdb_check()Stefan Metzmacher1-0/+11
metze
2009-12-07s3: require tdb 1.1.7 with tdb_check()Stefan Metzmacher1-1/+1
metze
2009-12-07s3:docs: Document "directory name cache size".Karolin Seeger1-0/+14
Karolin
2009-12-07s3: de-deprecate "write cache size" to prevent its removal without a proper ↵Volker Lendecke1-1/+1
alternative
2009-12-07Fix release script with newer versins of gitSimo Sorce1-1/+1
2009-12-07s4-smbtorture: disable some spoolss printerdata tests which s3 does not pass ↵Günther Deschner1-0/+13
at the moment. Guenther
2009-12-07s3: fix net and rpcclient after setprinterdataex changes.Günther Deschner2-19/+17
Guenther
2009-12-07s4-smbtorture: fix RPC-SPOOLSS after _spoolss_SetPrinterDataEx IDL change.Günther Deschner1-28/+48
Guenther
2009-12-07s3-spoolss: let _spoolss_DeletePrinterData call into ↵Günther Deschner1-38/+5
_spoolss_DeletePrinterDataEx. Guenther
2009-12-07s3-spoolss: let _spoolss_SetPrinterData call into _spoolss_SetPrinterDataEx.Günther Deschner1-74/+30
Guenther
2009-12-07s3-spoolss: let _spoolss_GetPrinterData call into _spoolss_GetPrinterDataEx.Günther Deschner1-101/+44
Guenther
2009-12-07spoolss: rework spoolss_GetPrinterDataEx and spoolss_SetPrinterDataEx.Günther Deschner9-71/+366
Guenther
2009-12-07s3-spoolss: a default printer should have at least a "PrintDriverData" key.Günther Deschner1-0/+7
Guenther
2009-12-07s3-winreg: fill in some inline comments.Günther Deschner1-10/+38
Guenther
2009-12-07s3-winreg: remove trailing whitespace.Günther Deschner1-40/+40
Guenther
2009-12-07s3:auth: Fix typo in debug message.Karolin Seeger1-2/+2
Karolin
2009-12-07examples: Fix the build of the example VFS modules.Karolin Seeger2-10/+13
Karolin
2009-12-07s4:dsdb Use ldb_match_msg_objectclass in operational.cAndrew Bartlett1-6/+1
This avoids not only a possibly non-portable compiler expression, but also the need to look up the schema each time. Andrew Bartlett
2009-12-07s4:ldb Add a function to match a message against an objectClassAndrew Bartlett2-0/+22
(as objectClass will always be a case insensitive ascii string, we can make a much simpler match function here than for the general case). Andrew Bartlett
2009-12-07s4:ldap.py Improve testsuite for primaryGroupToken behaviourAndrew Bartlett1-0/+22
This tries to show that the domain object should not have a primaryGroupToken, for example. (This passes against the old and new code, as the failure case requires an object with an objectSid, and exactly one group in it's subtree. Sadly I don't know of a valid structure that I can construct to test this). Andrew Bartlett
2009-12-07s4:dsdb Make primaryGroupToken calculation more efficient and correctAndrew Bartlett1-20/+46
The original code here would do a subtree search under each object, attempting to determine if it was a group. This was incorrect, and inefficient - we just need to ask for the objectClass attribute, and check that value before returning the group's RID. (Much of this patch reworks operational.c to allow a search for 2 attributes for this calculation). Andrew Bartlett
2009-12-07s4:dsdb Make parentGUID handler use dsdb_module_search_dn()Andrew Bartlett2-76/+29
This avoids doing a new search from the top of the module stack. This also removes the helper function dsdb_find_parentguid_by_dn() which is now unused. Andrew Bartlett
2009-12-07s4:build torturedir and -DTORTUREDIR is unusedAndrew Bartlett2-4/+0
(And made building RPMs much more difficult for JHT)
2009-12-07s4:dsdb Hide the LM password by default tooAndrew Bartlett1-1/+2
2009-12-06streamline some log levels for invalid servicenamesChristian Ambach2-2/+2
I don't think we need to log the fact that a user gave a wrong sharename in Explorer with the highest log level. The level of this was not very consistent: service.c: DEBUG(3,("find_service() failed to find service %s\n", service)); service.c: DEBUG(0,("%s (%s) couldn't find service %s\n", smb2_tcon.c: DEBUG(1,("smbd_smb2_tree_connect: couldn't find service %s\n", This changes the last two to 3 as the first one. Signed-off-by: Christian Ambach <christian.ambach@de.ibm.com>
2009-12-06s3: Fix a const discard warningVolker Lendecke1-7/+9
2009-12-06s3: talloc_array_length deals file with a NULL argumentVolker Lendecke1-3/+3
2009-12-06s3: Small simplification: qsort deals fine with just one entryVolker Lendecke1-7/+2
2009-12-06s3: Simplify usr_info_cmp by calling timeval_compare()Volker Lendecke1-3/+1
2009-12-06s3: Add rpcclient wkssvc_enumerateusersVolker Lendecke1-0/+51
2009-12-06s3: Complete support for NetWkstaGetInfo/NetWkstaEnumUsersIan Puleston1-22/+380
2009-12-06s3: First cut at _wkssvc_NetWkstaEnumUsersVolker Lendecke1-3/+52
This needs access checks!
2009-12-06s3: Support NetWkstaGetInfo 101 and 102Volker Lendecke2-16/+114
2009-12-05s4-ldif: Fix memory leek in ldb_ldif_write()Kamen Mazdrashki1-0/+2
2009-12-05packaging(RHEL-CTDB): package dbwrap_tool and dbwrap_torture in the common pkgMichael Adam1-0/+5
Michael
2009-12-05s3:dbwrap_ctdb: increase the number of commit retries 5-->100Michael Adam1-1/+1
This is to cope with timeouts when recoveries and transactions collide. Maybe 100 is too hight, but 10 or even 20 have been too low in a very busy environment. Michael
2009-12-05s3:dbwrap_ctdb: increase the rsn of the __transaction_lock__ when storingMichael Adam1-0/+2
so that it is correctly handled by recoveries. Also set the dmaster explicitly. Michael
2009-12-05s3: Fix explicit stat64 supportVolker Lendecke1-3/+12
2009-12-04s3: check if glibc has broken posix_fallocateBjörn Jacke2-1/+17
2009-12-04Make Samba3 pass the RAW-LOCK test as Windows.Jeremy Allison2-0/+29
Implement the win7 NT_STATUS_INVALID_LOCK_RANGE. Make smbd behave as Windows does in canceling locks. Jeremy.
2009-12-04Make smbtorture4 match Windows behavior.Jeremy Allison1-41/+33
Jeremy.
2009-12-04s3: bug #6967: Prevent glibc error on net ads join:Jim McDonough1-1/+1
talloc()ed memory should not be SAFE_FREE()ed. Signed-off-by: Jim McDonough <jmcd@samba.org>
2009-12-04s4-smbtorture: heavily expand printerdata tests in RPC-SPOOLSS.Günther Deschner1-67/+299
Including new tests for: - spoolss_SetPrinterDataEx - spoolss_DeletePrinterDataEx - spoolss_DeletePrinterKey Guenther
2009-12-04s3 aclocal.m4: Fix iconv checks, clean up m4 codeKai Blin1-27/+30
The check for iconv requiring giconv.h and libgiconv as well as the check for iconv requiring biconv.h and libbiconv were using the wrong variable to check for previous successful test results. This caused the checks to always fall back to libbiconv on systems where that library was available. In the course of fixing this, I had to clean up the indentation in that piece of code, and I also rewrote/added some comments. Many thanks to Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp> for the initial patch and diagnosis.