1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00
Commit Graph

770 Commits

Author SHA1 Message Date
Andrew Tridgell
6566dc2805 r4461: finished the remaining information levels in the DSSETUP pipe. The pipe is now complete!
The only glitch is that I am returning DS_ROLE_MEMBER_SERVER when I
should be returning DS_ROLE_PRIMARY_DC. This is needed for the moment
or ACL editing doesn't work from w2k3. Once we have some more ADS
calls we should be able to fix this.
2007-10-10 13:07:53 -05:00
Andrew Bartlett
9923c3bc1b r4459: GENSEC refinements:
In developing a GSSAPI plugin for GENSEC, it became clear that the API
needed to change:
 - GSSAPI exposes only a wrap() and unwrap() interface, and determines
   the location of the signature itself.
 - The 'have feature' API did not correctly function in the recursive
   SPNEGO environment.

As such, NTLMSSP has been updated to support these methods.

The LDAP client and server have been updated to use the new wrap() and
unwrap() methods, and now pass the LDAP-* tests in our smbtorture.
(Unfortunely I still get valgrind warnings, in the code that was
previously unreachable).

Andrew Bartlett
2007-10-10 13:07:53 -05:00
Jelmer Vernooij
dbcaff7c71 r4457: Fix IDL + add torture test for InqObject 2007-10-10 13:07:52 -05:00
Andrew Tridgell
7aec3dac6f r4451: added initial RPC-DSSETUP torture test. It works for level1 of
ds_RolerGetPrimaryDomainInformation()
2007-10-10 13:07:52 -05:00
Andrew Tridgell
382231ca36 r4445: put the unlink test in a subdirectory, and ensure it cleans up 2007-10-10 13:07:51 -05:00
Andrew Tridgell
d37f556258 r4443: test lsa_LookupNames3() even when lsa_LookupSids3() fails 2007-10-10 13:07:50 -05:00
Andrew Tridgell
c759fa0000 r4437: added IDL and test code for lsa_LookupSids3() and lsa_LookupNames3().
For some reason I am getting ACCESS_DENIED from w2k3 on
lsa_LookupSids3(). I will investigate.
2007-10-10 13:07:50 -05:00
Stefan Metzmacher
96000a2261 r4434: - fix some NetShare* idl functions
- add torture test for NetShareCheck()

metze
2007-10-10 13:07:49 -05:00
Andrew Tridgell
a44fa5319d r4430: - fixed the BASE-LOCK* tests to use a subdirectory, and properly setup the directory before each test,
thus avoiding errors due to previous failures
2007-10-10 13:07:48 -05:00
Stefan Metzmacher
19482a2245 r4422: make lp_set_cmdline("torture:dangerous", "Yes") a bool parameter
metze
2007-10-10 13:07:47 -05:00
Andrew Tridgell
b239589b00 r4407: stricter checking of parameters on hard link creation in the RAW-RENAME test 2007-10-10 13:07:44 -05:00
Andrew Tridgell
09ac133820 r4402: use __location__ instead of __LINE__ in the RAW-RENAME test 2007-10-10 13:07:43 -05:00
Andrew Tridgell
1bb7691963 r4401: stricter test for correct ACL inheritance in RAW-ACLS 2007-10-10 13:07:43 -05:00
Volker Lendecke
b0b9332519 r4392: Fix samr_GetAliasMembership idl 2007-10-10 13:07:42 -05:00
Andrew Tridgell
e30b8d5783 r4389: added checking for the default inherited ACL, which is used when no ACEs
are inheritable
2007-10-10 13:07:41 -05:00
Andrew Tridgell
fdb38c8e4b r4388: - allow ACE flags to be specified in security_descriptor_create()
- added a test for all combinations of the inheritance ACE flags and how
  they are propogated to child directories and files
2007-10-10 13:07:41 -05:00
Volker Lendecke
d70e237190 r4375: Implement samr_OpenAlias, samr_QueryAliasInfo and samr_SetAliasInfo. Fix IDL
for samr_SetAliasInfo.

Volker
2007-10-10 13:07:39 -05:00
Andrew Tridgell
b3b8958a18 r4364: - added support for testing of chained SMB operations in smbtorture
- added test for chained OpenX/ReadX, simulating the OS/2 workplace shell

- fixed a bug in handling chained fnum in openx and ntcreatex in the server

(yes, I'm on holiday, but this bug was annoying me ....)
2007-10-10 13:07:38 -05:00
Stefan Metzmacher
f8ea82cbd1 r4322: use a nicer name
metze
2007-10-10 13:07:34 -05:00
Andrew Tridgell
10861b3fa0 r4317: check the count of replies in the os2 ea_list torture test 2007-10-10 13:07:33 -05:00
Andrew Tridgell
f78506697a r4310: fixed the authority_name field in lsa_GetUserName() 2007-10-10 13:07:33 -05:00
Stefan Metzmacher
67e765b7e9 r4309: idl and torture test for lsa_GetUserName()
why does samba3 return domain_name as in the unknown_name field in the code
and on the wire it returns DCERPC_FAULT_OP_RNG_ERROR?

all of my test machines NT4,W2K,W2K3,XP returned NULL

and if I file the string in the .in.* the server echos the strings back
and returns NT_STATUS_INVALID_PARAMETER

metze
2007-10-10 13:07:33 -05:00
Stefan Metzmacher
a46c68a800 r4308: [out,ref] pointer needs to set (don't corrupt the stack and segfault)
metze

PS: <tridge> "silly tridge forgot a out [ref] var" :-)
2007-10-10 13:07:32 -05:00
Andrew Tridgell
705b870c73 r4279: added IDL and test code for lsa_AddPrivilegesToAccount() and lsa_RemovePrivilegesFromAccount() 2007-10-10 13:07:31 -05:00
Andrew Tridgell
bafdb17729 r4277: - added server support for lsa_EnumAccounts()
- expanded the lsa test suite to better test lsa_EnumAccounts()
2007-10-10 13:07:31 -05:00
Andrew Tridgell
25189b8fbf r4263: added support for the trans2 RAW_SEARCH_EA_LIST information
level. This is quite a strange level that we've never seen before, but
is used by the os2 workplace shell.

note w2k screws up this level when unicode is negotiated, so it only
passes the RAW-SEARCH test when you force non-unicode
2007-10-10 13:07:29 -05:00
Andrew Tridgell
0b76d405a7 r4261: added the RAW_FILEINFO_EA_LIST trans2 qfileinfo and qpathinfo
level. Interestingly, this level did now show up on our trans2 scanner
previously as we didn't have the FLAGS2_EXTENDED_ATTRIBUTES bit set in
the client code. Now that we set that bit, new levels appear in
windows servers.
2007-10-10 13:07:29 -05:00
Andrew Tridgell
b26828bef5 r4243: a sniff from kukks showed that the ea_set interface in trans2 setfileinfo allows
for multiple EAs to be set at once. This fixes all the ea code to allow for that.
2007-10-10 13:07:28 -05:00
Andrew Tridgell
7bddd47403 r4195: added IDL, test suite and server side code for lsa_LookupPrivValue 2007-10-10 13:07:25 -05:00
Andrew Tridgell
0134d8e9cc r4183: expanded the RAW-MKDIR torture test to test creation of EA lists 2007-10-10 13:07:24 -05:00
Stefan Metzmacher
00395ffcc3 r4180: use the same syntax as the other torture tests
metze
2007-10-10 13:07:23 -05:00
Stefan Metzmacher
8373b2d4c7 r4179: - nicer code layout
- and disable DsReplicaSync by default it kill lsass.exe
  on my w2k box

metze
2007-10-10 13:07:23 -05:00
Stefan Metzmacher
ca610da1fc r4176: I just remeber that I have already implement STR_CONFORMANT
so use it in DsReplicaSync()

metze
2007-10-10 13:07:23 -05:00
Jelmer Vernooij
3538130bf5 r4175: InitiateSystemShutdownEx IDL and torture test 2007-10-10 13:07:22 -05:00
Andrew Tridgell
a56d95ad89 r4173: - new t2open code, that can cope with "create with EAs". Many thanks
to kukks on #samba-technical for the sniffs that allowed me to work
  this out

- much simpler ntvfs open generic mapping code

- added t2open create with EA torture test to RAW-OPEN test
2007-10-10 13:07:22 -05:00
Stefan Metzmacher
be449f628f r4172: commit a DsReplicaSync() torture test
this not make much sense as we don't send the correct nc_name
but it shows that doesn't get a NDR_FAULT anymore,
we just need handle the conformant strings in pidl

metze
2007-10-10 13:07:22 -05:00
Stefan Metzmacher
26a7f4cf5e r4169: add descriptions about binding and unc strings to the
smbtorture --usage --help output

metze
2007-10-10 13:07:22 -05:00
Jelmer Vernooij
a402142431 r4168: Implement QueryValue in the server
IDL for NotifyChangeKeyValue
2007-10-10 13:07:21 -05:00
Jelmer Vernooij
ad8d9e6f73 r4167: Fix CreateKey
Support CreateKey in the RPC registry backend
2007-10-10 13:07:21 -05:00
Andrew Tridgell
57204a1533 r4164: added a test that simulates a OS/2 file delete. This includes seek by
name back into a directory for files that no longer exist.
2007-10-10 13:07:21 -05:00
Jelmer Vernooij
a763bd8385 r4158: Fix IDL for InitiateShutdown and AbortShutdown and run both only
when dangerous tests are enabled.
2007-10-10 13:07:20 -05:00
Jelmer Vernooij
72618dfe95 r4157: QueryMultipleValues IDL and torture test
Initialisation data pointer in QueryValue torture test
2007-10-10 13:07:20 -05:00
Jelmer Vernooij
1c49de51ae r4156: GetKeySecurity() IDL and torture test 2007-10-10 13:07:20 -05:00
Andrew Tridgell
7b446af09b r4147: converted from NT_USER_TOKEN to struct security_token
this is mostly just a tidyup, but also adds the privilege_mask, which
I will be using shortly in ACL checking.

note that I had to move the definition of struct security_token out of
security.idl as pidl doesn't yet handle arrays of pointers, and the
usual workaround (to use a intermediate structure) would make things
too cumbersome for this structure, especially given we never encode it
to NDR.
2007-10-10 13:06:31 -05:00
Jelmer Vernooij
bba4e878b4 r4142: Check result value of OpenHKU and OpenHKCR 2007-10-10 13:06:30 -05:00
Andrew Tridgell
952a26c561 r4138: initialise 'type' in RPC-WINREG EnumValue test 2007-10-10 13:06:30 -05:00
Jelmer Vernooij
c169e86c1f r4132: - Bunch of rather large fixes in the registry
- Added some README files

Not everything works yet, e.g. the EnumValue test appears to be broken.
2007-10-10 13:06:29 -05:00
Andrew Tridgell
b47e203a05 r4113: modified EnumValue in winreg to take advantage of the new pidl handling
of arrays.
2007-10-10 13:06:27 -05:00
Andrew Tridgell
659d029531 r4111: fixed winreg to use much simpler (and I believe correct) IDL for QueryValue 2007-10-10 13:06:27 -05:00
Jelmer Vernooij
0fa6d84743 r4105: Fix IDL for QueryValue() and add a torture test for it.
Thanks to Michael Allen for some hints on what was wrong with the previous IDL.
2007-10-10 13:06:27 -05:00