summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-03-13Correctly normalise records against OpenLDAP.Andrew Bartlett1-1/+1
Fixing this simple typo allows more of the ldap.js test to pass. Andrew Bartlett (This used to be commit 7c80cd18d5cd9cbf32dac15a4734f5a3c67cd0e7)
2008-03-13Don't search the whole tree for the domains's sidAndrew Bartlett1-4/+18
This change removes a dependency on objectclass=domainDNS, and avoids a subtree search when we really know exactly where this record is. Andrew Bartlett (This used to be commit 52947fc0c019e57438a21e54953601b6cc08eb49)
2008-03-13Rework to have member server 'domains' be CN=NETBIOSNAMEAndrew Bartlett7-6/+49
This reworks quite a few parts of our provision system to use CN=NETBIOSNAME as the domain for member servers. This makes it clear that these domains are not in the DNS structure, while complying with our own schema (found by OpenLDAP's schema validation). Andrew Bartlett (This used to be commit bda6a38b055fed2394e65cdc0b308a1442116402)
2008-03-13Don't segfault on invalid objectClass input.Andrew Bartlett1-6/+13
If the objectClass found does not include a defaultSecurityDescriptor, then we should not segfault in the SDDL parser. Andrew Bartlett (This used to be commit 5a92771fb55149fcf24f21f30e4c6a622bef44f8)
2008-03-13Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-localAndrew Bartlett16-67/+655
(This used to be commit e9567e39106efb7443ed2c5df3492208b1c1d766)
2008-03-13Update the provision scripts and selftest for LDAPAndrew Bartlett3-9/+19
This should allow us to provision onto an OpenLDAP backend again. Also ensure we always have a sysvol and netlogon share in the selftest environment. Andrew Bartlett (This used to be commit b2d9b03ba3434e76d4d476233a198728523d17f9)
2008-03-13Don't talloc_free() the UUID before we return.Andrew Bartlett1-1/+4
This error caused us to put a 0x80 byte at the end of GUID, which was only detected by OpenLDAP's schema checking. Andrew Bartlett (This used to be commit fd99b7719bcb503e2695b2cbad0230fa23a094ca)
2008-03-13Upgrade provision-backend to python.Andrew Bartlett3-399/+697
This required a large rework of the provision code, so as to move much of the 'guess' logic into subprocedures, rather than just inline in the provision code. Andrew Bartlett (This used to be commit a0754c2a857217ca831c2295b17255d8f38dfbc2)
2008-03-12pvfs_open: retry pvfs_open() after an EGAIN or EWOULDBLOCK from open()Stefan Metzmacher1-4/+54
In case a unix application as an oplock or share mode on a file we need to retry periodicly as there's no way to get a notification from the kernel when the oplock is released. metze (This used to be commit 4d40f3a02643b4cdacee31f0b7bc9fc77cc9869a)
2008-03-12pvfs_open: pass O_NONBLOCK to open() so that we'll not block with kernel oplocksStefan Metzmacher1-2/+2
metze (This used to be commit eeb0b8c349552517b521f1b8d7d9341e0ef630f2)
2008-03-12opendb_tdb: use sys_lease to setup kernel oplocksStefan Metzmacher2-9/+42
metze (This used to be commit e473068bddfaa9028ab8ee49291035313b35fed3)
2008-03-12ntvfs/sysdep: implement linux kernel oplocks based F_SETLEASEStefan Metzmacher3-0/+233
metze (This used to be commit 3f165d3114519c317b9e7c871bb61d4fcbb8fb09)
2008-03-12ntvfs/sysdep: add sys_lease abstraction to later support kernel oplocksStefan Metzmacher3-0/+215
metze (This used to be commit b399f0c872f32bb791da196102a5872c20e62100)
2008-03-12pvfs_open: pass down &f->handle->fd to odb_open_file()Stefan Metzmacher1-31/+30
metze (This used to be commit 80f5f9362100b971fa12ffee33705b745131770e)
2008-03-12opendb: pass down a pointer to the fd in odb_open_file()Stefan Metzmacher5-5/+8
This prepares kernel oplock support. metze (This used to be commit 9db9b6d85d80a8aaa8bd432afaef9bb634d7364d)
2008-03-12ntvfs/cifs: fix the fnum on RAW_RENAME_NTTRANSStefan Metzmacher1-0/+7
metze (This used to be commit b43f1a53dd185cc51a3fb8a18e311abb77c2a7c9)
2008-03-12pvfs_rename: implement RAW_RENAME_NTTRANS as noop as w2k3Stefan Metzmacher1-1/+10
metze (This used to be commit 40563583f7ef3d8d1a3426c6c12eaecd18af215c)
2008-03-12RAW-RENAME: w2k3 just ignores a NTTRANS-RENAME!Stefan Metzmacher1-15/+50
metze (This used to be commit cd1b8efc5d8dc1eec03fe1bf1eb58dbded9584eb)
2008-03-12RAW-STREAMS: do a exit on the session after each sub testsStefan Metzmacher1-0/+2
metze (This used to be commit 3f7fef8b8c567379649611637d69c89d77d11d6c)
2008-03-12RAW-STREAMS: do what the comments sayStefan Metzmacher1-3/+5
metze (This used to be commit eb68a8ed4fa214ad2e858a7fbdf9b5376cda6e04)
2008-03-11Added test_nttransrename() to test Metze's new code.Jeremy Allison2-1/+92
Jeremy. (This used to be commit 4556fafede8691c6a12670695ff108e9e59aff98)
2008-03-11RAW-SEARCH: skip RESUME_KEY tests against samba3Stefan Metzmacher1-0/+10
metze (This used to be commit ca5b37747107bd2941f7415fe609c8293a6b5f7c)
2008-03-11Samba3.2 now passes a lot more tests - remove the S3 specificJeremy Allison1-67/+32
exemptions. Jeremy. (This used to be commit a70719d579a7eefbfd973267b95a87aaa6b649b0)
2008-03-11Samba3 now passes the test_raw_oplock_exclusive3 test.Jeremy Allison1-8/+2
Jeremy. (This used to be commit b2007956aa4534f22ad7fd85b0aee0be769548ae)
2008-03-11pvfs: return NT_STATUS_NOT_IMPLEMENTED on RAW_RENAME_NTTRANSStefan Metzmacher1-0/+3
metze (This used to be commit 6dc280731d071681b635a2f091be2b153a902080)
2008-03-11smb_server: pass down RAW_RENAME_NTTRANS to the ntvfs layerStefan Metzmacher1-1/+24
metze (This used to be commit 80711c03e0e8fba6f80261facd939ef00e06c7fd)
2008-03-11events_signal: pass down the correct siginfo_t struct to the event handlerStefan Metzmacher1-1/+1
metze (This used to be commit 4b071236867ca5c2c0451ad3acc8a9debb0549e4)
2008-03-11libcli/raw: add RAW_RENAME_NTTRANS supportStefan Metzmacher2-1/+38
metze Signed-off-by: Stefan Metzmacher <metze@samba.org> (This used to be commit bfe773a620640fa46efe008f38144f5452350825)
2008-03-11Test trans2 renames with oplocks. It looks like trans2 renamesJeremy Allison2-0/+110
ignore share modes and oplock breaks :-(. Jeremy. (This used to be commit a8a5339cf2ca218668f888eced5ffe7ce059553c)
2008-03-11Fix provision script to work without smb.conf location specified.Andrew Bartlett2-3/+5
Andrew Bartlett (This used to be commit b4da374a998caac18c288a0a6e3fcd2c50cbffa7)
2008-03-11Extend testsuite to cover specifying a domain SID.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit edb7af0685983543c321e3d8b90f6ae07af2e4e3)
2008-03-11Make error handling in ldb more consistant.Andrew Bartlett1-1/+4
This change ensures we give an immidiate error if the DN won't parse. Also clean up strcmp use to be more standard. Andrew Bartlett (This used to be commit 1b15f374a89b99f3c43d9c2ce06dde9c67383e66)
2008-03-08opendb_tdb: keep struct opendb_file arround for the lifetime of struct odb_lockStefan Metzmacher1-135/+109
That means we only have to parse the record once and as the tdb record is locked the in memory copy is always the same as the one in the tdb. metze (This used to be commit 0641a43cd6fd081cac0275f5bde2ad70fa6a71bb)
2008-03-08opendb_tdb: correctly initialize modified to falseStefan Metzmacher1-1/+1
Otherwise this variable would never change its value... metze (This used to be commit 5b13a564b8459c3134a43e1d4b4a791e33108b1b)
2008-03-08we now define PACKAGE_BUGREPORT in config.hStefan Metzmacher1-1/+1
metze (This used to be commit 4afd4058e30e0754a56100e691486139f149e3a3)
2008-03-07pvfs_open: fix the odb_open_file() callersStefan Metzmacher1-16/+8
metze (This used to be commit 5fdca988c687f58fe2fddd3c8eff5f461207065b)
2008-03-07opendb: force odb_can_open() before odb_open_file()Stefan Metzmacher4-158/+79
Now there's only odb_can_open() which handles the share_access rules. And odb_open_file() only adds the new opendb_entry into the database and calculates the granted oplock level. metze (This used to be commit db0853ae4fead34ef382bbfcfe2f46453ab8b73b)
2008-03-07pvfs_open: always call odb_can_open() before odb_open_file()Stefan Metzmacher1-6/+45
odb_open_file() will later change to not redo the logic of odb_can_open(). metze (This used to be commit b09a1461ac595be1b6530221b7df5211084884cc)
2008-03-07opendb_tdb: pass down struct messaging_context directly to ↵Stefan Metzmacher1-5/+8
odb_oplock_break_send() metze (This used to be commit c993b07f7d5caf290ccb9ca81961aa35a3ed1f02)
2008-03-07vfs_cifs: disable level2 oplocks if the frontend client doesn't support themStefan Metzmacher1-1/+5
metze (This used to be commit a63910e8e5c075aff45b8eb0d246d2823f09bb9c)
2008-03-07Rerun SWIG.Jelmer Vernooij1-15/+16
(This used to be commit e384aac5c8156c7f056c70b1caab0778f8fc52b6)
2008-03-07torture: fix escape sequence in test_chkpath().Michael Adam1-1/+1
Michael (This used to be commit d92597d29caf76e1c8d0858f066d7a30143392e9)
2008-03-07configure: Add major version 4 to AC_INIT call.Michael Adam1-1/+1
Michael (This used to be commit 3a9514def21c448d344648d4a28f658fbcfc07eb)
2008-03-07Treat maxPwdAge == 0 as passwords never expire.Andrew Kroeger1-1/+1
(This used to be commit d28f2cb678b334086f601505c88e56b9c1ee559d)
2008-03-07Enhance mappings of NTSTATUS to KRB5KDC errors.Andrew Kroeger1-1/+20
The enhanced mappings allow the Windows client to determine whether a user's password needs to be changed (and allows them to change it), or if they cannot logon at all. Changes still need to be made to allow additional data to be returned. Windows uses that additional data to display more detailed dialogs to the user. The additional information is returned in an e-data struct of type PA-PW-SALT that contains the more-detailed NTSTATUS error code. (This used to be commit 6a98e5a7aa0cdbb61358901df50162b5b914ee5c)
2008-03-07Update account expiration to use new samdb_result_account_expires() function.Andrew Kroeger2-5/+4
(This used to be commit 2b6b4e5a1611744eea5dd9ec17c416916d7edab4)
2008-03-07Add samdb_result_account_expires() function.Andrew Kroeger1-0/+24
Windows uses 2 different values to indicate an account doesn't expire: 0 and 9223372036854775807 (0x7FFFFFFFFFFFFFFFULL). This function looks up the value of the accountExpires attribute and if the value is either value indicating the account doesn't expire, 0x7FFFFFFFFFFFFFFFULL is returned. This simplifies the tests for account expiration. There is no need to check elsewhere in the code for both values, therefore a simple greater-than expression can be used. (This used to be commit 7ce5575a3a40cca4a45ec179a153f7e909065a87)
2008-03-07accountExpires: Windows default is 9223372036854775807, not -1.Andrew Kroeger3-4/+4
(This used to be commit be47cc7fdfa3cae0508e564f38b793aa27b6eb92)
2008-03-07Use 32 bit storage for nttrans countsAmin Azez1-5/+5
Erroneous 16bit storage for nttrans counts meant that nttrans behaved "strangely" for sizes of over 64K As 32 bit is used in the SMB message and specified in http://us4.samba.org/samba/ftp/specs/draft-leach-cifs-v1-spec-02.txt section 3.13.2 this fix changes storage to match. Signed-off-by: Amin Azez <azez@ufomechanic.net> (This used to be commit d66b6c3823f003875e3b7cdf63617a894cceadf9)
2008-03-07Try to fix up part of the upgrade test.Andrew Bartlett3-22/+23
There are still problems with the upgrade test, but these are not related to the provision system. Andrew Bartlett (This used to be commit d331bc400fb138bc43be88d0ca8ab3bcd590d2cd)