summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r16869: - if we know the blob length, we can preallocated the memoryStefan Metzmacher1-2/+1
and avoid a realloc in smb2_push_* - don't overwrite the first data byte metze (This used to be commit 7761a2a595720e30f2a38448761ca77077908be7)
2007-10-10r16868: init some uninitialized valuesStefan Metzmacher1-0/+3
(found by valgrind) metze (This used to be commit 1bb60b5be48fab7d84594283f58d2bc04c474b0c)
2007-10-10r16860: Fix (and reactivate) the RPC-SAMR test. We need to allow these sidsAndrew Bartlett3-22/+66
to be created as foreign, even if they are in a local domain. Also we do need the user to exist for the life of the test, as we add it to a group. Andrew Bartlett (This used to be commit ae470ff7014e52b55d88e9fe12e2322e069daf9d)
2007-10-10r16858: The RPC-SAMR-PASSWORDS test now passes.Andrew Bartlett1-3/+3
Andrew Bartlett (This used to be commit 8b34bb268946a20c655b2aad90625ac666c7820a)
2007-10-10r16854: Fix the RPC-SAMR-PASSWORDS test. It failed because we allocated usersAndrew Bartlett1-1/+3
in the Builtin domain a SID from the global domain. Andrew Bartlett (This used to be commit 9d31b9f04721a2cac62f492f8db071aaa0aa966b)
2007-10-10r16852: I thought we passed RPC-SAMR-PASSWORDS, but we don't. Disable thatAndrew Bartlett1-3/+3
test for now. Andrew Bartlett (This used to be commit 9748c3a2f0801b3968640eed8874c0a2c7d83a5a)
2007-10-10r16851: Put a clue in as to which domain might have failed, due to the lengthAndrew Bartlett1-0/+4
of this test. Andrew Bartlett (This used to be commit b4d75f01d9cb2d1c9d5facfd5eb39c8a062886d4)
2007-10-10r16850: Disable NBT-WINSREPLICATION-OWNED until it always passes (currently ↵Andrew Bartlett1-3/+3
it still has intermittant failures). Andrew Bartlett (This used to be commit 845da45117402a1376909049755dbe6791479a41)
2007-10-10r16847: Add the parts of the SAMR test that pass back into 'make test'.Andrew Bartlett3-165/+243
I still need to figure out what causes the rest to fail... Andrew Bartlett (This used to be commit aa34bd46cb1446b9fb6fd8f1b8ffca5f81b3c052)
2007-10-10r16846: Try not to segfault if the domain SID isn't there, or the searchAndrew Bartlett1-6/+14
failed. Andrew Bartlett (This used to be commit 5d5d49374fcbe0a42108c5bb2f2f44abc05e9bb9)
2007-10-10r16843: Confirm that openX uses the same mapping table as getatr.Jeremy Allison1-1/+94
Jeremy. (This used to be commit 1c84e57e712b03f03035abe26fd8adb71aa16994)
2007-10-10r16842: Jeremy, I almost don't dare checking this in.....Volker Lendecke1-0/+44
Volker (This used to be commit ec36c49c08bdd222d5514611a39f3caf096dac7b)
2007-10-10r16838: Allow compilation by midl. Patch by andrzej.hajda@wp.plJelmer Vernooij1-9/+13
(This used to be commit 9e38cc9f3fddd3f0494209df225c35c9e1e3dd37)
2007-10-10r16835: Remove RPC-SAMR from the test, until I can clear up the unexplained ↵Andrew Bartlett1-3/+3
failure. Andrew Bartlett (This used to be commit 666ac7e36cf71faba6edbcd86e78cbcb2c2de1e7)
2007-10-10r16834: split the level's of smb_search_first/smb_search_next and the levelsStefan Metzmacher14-267/+435
of smb_search_data metze (This used to be commit 78c201db8a47a71908698c4dda2add4cf85694d9)
2007-10-10r16833: Add a base DN to more search calls, we need to look for an ID over theAndrew Bartlett1-5/+5
whole tree here. Andrew Bartlett (This used to be commit 7674306e673341513d26556a845a698a28dec92b)
2007-10-10r16832: I should be more careful (and test!) when trying to make compilers andAndrew Bartlett1-1/+3
static checkers happy... Andrew Bartlett (This used to be commit ae7ec0d553650b2a90fac8b7564b8f986e3e4288)
2007-10-10r16831: Use a valid memory context (found by the IBM checker).Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 9fdbedafad69e55ef4ccad51c4f002c49e43f372)
2007-10-10r16830: Fix IBM checker and GCC warnings.Andrew Bartlett1-3/+3
Andrew Bartlett (This used to be commit 5ef924bc739a51a8f83d7b4566f9ba85296c585a)
2007-10-10r16829: Fix a number of issues raised by the IBM checker, or gcc warnings.Andrew Bartlett3-11/+15
In particular, this removes one use of the LDB_DN_NULL_FAILED macro, which was being used on more than DNs, had an embedded goto, and confused the IBM checker. In the password_hash code, ensure that sambaAttr is not, before checking the number of values. In GENSEC, note that this switch value can't occour. This seems to be the only way to quiet both the IBM checker and gcc, as well as cope with possibly invalid inputs. Andrew Bartlet (This used to be commit 3e58350ec2ab883795b1dd03ac46a3520cac67d0)
2007-10-10r16828: Add RPC-LSA as a test that passes, and remove RAW-ACLs until someoneAndrew Bartlett3-6/+6
can fix it. Andrew Bartlett (This used to be commit 840b5f0a7f33db17fb324f978b3faff95ba280c1)
2007-10-10r16827: Factor out some code into common samdb functions:Andrew Bartlett5-280/+365
- creation of ForeignSecurityPrincipals - template duplication code Rework much of the LSA server to pass the RPC-LSA test. Much of the server code was untested. In implementing the LSA Accounts feature, I have opted to have it only create entires when privilages are applied, and not to delete entries, but to delete the privilages. We skip some parts of the test, but it is much better than not testing it at all. Andrew Bartlett (This used to be commit 10eeea6da465564ed9f785d06e2d2ed06cfe29a4)
2007-10-10r16826: Ensure we don't segfault if the remote server fails to set a passwordAndrew Bartlett1-5/+34
in RPC-SAMR test. Andrew Bartlett (This used to be commit 08ec74d620ffe613655f28d002e60ca8201fadd9)
2007-10-10r16825: Make ldb_sainity_check() set an error string. This makes it muchAndrew Bartlett4-13/+26
easier to chase down what modules or application code gets wrong. Ensure not to leave memory allocated on failure in ldb_search() Andrew Bartlett (This used to be commit 0828739951ed879640f8ed6e4700d8ca6b8221b8)
2007-10-10r16824: Rename Ethereal -> Wireshark (patch from Joerg Mayer)Jelmer Vernooij6-39/+39
(This used to be commit a789aa468b2b2b631289dd65888b352de46ad900)
2007-10-10r16815: split out search levels which are also used by smb2Stefan Metzmacher2-127/+148
metze (This used to be commit 3b8ecc19fac6f9d52adae86767ca153ab719d00d)
2007-10-10r16801: Adding WERR_DS_DRA_ACCESS_DENIED.Günther Deschner2-0/+2
Guenther (This used to be commit 075242b97614202ee265577c9e5dd499e56bd768)
2007-10-10r16796: Fill in dsr_GetMemberships() / dsr_GetMemberships2().Günther Deschner2-11/+80
This intersting call is apparently used to construct the user token, collect memberships from other DSAs and to retrieve (nested) memberships of a given group. Torture test to follow (once I cleaned it up). Guenther (This used to be commit ca5e133e8c6fca188fcaa834cdcd4cb2cd801d79)
2007-10-10r16795: Fix crash found by Dave Fenwick <djf@samba.org>.Andrew Bartlett1-0/+2
The session_info was not being attached to the connection, so subsequent checks in the kludge_acl module were looking at free()ed memory. Andrew Bartlett (This used to be commit 7e9079ac7af0bcd5d22040c7418cf58f86a72a1d)
2007-10-10r16794: Make Samba4 pass it's own RPC-SAMR test, at least in part. There areAndrew Bartlett4-165/+774
still a couple of unimplemented functions, but this is far better than not testing this at all. In particular, this exercises the password_hash module. Specific changes: - Add support for SetDomainInfo - Add many more info levels to QueryDomainInfo - Set a domain comment in RPC-SAMR, and verify it is kept - Refactor QueryUserInfo not to always serach for all attributes - Add QueryDiplayInfo3 and QueryDomainInfo2 as aliased calls - Make OemChangePassword2 search under the samdb_base_dn(), so it finds the user when partitions are active. - Skip SetSecurity, DisplayIndex, MemberAttributesOfGroup and 'Multiple' alias operations in RPC-SAMR for Samba4 - Add RPC-SAMR as a 'slow' RPC test (it is quite slow) Andrew Bartlett (This used to be commit 01d25c9d6ca8d036d40040e5ee87a330e5b84d55)
2007-10-10r16791: Typo fix in a comment.Rafal Szczesniak1-1/+1
rafal (This used to be commit 48a9f822442c8b115fd61d9c6781d8100df2bf9e)
2007-10-10r16784: - make some function in ldb static, they not need to be exported ↵Simo Sorce2-7/+7
anywhere - fix a bad segfault Andrew please make test before committing. Simo. (This used to be commit b9b6bb3e89d3b0e04ccce15156c1a128b6f20d88)
2007-10-10r16776: fix typoStefan Metzmacher1-1/+1
metze (This used to be commit 249bf24a40f78aab181a4cce8c42902859e43238)
2007-10-10r16774: This patch modifies the tdb API to allow the logging function to be usedAndrew Bartlett15-129/+198
as part of ldb. This allows tdb failures to be passed all the way up to Samba's DEBUG system, which allowed easier debugging. Unfortunately I had to extend the tdb API, as the logging function didn't have a context pointer. I've worked over the 'debug levels' in TDB. Most of them were 0, which didn't seem right, as some were trace-like messages. We didn't see any of these previously, except when accessing TDB directly. Andrew Bartlett (This used to be commit 58898092c1ce043f6d698db5065f372b79109e22)
2007-10-10r16773: Fix one more RPC-SAMR test (an alias level), and make it clear thatAndrew Bartlett2-13/+19
the unknown value in the samr_GroupInfo structures are the group attributes. Andrew Bartlett (This used to be commit c50095efabb62fbed2e4df7e883df1054e4d92c9)
2007-10-10r16772: Clarify comment.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit fee07161438e624aa343f31f0c1d5379ead95c06)
2007-10-10r16771: Add const and some better debug messages.Andrew Bartlett1-7/+13
Andrew Bartlett (This used to be commit 87cac3529ca4f114a93adb5b307766e681c49a1d)
2007-10-10r16770: Get closer to having Samba4 pass some of the RPC-SAMR test, byAndrew Bartlett1-1/+18
skipping some checks. These should be removed, and the code fixed, but currently we are loosing quality because the test isn't run by default. Andrew Bartlett (This used to be commit 1306f60c97562a71ae15f0ab257ddcd5e0af36d4)
2007-10-10r16769: Working on fixing the RPC-SAMR test against Samba4. This fixesAndrew Bartlett1-66/+106
password changes which only include the LM and NT hash, such as the original ChangePassword. It also fixes setting passwords on the BUILTIN domain. Finally, the msDS-KeyVersionNumber is only incremented if not explicity set by the modify. Andrew Bartlett (This used to be commit e957f6f4c61c121f79ad518822691e4fd4bf4341)
2007-10-10r16768: Add a simple script to set a user's password. This should grow into aAndrew Bartlett1-0/+122
real smbpasswd command some day. Andrew Bartlett (This used to be commit 8d0582796608b757fde776e69ea5d70b2b13eb36)
2007-10-10r16761: Added additional NTSTATUS and DOS error test for "."Jeremy Allison2-0/+6
This confirms a theory of mine... Added RAW-SAMBA3BADPATH to selectable options. Jeremy. (This used to be commit 4cd7a8ed621d6215202d4b60d183a013a221581b)
2007-10-10r16759: Jeremy, another little error case for you :-)Volker Lendecke1-0/+135
For the paths with illegal characters we should return ERRDOS:ERRbadpath in the DOS error case. We return ERRDOS:ERRinvalidname... Volker (This used to be commit c2203068f46064d067bf43fe50f330ce49dfc08a)
2007-10-10r16756: Some machines on the build farms sporadically fail the testVolker Lendecke1-0/+4
/* Test 21 -- Test removal of file after socket close. */ I think it might be because they are too slow to delete the file. Jeremy, can you check this test does not change semantics in a way you don't want it? Volker (This used to be commit 92aa95f8206364a832bd6ad8cebc030bc001d940)
2007-10-10r16741: add a RPC-LSA-GETUSER test,Stefan Metzmacher2-9/+32
which is very useful for analysing a windows machine remotely with this I found that vista-beta2 doesn't have an 'administrator' account and mapps any not known user to MACHINENAME\Guest metze (This used to be commit 97ae93627527f65b6ecded9884a26d4cffa1409d)
2007-10-10r16740: just say the directory is emptyStefan Metzmacher1-1/+1
metze (This used to be commit 6326bb901fa2daa358f865f77c110096a1764126)
2007-10-10r16739: test SMB2-GETINFO SMB2-SETINFO by make testStefan Metzmacher2-1/+4
metze (This used to be commit 0ebb25de5680cb783d1d79e580aab3f1f03871bc)
2007-10-10r16738: vista beta2 use FILE_CLOSED as error for an invalid file handleStefan Metzmacher3-3/+3
metze (This used to be commit fa35ddcaf9bbeaa4780aa3497cdff56b02af0ab9)
2007-10-10r16737: if an error happens report itStefan Metzmacher2-2/+16
metze (This used to be commit 52ce898cf9f11293005683844b8ea428a5d66f8e)
2007-10-10r16736: - convert unix times to nttime before sending it to the wire...Stefan Metzmacher1-15/+25
- return an error code if an error happens metze (This used to be commit 9b52322e90003302ec99e2808c80c6c733a84358)
2007-10-10r16735: vista beta2 reuses the tcp connect where it does theStefan Metzmacher1-15/+1
SMB negprot metze (This used to be commit 3b2936a4313abedfe2029330a8f8149372050a2a)