summaryrefslogtreecommitdiff
path: root/source4
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r16734: the 2 bytes after the opcode and before the flags,Stefan Metzmacher5-26/+27
is no padding... the following patch is needed for vista beta2 to connect to samba4 metze (This used to be commit 58baae8fc463cd2c4e4ce532c153ad80313b03eb)
2007-10-10r16733: implement SMB2 SetInfoStefan Metzmacher1-1/+16
metze (This used to be commit 9b6f74778f8db2fa18bb56dcbc6bd8168a882ac9)
2007-10-10r16732: use the given macrosStefan Metzmacher1-30/+5
metze (This used to be commit 6d5c74c38ca4d4a605b619cd7cbbd7e1dccd6b0c)
2007-10-10r16731: send a better error code, required for vista-beta2 clientStefan Metzmacher1-1/+1
metze (This used to be commit a251e722063486448005a95d0b44201b5f3a7620)
2007-10-10r16730: that is correct...Stefan Metzmacher1-2/+1
metze (This used to be commit 9c3992a27948f01803650c446914aa24be2a8d7a)
2007-10-10r16725: don't ignore errorsStefan Metzmacher1-3/+15
metze (This used to be commit 42282301961a13055869445eb9d00492bdbbb61b)
2007-10-10r16724: fix typo...Stefan Metzmacher1-2/+2
metze (This used to be commit 9b036d788ceb4eeae28531db8aa5e297c775f35a)
2007-10-10r16716: patch from Bjoern Jacke to fix compiler warnings on AIXStefan Metzmacher1-0/+44
metze (This used to be commit 3e5de223f715343b6421d580dc1b3f9d67c980da)
2007-10-10r16708: the packet format of SMB2 SessionSetup has changed,Stefan Metzmacher3-48/+24
there're 8 more unknown bytes... Note: - vista-CTP also support this as a server, but uses the old format as client - but vista-beta2 only uses and accept the new format metze (This used to be commit b3bdd4afdefc9ad3550f86a0aa6e6c90bf8ab416)
2007-10-10r16707: - test attrib = 0 in BASIC_INFOStefan Metzmacher1-5/+9
- return an error when value doesn't match the expected value! metze (This used to be commit 1f0ecba77344af4dcec71143de0b14ee2565d422)
2007-10-10r16706: for RAW_SFILEINFO_SETATTR attrib == 0 means set it to FILE_ATTRIB_NORMALStefan Metzmacher1-1/+3
and attrib == FILE_ATTRIB_NORMAL means no change... but for RAW_SFILEINFO_BASIC_INFORMATION attrib == 0 means no change metze (This used to be commit e1945feda09a56b6f55bd0f7ab591f3bd069be67)
2007-10-10r16705: fix a bug found by valgrind...Stefan Metzmacher4-12/+33
as we setup the 1 padding byte for non present dynamic part, we need to overwrite it when we're getting a real dynamic part, so we need to remove the buf->size +=1 when we do the first push to the dynamic part (when buf->dynamic is still but->body + buf->body_fixed) metze (This used to be commit f309209629ad1b63a76fc06163a3eeb07dce4c86)
2007-10-10r16699: the layout of SMB2 Read and Write is identical...Stefan Metzmacher5-10/+3
so we know that the 9th bytes is just uninitialized padding metze (This used to be commit f97a21b970ed23973cced2c67b5bc9ecd7afee88)
2007-10-10r16694: Store lsa rpc pipe pointer in a right place.Rafal Szczesniak1-7/+12
rafal (This used to be commit fa6b52dbf7321d1a7f0fdea32ab2605951c2b35a)
2007-10-10r16693: Name type should be passed further down the lookup engine insteadRafal Szczesniak1-7/+5
of assuming only PDC name type. Also, fix the comment. rafal (This used to be commit 436c8a721114815af8eb8c96ebdfe32c1875faaa)
2007-10-10r16692: More comments and further code in set_user_changes routine.Rafal Szczesniak1-17/+77
rafal (This used to be commit c58fa8676c93b49bcce2e86b957690fc6558280c)
2007-10-10r16691: we should only look at rdata.data.length when we're in ndr_push modeStefan Metzmacher1-1/+3
metze (This used to be commit 630d3d11a4d998c0006cb652c47837867ecb2824)
2007-10-10r16690: - fix bug 3896Stefan Metzmacher1-1/+11
- we didn't pushed the wins wack reply correctly to the wire, as NBT_QTYPE_NETBIOS is used and setting rdata.data.data was useless... metze (This used to be commit d3556e18892c0540e92f560f9d6b1b5587e41a62)
2007-10-10r16672: we don't need this twice:-)Stefan Metzmacher1-5/+1
metze (This used to be commit e8e9fe666e4fb6f47e7fcaeb5ef9068db25e18b7)
2007-10-10r16671: allow usage of smbsrv_pull_passthru_sfileinfo() without,Stefan Metzmacher1-0/+7
a smbsrv_request given... the RENAME level is not supported in this mode, but that will be fixed later metze (This used to be commit 058c6397a4018975f62e8277b905a2566c3b2fe0)
2007-10-10r16670: try to match the vista error codes a bit moreStefan Metzmacher1-4/+24
metze (This used to be commit 1a4978118d27e978c04997869a307b793582917b)
2007-10-10r16669: this calls don't expect any valid error codes than NT_STATUS_OKStefan Metzmacher6-6/+6
metze (This used to be commit 429215113bd999466141df0a2e3b3097d677df1f)
2007-10-10r16668: test setting of security descriptors vis smb2 setinfoStefan Metzmacher1-2/+64
metze (This used to be commit 377562e891ccb6ff9104bbefca71a8e2c18a34de)
2007-10-10r16667: - use ndr_pull_struct_blob() to make the RAW_FILEINFO_SEC_DESC pull codeStefan Metzmacher2-13/+22
simpler - use ndr_push_struct_blob() for RAW_SFILEINFO_SEC_DESC metze (This used to be commit 79e51f033e680303431e56e818346b66a836d044)
2007-10-10r16666: implement setting of security_descriptors via SMB2 SetInfoStefan Metzmacher1-5/+43
metze (This used to be commit 6908582f68478d5f702159f6b01934ffff3a95f0)
2007-10-10r16657: Test Jerry's iTunes bug, along with some more error conditionsVolker Lendecke6-46/+223
Volker (This used to be commit 12aa900eb2ffde3711a30c7e063bfba95128e91d)
2007-10-10r16621: split out passthru levels of setfileinfoStefan Metzmacher2-55/+102
metze (This used to be commit 6cd64cb78f23c88029b8b5ef712b3f8a26e8528f)
2007-10-10r16573: Fixes in comments.Rafal Szczesniak1-4/+4
rafal (This used to be commit 1258e6cad890ade8a65d8d43d55a95d61e6a6968)
2007-10-10r16572: More comments and simple refactoring of one condition.Rafal Szczesniak1-6/+52
rafal (This used to be commit 24006a36014eaa7457cf3db4cf0b084e1f9aa4d8)