summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2008-02-28Check for and reject invalid account flags.Andrew Bartlett1-0/+14
(lest we have an account set with 0 flags) Andrew Bartlett (This used to be commit 7a46e72f8dbb191ac8a811eb4cd95210fab7dc7b)
2008-02-28Generate ACB_PW_EXPIRED correctlyAndrew Bartlett6-54/+115
More correctly handle expired passwords, and do not expire machine accounts. Test that the behaviour is consistant with windows, using the RPC-SAMR test. Change NETLOGON to directly query the userAccountControl, just because we don't want to do the extra expiry processing here. Andrew Bartlett (This used to be commit acda1f69bc9b9c43e157e254d0bae54d11363661)
2008-02-28Users and computers now share the same template.Andrew Bartlett4-82/+101
Slowly work away at the samldb module again, it is clear that AD does not use much of a templating system. samAccountType is managed, as far as I can tell, when groupType or userAccountControl changes. Andrew Bartlett (This used to be commit 447d5a795441aa6beab2f057c5ac1bc3c04e08c4)
2008-02-28Reorder modules to have rdn_name before objectclass.Andrew Bartlett1-1/+1
This ensures the relative DN is placed in the correct case into the DB. Andrew Bartlett (This used to be commit 16378219fbf9e8a26621f848e85426180822ea29)
2008-02-28Fix rdn_name errors.Andrew Bartlett1-1/+2
Return the correct error when the DN is mismatched with it's RDN attribute (now matches AD). Andrew Bartlett (This used to be commit bf7166e785e5c5d52dbb0c12e5e4206d74e72f4e)
2008-02-28Do not re-randomise in an individual test.Andrew Bartlett1-2/+0
smbtorture calls srandom() once for the whole suite, with command line override to allow reproduceable random tests. Andrew Bartlett (This used to be commit 68dcd1073cfed830fb6e2013e27d2ebbc443c451)
2008-02-27unixinfo.idl: don't use utf8string anymoreStefan Metzmacher1-2/+2
Note: This changes the on wire format!!! But it's a very bad idea to keep utf8string as it's not valid NDR encoding and noone would be able to write a compatible IDL file using another compiler than pidl. Maybe we should change the uuid, but as this isn't really used yet I keep the old one. metze (This used to be commit 5753d7fd8300d36558d3304418e1b0a300f56575)
2008-02-27Remove more global_loadparm uses.Jelmer Vernooij4-8/+16
(This used to be commit f920e78ea7bb8aa575e6a2ebb5cc53462fbe2fe9)
2008-02-27Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-testJelmer Vernooij4-10/+996
(This used to be commit 91980a2bd352f26cf6ddb058d0f330ca20fa6554)
2008-02-27Clarify comments.Jelmer Vernooij3-3/+3
(This used to be commit 5193b383761129e59241cd2cc6000f0b038b49d4)
2008-02-27Set lp_ctx properly.Jelmer Vernooij1-0/+1
(This used to be commit 5d274f19aedbb022d61b1493857dce66877dc809)
2008-02-27Set lp_ctx properly.Jelmer Vernooij1-0/+1
(This used to be commit 11289759cae6a8062ea3556dbcbddfd44a3c0331)
2008-02-27RAW-OPLOCK: be more strict with share modes against windows and samba4Stefan Metzmacher1-19/+32
But still allow samba3 behavior. metze (This used to be commit a0decdf63e2f7ef6ee62a3fda5070b2fccee5682)
2008-02-27selftest: samba4 doesn't pass RAW-OPLOCK BATCH19 und 20 yetStefan Metzmacher1-0/+2
metze (This used to be commit e3a9ad303f6f935aa2b5d60036f9e6dfba5cc893)
2008-02-27RAW-OPLOCK: use torture_result(TORTURE_FAIL) so that the knownfailures file workStefan Metzmacher1-2/+2
metze (This used to be commit 656011add338ab87188849c4a716d3c65a102a74)
2008-02-27RAW-OPLOCK: add BATCH20 test renaming via setpathinfo() and setfileinfo()Stefan Metzmacher1-0/+135
metze (This used to be commit b66c246c5db78db897bcf21a6ea3c777d65cfc6a)
2008-02-27RAW-OPLOCK: add BATCH19 test renaming via setpathinfoStefan Metzmacher1-0/+112
This is really strange as, it seems to complete ignore oplocks and share modes and doesn't match the behavior of RENAME and NTRENAME. metze (This used to be commit 7bac95db5edcc7432aea067e0a9ba9230c7dc1b0)
2008-02-27RAW-OPLOCK: add BATCH18 test a ntrename with FLAG_RENAMEStefan Metzmacher1-0/+75
metze (This used to be commit 22c35d9ee7858c0ff58d5d0b4a9bf69fe0b8653f)
2008-02-27RAW-OPLOCK: add BATCH17 test rename on a file with oplockStefan Metzmacher1-0/+75
metze (This used to be commit 32f138d4b313a6c5e8ef8e15945df02e3b4db864)
2008-02-27RAW-OPLOCK: add EXCLISIVE6 test a rename on a file with an oplockStefan Metzmacher1-0/+72
metze (This used to be commit 3886a5dea2fa26eeed8bc1d20c44ef012ea1f746)
2008-02-27RAW-OPLOCK: add EXCLUSIVE5 to test attribute only with OVERWRITE_IFStefan Metzmacher1-0/+72
metze (This used to be commit 06547036e6554dc94f683263b54d528eac227ea8)
2008-02-27RAW-OPLOCK: add BATCH16 and tests attribute only with OVERWRITE_IFStefan Metzmacher1-0/+79
metze (This used to be commit 2453628623795c34ece18a285e6c2de40c4518de)
2008-02-27pvfs_rename: we need a do a odb_rename() after pvfs_do_rename()Stefan Metzmacher1-0/+3
metze (This used to be commit f4f593a1acd4a39f7be639465f0be4b3a97a9bfc)
2008-02-27pvfs_rename: add retry logic after sharing violation or non granted oplockStefan Metzmacher1-2/+103
metze (This used to be commit 79e42a5dfbfd59b856bca16456295cd2c93ab0ca)
2008-02-27opendb_tdb: EXCLUSIVE oplock use the same matching logicStefan Metzmacher1-3/+21
metze (This used to be commit 48e703d5a6b8a7b273d0bf15fc6198ef25b0a7c4)
2008-02-27RAW-OPLOCK: add EXCLUSIVE4 a attribute only open doesn't break an exclusive ↵Stefan Metzmacher1-0/+65
oplock metze (This used to be commit b22587a5db4a1e2d5fa1a944896330f1a86eef11)
2008-02-27RAW-OPLOCK: add EXCLUSIVE3Stefan Metzmacher1-0/+69
This tests that a setpathinfo EOF breaks an exclusive oplock to none. metze (This used to be commit fd5b4b3d4ec52572619dba065d689d58bec71ae0)
2008-02-27RAW-OPLOCK: add EXCLUSIVE2Stefan Metzmacher1-0/+95
Exclusive oplocks break to LEVEL2 metze (This used to be commit 1cddadb052106394046f03d65297ea68232e7492)
2008-02-27RAW-OPLOCK: rename test (NORMAL => EXCLUSIVE1)Stefan Metzmacher1-4/+4
metze (This used to be commit 546536dde07d82dbba6724df95cdd1ba50caf8c5)
2008-02-27Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivialJelmer Vernooij42-401/+1505
(This used to be commit d96fcc52a70fd1236b767b1d88a39d78c4e8c48c)
2008-02-27Fix cases, add version number. (#4935)Matthias Dieter Wallnöfer1-15/+24
(This used to be commit d2eb404ba1711abf6bb2718f8bb1dbbd104e7d4d)
2008-02-27Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-gmake3Jelmer Vernooij15-14/+215
Conflicts: source/build/smb_build/makefile.pm (This used to be commit c45b97c4714dd0565949732394c9c1e8eedbb99a)
2008-02-27Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into ↵Jelmer Vernooij14-19/+213
v4-0-gmake-simple (This used to be commit a9fe1b785dd59acbfab4eb90256e7a0cb0f4da6e)
2008-02-27libreplace: standalone build: use -I$srcdir instead of -I.Michael Adam1-1/+1
Michael (This used to be commit ff311e613226e660998824b887cb9595ffbe0275)
2008-02-26samba4-knownfail: Only the "*-security" rpc-winreg tests are expected to fail.Andrew Kroeger1-1/+1
(This used to be commit 67facda6368eeda88d312f2836a1fdae4a1f605a)
2008-02-26torture/rpc-winreg: Split out the security descriptor tests.Andrew Kroeger1-56/+113
The security descriptor functionality has not been implemented yet. Now that the other tests run successfully, the security descriptor tests have been split out so they can be separately marked as knownfail. The tests that test security descriptor functionality are named "*-security", while those that don't are named "*-basic". (This used to be commit 7b7aec9a2f0a684bb27761df71af506cce244b2c)
2008-02-26torture/rpc-winreg: Modify test cases to work with recursive key deletion.Andrew Kroeger1-43/+0
(This used to be commit 3885acdee6fa3ec33cf4824826c2b8a98721382c)
2008-02-26torture/rpc-winreg: General fixes for a number of tests.Andrew Kroeger1-8/+16
Cleaned up issues with tests being run without the correct state being setup. Also corrected an issue with a test expecting the wrong return value to indicate a successful test run. (This used to be commit d015e595ca82f8fd3941753c00a2f3d816300be9)
2008-02-26registry: Add an explicit test for recursive deletion.Andrew Kroeger1-0/+37
(This used to be commit 5e905804993df4c2ac28090d056e6db6bb63ac44)
2008-02-26registry: Implement recursive deletes for regf-backed registry.Andrew Kroeger1-4/+49
When deleting a registry key that contains subkeys or values, Windows performs a recursive deletion that removes any subkeys or values. This update makes deletes for an regf-backed registry consistent with Windows. The regf-backed registry does not have transactional integrity when performing multiple operations. Therefore, if an error occurs during the recursive deletion, the regf-backed registry may be left in an inconsistent state. (This used to be commit b0321bad290d1a9399b4aba140a622e3af6d7575)
2008-02-26registry: Implement recursive deletes for dir-backed registry.Andrew Kroeger1-6/+54
When deleting a registry key that contains subkeys or values, Windows performs a recursive deletion that removes any subkeys or values. This update makes deletes for an dir-backed registry consistent with Windows. The dir-backed registry relies on the underlying filesystem, which does not generally have transactional integrity when performing multiple operations. Therefore, if an error occurs during the recursive deletion, the dir-backed registry may be left in an inconsistent state. (This used to be commit 6b5fbf7e4e38342bcd80e63f46cd295f89ab1ee9)
2008-02-26registry: Implement recursive deletes for ldb-backed registry.Andrew Kroeger1-27/+116
When deleting a registry key that contains subkeys or values, Windows performs a recursive deletion that removes any subkeys or values. This update makes deletes for an ldb-backed registry consistent with Windows. Under ldb, the deletion is done using an explicit transaction. If an error occurs during the deletion the entire transaction is cancelled, leaving the registry as it was before the deletions started. (This used to be commit ca796c8fb10598674a5eef31d15863e79bcf3db8)
2008-02-27libreplace: fix standalone build - add necessary libs.Michael Adam2-1/+6
The libs needed for getifaddrs replacements have to be added to LIBS and used for the testsuite target. Michael (This used to be commit e7c1d6513b945b205abe84b18a251d06e737e659)
2008-02-27libreplace: fix standalone build on some systems.Michael Adam1-0/+2
getifaddr tests include system/network.h, which does not find getaddrinfo.h without "-I.". Michael (This used to be commit cd95c702ed90128f659e27709c61d4c6abc969ef)
2008-02-26Fix module aliases.Jelmer Vernooij3-16/+18
(This used to be commit 584a69acc5ccc0e9be0cb2687578c62bfa1e797d)
2008-02-26Move public header accumulation out of the perl code.Jelmer Vernooij29-83/+116
(This used to be commit 89f7c74924965071981bbe7e05ff69847b0a3a03)
2008-02-26Fix pydoctor.Jelmer Vernooij2-5/+5
(This used to be commit 023025e4de119aa234f885aa6e5594660bd8f358)
2008-02-26libreplace: Add tests for connect and gethostbyname.Michael Adam5-0/+96
Provide dummy replacements when a function isnt found. The functions are also searched for in certain libraries, and variables SOCKET_LIBS and NSL_LIBS are set accordingly. One purpose of this is to fix the getifaddrs tests on systems where e.g. the socket calls require special libs for linking. Michael (This used to be commit 900d17acb95f1becfc46656a12c107336c027ef7)
2008-02-26pidl: Remove superfluous semicolon in perl code.Michael Adam2-2/+2
Michael (This used to be commit 85f707c6abc48739c0c3b423ac0b196d2b75e40c)
2008-02-26Support building .so versions of the modules.Jelmer Vernooij3-34/+50
(This used to be commit 673fb9c1855f9d61d4d311bcd5e3fea0210fe6ed)