summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
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-25Update homepages for talloc, tdb and ldb subprojectsSimo Sorce3-34/+24
(This used to be commit 8cb07814bc6627fc8eba228eafd13336e3ca3758)
2008-02-25opendb: add odb_update_oplock() callStefan Metzmacher4-3/+66
metze (This used to be commit df576d69c6981a4879a0e9447069fcfacb3588db)
2008-02-25opendb: send also the oplock break level on MSG_NTVFS_OPLOCK_BREAKStefan Metzmacher2-5/+27
metze (This used to be commit 49402007f6e9e02a29792344c088e40d1a9b7acf)
2008-02-25opendb: add odb_get_key() function to get the key back from a struct odb_lockStefan Metzmacher4-0/+23
metze (This used to be commit 11f35a2a4d383b506ced35ba06120f9531bac70c)
2008-02-25pvfs_unlink: move stream logic into pvfs_unlink_one()Stefan Metzmacher1-34/+8
metze (This used to be commit 438032e12f3040fbb58488ca537e4d8da39b6124)
2008-02-25pvfs_unlink: splitup the logic into generic and file specific functionsStefan Metzmacher1-17/+28
metze (This used to be commit 7572afdc2635bdf9afbe1eda3c7498d0b5201db3)
2008-02-25pvfs_unlink: add a fast path for the non wildcard caseStefan Metzmacher1-0/+4
metze (This used to be commit 83e6c99f78990b6b1df520bdee14b9f931ad0420)
2008-02-25pvfs_unlink: move !name->stream_exists into the callerStefan Metzmacher1-4/+4
metze (This used to be commit e01554e1617dc3c08a4ed6b4e016fd627f529ef9)
2008-02-25pvfs_unlink: pass down union smb_unlink completely to sub functionsStefan Metzmacher1-8/+10
metze (This used to be commit 8301189e94be850494482e8c064b2400a5d11157)
2008-02-25pvfs_unlink: pass down a struct pvfs_filename to pvfs_unlink_one()Stefan Metzmacher1-16/+14
metze (This used to be commit 43ec7fa2d898ce306557ea9092b6412bcc2f97ec)
2008-02-25pvfs_open: unify talloc behavior in pvfs_can_delete/rename/stat()Stefan Metzmacher1-4/+12
And also handle NULL for lckp in the error path without crashing. metze (This used to be commit 04eb1be0c67317067ee0ca70c731fef958cd513c)
2008-02-25pvfs: handle SHARING_VIOLATION and OPLOCK_NOT_GRANTED in ↵Stefan Metzmacher1-2/+26
pvfs_can_delete/rename() If the caller asks for the odb_lock return it also if we return NT_STATUS_SHARING_VIOLATION or NT_STATUS_OPLOCK_NOT_GRANTED so that the caller can add the pending notification. metze (This used to be commit daab9cb11eb540fae7ec3c024a586f5fd02cfc71)
2008-02-25pvfs: pass NULL to pvfs_can_*() when no odb_lock is needed by the callerStefan Metzmacher3-12/+9
metze (This used to be commit e585e2306334bd919f567f53d8d08903dfdfb102)
2008-02-25pvfs_wait: use struct pvfs_wait * instead of void *Stefan Metzmacher5-11/+15
metze (This used to be commit 3b70331536d2402814db13a9f1f226a39373313a)
2008-02-25pvfs_wait: 'private' -> 'private_data' and use talloc_get_type()Stefan Metzmacher1-11/+16
metze (This used to be commit 16a7d0cc37614fc41245fdcdf3b5a4a4a421f31d)
2008-02-25RAW-OPLOCK: remove unused varStefan Metzmacher1-2/+1
(This used to be commit 6820da44828172769d9fdfa161acf762e3937a88)
2008-02-25RAW-OPLOCK: fix typo (send oplock releases on the correct connection)Stefan Metzmacher1-1/+1
metze (This used to be commit f6ecf59c7555917374fc9e5430034815fd4cd245)
2008-02-25selftest: we pass the BASE-DEFER_OPEN testStefan Metzmacher2-4/+3
We just need to pass the same sharedelay time to smbtorture as we use for smbd. metze (This used to be commit 3b78dc7ab2f8e3faffa2eb3ae2462c133e368be3)
2008-02-25BASE-DEFER_OPEN: add torture:sharedelays option to run this test fasterStefan Metzmacher1-5/+13
metze (This used to be commit 877cc375d0523cb31324a5d611e73d666e7a9a78)
2008-02-23Respect the return value of asprintfVolker Lendecke1-2/+1
This removes tons of warnings warning: ignoring return value of 'fwrite', declared with attribute warn_unused_result for me. Lots of that kind left though :-) (This used to be commit ba29219ea243cc217ab3522b036a82ff8dfeedc8)
2008-02-22libreplace: don't use socketwrapper for getifaddrs() implementations.Michael Adam1-0/+2
Michael (cherry picked from commit 85eec1d1d6b674294c50eb912fbe7d5a1dd42909) (This used to be commit a83db886e50b6ceeb71d93bf86fb5e0964b8d45f)
2008-02-22Happy New Year 2008! :-)Stefan Metzmacher1-1/+1
metze (This used to be commit a601ecff4e8cbf71de9f140ee2faa0b75d695559)
2008-02-22libreplace: Fix comment originating from old samba source.Michael Adam1-1/+1
Michael (This used to be commit 0440bcfe6359ca4842f473b1ca799cad9f1c6c96)
2008-02-22libreplace: fix creation of conftest files for getifaddrs tests.Michael Adam1-4/+11
Add missing includes of replace.c and defines of SOCKET_WRAPPER_NOT_REPLACE. Michael (cherry picked from commit 26e6ebc7090b5742deb67805d85d809cafb4543d) (This used to be commit e00c6513e05afe91d4c419287283b34e931a161c)
2008-02-22Fix linked list of ifaddrs in implementations of rep_getifaddrs.Michael Adam1-3/+3
Produce proper list instead of one-node-loop. Michael (cherry picked from commit ec9f4f5066ba7a8bf3af931fd4969590140c0b2b) (This used to be commit 744d5ba7adab65a9774a18eb42b7090f49e423f2)
2008-02-22Add missing initalizations of lastif in rep_getifaddr implementations.Michael Adam1-3/+6
Michael (cherry picked from commit 65710e752f72070cb911867ff9f31f91904ca5c0) (This used to be commit 5bd613a2cda5d287706f2ce72f4ee08a7fa45b72)
2008-02-21libreplace: fix compile errors in getifaddrs.cMichael Adam1-6/+3
Michael (cherry picked from commit 22cdd4cb507022d9c670b7d5cbc8d357b0b91637) (This used to be commit 4da2d999a28c8fd3e93480194a153cf6a10de986)
2008-02-21Try and fix getifaddrs check on irix: dont't try to include config.hMichael Adam1-0/+3
The missing header file is judged "catastrophic" on irix. Michael (cherry picked from commit 5778c90819a5a5cee38be690f442c571f3a6a051) (This used to be commit 0d4522a06d4465f6eadbdf14381c9e08cf7e1dc9)
2008-02-21Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivialJelmer Vernooij18-23/+1214
(This used to be commit 52a8d06f00ab3900e2186e047902dbcbe3138a01)
2008-02-21Remove extra whitespace, use public variable in IDL.Jelmer Vernooij2-2/+2
(This used to be commit bf08b682586f6b9a17d4ec3934836be957ef955c)
2008-02-21Remove more uses of global_loadparm.Jelmer Vernooij8-25/+40
(This used to be commit 3430cc60972b94d0d238bc39f473feed96949c5d)
2008-02-21selftest: fix --socket-wrapper-pcapStefan Metzmacher1-1/+1
metze (This used to be commit f5ff4a571cdf7d00d065f4a4996880020f1f459f)
2008-02-21ldb_sqlite: fix the buildStefan Metzmacher2-2/+1
metze (This used to be commit 14c8e3101cc3b0138a551afdf3a94f4bb11bb21d)
2008-02-21Remove more uses of global_loadparm.Jelmer Vernooij12-12/+17
(This used to be commit a1715b1f48ba44bd94844418cc9299649aaf1a5e)
2008-02-21Remove more uses of global_loadparm.Jelmer Vernooij4-19/+31
(This used to be commit 58a5b1de2b093fe642eb11d76d12db0edf60c25c)
2008-02-21Remove more uses of global_loadparm.Jelmer Vernooij7-24/+27
(This used to be commit 230355d2e6e27918dff40823eb238904c7a1870e)
2008-02-21Remove more uses of global_loadparm.Jelmer Vernooij12-23/+33
(This used to be commit 47d05ecf6fef66c90994f666b8c63e2e7b5a6cd8)
2008-02-21Avoid use of global_loadparm.Jelmer Vernooij9-33/+70
(This used to be commit c5a95bbe0ce55c29e135a9c6058bf192ec3bb546)
2008-02-21srvsvc.idl: don't use STR_LEN4 anymoreStefan Metzmacher1-1/+10
metze (This used to be commit 8c7509bd684ccdabcdb9ad9f75f3dd693ee9c416)
2008-02-21samr.idl: windows uses lsa_AsciiStringLarge in QueryDisplayInfoStefan Metzmacher1-1/+1
Tested with nt4 and w2k3. metze (This used to be commit 24ec069751ef8db1211c50e7ca1e527adaa6432c)
2008-02-21idmap: Handle SID->gidKai Blin2-5/+263
(This used to be commit 78d22a28eca4dd89f629dbe75287e9ac3940606b)
2008-02-21idmap: Handle SID->uidKai Blin2-8/+264
(This used to be commit 4037ca6b9cf14219b4a4475399a51db01c655da6)
2008-02-21idmap: Handle gid->SID mappingKai Blin2-7/+163
(This used to be commit 6f2d95030cd7b4b22d1b75d15b76881449eda697)