summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
2008-02-29Simplify the 'password must change' logicAndrew Bartlett2-27/+23
This takes the previous patches further, so we catch all the cases (the KDC looked at the time directly). Andrew Bartlett (This used to be commit cda4642a937d249399e25eaa6e5e20a0d440bcbf)
2008-02-28Ensure we don't try and set the acct_flags if they are 0 (meaningAndrew Bartlett2-1/+9
unchanged in this interface). We seem to have two very similar interfaces here, and this is the poorer interface, for this reason. Andrew Bartlett (This used to be commit 582073eff1f21f81abb3e5f1ce2eca4ebef56a00)
2008-02-28Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-localAndrew Bartlett38-266/+2215
(This used to be commit ba864cfd7ce4b69179431131cac9661cbf48bf32)
2008-02-28Fix up the libnet tests.Andrew Bartlett2-4/+13
These tests still do not pass against windows, but at least now it doesn't reset acct_flags to 0. This is enough to have Samba4 pass it's own tests for the moment. Andrew Bartlett (This used to be commit aa3901311eb7ce6f2d2b2413323e31a5b064cfc4)
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-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-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-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 ↵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-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-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-26RAW-OPLOCK: BATCH15: make sure a qpathinfo doesn't break batch oplocksStefan Metzmacher1-0/+74
metze (This used to be commit 4d17d44d3f418216a40c80f290f97a4dc29147b0)
2008-02-26Rely on GNU make to build static libraries.Jelmer Vernooij2-10/+8
Conflicts: source/build/smb_build/makefile.pm (This used to be commit f34a17a92bcc9a27b629a6ec9ed9a818bd13acc0)
2008-02-26opendb_tdb: with break_to_none attribute only opens also break oplocksStefan Metzmacher1-2/+9
metze (This used to be commit c475353e34154eb13e35cc8b6cf553e3986f8677)
2008-02-26pvfs_open: pass down an access mask to pvfs_can_update_file_size()Stefan Metzmacher1-3/+13
You just need SEC_FILE_WRITE_ATTRIBUTE to change the filesize... metze (This used to be commit 27e39063a0b759c7bced1cc9d7a6cb9192820c70)
2008-02-26pvfs_qfileinfo: down discard the return value of pvfs_can_stat()Stefan Metzmacher1-1/+1
The odb_can_open() code returns DELETE_PENDING if a delete is really pending. metze (This used to be commit 066ba3c7cfff12cb0b5298fc45eabb5fc097d056)
2008-02-26pvfs_open: pass down an access mask in pvfs_can_stat()Stefan Metzmacher1-1/+1
metze (This used to be commit 6c34c7bc6801e470e5ec50aa93d0a07f7ad59314)
2008-02-26pvfs_open: pass NTCREATEX_DISP_OPEN to odb_can_open()Stefan Metzmacher1-4/+4
As 0 is NTCREATEX_DISP_SUPERSEDE and that's not what we want here. metze (This used to be commit 10c42e3d4ab71a71dfe620b40841dfe98f458c1a)
2008-02-26Fix build on VOS: socklen_t is needed for rep_inet_ntop: move it up.Michael Adam1-5/+5
Michael (This used to be commit 8a26a6e8f11aca5119b15e304213548ad608dc5b)
2008-02-26BASE-DEFER_OPEN: be less strict with to late responsesStefan Metzmacher1-1/+1
The server might be just busy. metze (This used to be commit 16c60cd347a42a2d98753585cbefddc948e2860f)
2008-02-26selftest: Samba4 passes all oplocks tests nowStefan Metzmacher3-5/+6
The support for oplocks is not completely finished I believe we will not pass some non existing test. But it's a good start. metze (This used to be commit 278eea57fa9f59908672c935187f942e7780f0aa)
2008-02-26pvfs_setpathinfo: retry setpathinfo after oplock not granted on on ↵Stefan Metzmacher1-0/+107
setpathinfo ALLOCATION_INFO and END_OF_FILE_INFO metze (This used to be commit 4e27ac8c529d5a1675fb02215191a2be7913ec97)
2008-02-26pvfs_open: add pvfs_can_update_file_size()Stefan Metzmacher1-0/+62
TODO: this is not complete, we need more tests to trigger this metze (This used to be commit 66ad1081f2be8a0caa16fb0d614b857a5bde751c)