Günther Deschner
074ad24653
s4-smbtorture: simplify some torture_comments in RPC-LSA.
...
Guenther
2009-11-03 22:10:31 +01:00
Günther Deschner
48520b2274
s4-smbtorture: test whether an lsa_EnumTrustDom implementation would hang up a client.
...
Guenther
2009-10-21 03:13:24 +02:00
Günther Deschner
a4d5487576
s4-smbtorture: fix RPC-LSA-LSALOOKUP test against w2k3 and w2k8.
...
Make sure to split out lsa_LookupName NULL name test so that we can better track
results from bogus names and NULL names.
Guenther
2009-10-20 23:57:58 +02:00
Günther Deschner
9ee5d84665
s4-smbtorture: Make it simpler to specify number of trusted domains to create in
...
RPC-LSA-TRUSTED-DOMAINS.
Guenther
2009-10-20 21:49:38 +02:00
Günther Deschner
7e180101d3
s4-smbtorture: Fix wrong comment in RPC-LSA-TRUSTED-DOMAIN test.
...
Guenther
2009-10-20 15:30:19 +02:00
Günther Deschner
bf2746b537
s4-smbtorture: split out EnumTrustedDomainsEx test in RPC-LSA-TRUSTED-DOMAINS.
...
Guenther
2009-10-20 15:30:12 +02:00
Günther Deschner
d76e77ce9a
s4-smbtorture: add stricter tests for LSA-LOOKUPNAMES replies.
...
Guenther
2009-10-20 15:28:30 +02:00
Günther Deschner
80b512fe03
s4-smbtorture: move all LookupNames tests into RPC-LSA-LOOKUPNAMES.
...
Guenther
2009-10-20 15:28:30 +02:00
Günther Deschner
1d4bf02993
lsa: fill in more unknowns in lsa_LookupSid calls.
...
Guenther
2009-09-11 13:59:56 +02:00
Günther Deschner
2e77debc99
Revert "fix LSA-PRIVILEGES"
...
This reverts commit 0d9fdbceed
.
2009-07-17 00:13:54 +02:00
Günther Deschner
106d43a1dd
Revert "fix LSA-TRUSTED-DOMAINS"
...
This reverts commit 3c9b262760
.
2009-07-17 00:13:46 +02:00
Günther Deschner
8d68d04258
s4-smbtorture: use secinfo flags instead of numbers in lsa test.
...
Guenther
2009-07-17 00:13:40 +02:00
Günther Deschner
8cac8fd5d6
s4-smbtorture: use torture_comment in RPC-LSA tests.
...
Guenther
2009-07-16 11:13:26 +02:00
Günther Deschner
0d9fdbceed
fix LSA-PRIVILEGES
2009-07-16 11:07:14 +02:00
Günther Deschner
3c9b262760
fix LSA-TRUSTED-DOMAINS
2009-07-16 11:07:06 +02:00
Günther Deschner
47eb061b53
s4-smbtorture: move all privilege tests to RPC-LSA-PRIVILEGES.
...
Guenther
2009-07-16 10:03:12 +02:00
Günther Deschner
29c3a277e1
s4-smbtorture: move all trusted domain tests to RPC-LSA-TRUSTED-DOMAINS.
...
Guenther
2009-07-16 10:03:12 +02:00
Günther Deschner
5f015920a8
s4-smbtorture: add very basic RPC-LSA-LOOKUPNAMES test.
...
Guenther
2009-05-11 16:44:39 +02:00
Günther Deschner
7347373e7c
s4-smbtorture: add optional very simple reply checks to lsa lookup name tests.
...
Guenther
2009-05-11 16:44:39 +02:00
Günther Deschner
7672a033ef
s4-smbtorture: remove trailing whitespace in RPC-LSA test.
...
Guenther
2009-05-11 15:06:20 +02:00
Günther Deschner
410f17cdeb
s4-smbtorture: use struct torture_context in RPC-LSA.
...
Guenther
2009-05-11 15:06:16 +02:00
Günther Deschner
95231eae39
s4-lsa: merge lsa_QueryInfoPolicy/{2} from s3 lsa idl.
...
Guenther
2008-10-27 19:33:23 +01:00
Günther Deschner
92f1c0d156
s4-lsa: merge lsa_LookupNames/{2,3,4} from s3 lsa idl.
...
Guenther
2008-10-27 19:33:23 +01:00
Günther Deschner
992c03a192
s4-lsa: merge lsa_LookupSids/{2,3} from s3 lsa idl.
...
Guenther
2008-10-27 19:33:23 +01:00
Günther Deschner
8e622f57e7
s4-lsa: merge lsa_QueryDomainInformationPolicy from s3 lsa idl.
...
Guenther
2008-10-27 19:33:23 +01:00
Günther Deschner
ea88686419
s4-lsa: merge lsa_QueryTrustedDomainInfoByName from s3 lsa idl.
...
Guenther
2008-10-27 19:33:22 +01:00
Günther Deschner
36725ec0b4
s4-lsa: merge lsa_QueryTrustedDomainInfo from s3 idl.
...
Guenther
2008-10-27 19:33:22 +01:00
Günther Deschner
7c3d1dd8a9
s4-lsa: merge lsa_QueryTrustedDomainInfoBySid from s3 lsa idl.
...
Guenther
2008-10-27 19:33:22 +01:00
Günther Deschner
8bcc939a8c
s4-lsa: merge lsa_LookupPrivName from s3 lsa idl.
...
Guenther
2008-10-27 19:33:22 +01:00
Günther Deschner
ea6b4865ea
s4-lsa: merge lsa_EnumPrivsAccount from s3 lsa idl.
...
Guenther
2008-10-27 19:33:22 +01:00
Günther Deschner
95c69caef6
s4-lsa: merge lsa_LookupPrivDisplayName from s3 lsa idl.
...
Guenther
2008-10-27 19:33:22 +01:00
Günther Deschner
6a2dabe1a7
s4-lsa: merge lsa_GetUserName from s3 lsa idl.
...
Guenther
2008-10-27 19:33:22 +01:00
Günther Deschner
4ee7b58e0a
s4-lsa: merge lsa_QuerySecurity from s3 lsa idl.
...
Guenther
2008-10-27 19:33:21 +01:00
Andrew Bartlett
85acd7eccc
Make the updated RPC-LSA pass against Win2008, and Samba4 to match
2008-10-20 20:07:09 +11:00
Matthias Dieter Wallnöfer
b789ff950f
LSA Patch for User Manager
...
New (major) patch
=================
- Enhances the "lsa.idl" file in the sense that it adds more values to
"PolicyInformation" to improve the "lsa_QueryInfoPolicy*" calls.
- Adds a minimal implementation for "AuditEvents" (also lsa_QueryInfoPolicy*
calls) to enable the "Audit" option in the "User Manager for Domains" (at least
readable).
- Adds to the "lsa.idl" file the system access mode flags needed for the calls
"lsa_*SystemAccessAccount".
- Fill in the "lsa_GetSystemAccessAccount" for enabling the "User Rights"
option in the "User Manager for Domains" (at least readable).
- Merge the two similar torture tests of the "lsa_QueryInfoPolicy*" calls in
one using "if"'s for a few separations.
- Add a torture test for "lsa_GetSystemAccessAccount".
- Some cosmetic-only changes (unifications) in output strings in the "LSA"
torture test.
The work has been done using the Microsoft WSPP docs.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2008-10-20 20:07:09 +11:00
Andrew Bartlett
99d0eb4fb7
Make RPC-LSA test for enumeration conditions more strict
2008-10-06 14:28:25 -07:00
Andrew Tridgell
ba5ef49f83
updated the LSA and NETLOGON servers with fixes resulting from the AD
...
plugfest in Redmond
2008-10-03 17:52:59 -07:00
Andrew Tridgell
14378d7c4c
add a test for a LSA lookupnames with a NULL string
2008-09-30 14:03:01 -07:00
Andrew Bartlett
64195b72be
Fix parsing of the trust passwords in LSA CreateTrustedDomainEx*
2008-09-29 22:34:35 -07:00
Jelmer Vernooij
6925202bde
Move source4/lib/crypto to lib/crypto.
2008-09-24 15:30:23 +02:00
Andrew Bartlett
b3cee235f5
More work towards trusted domains support in Samba4's LSA
...
Make 'lsar_CreateTrustedDomain' consistant with
lsar_CreateTrustedDomainEx{,2} by renaming handle -> policy_handle
Implement LSA server logic to create the cn=users trust account for
incoming trusts.
Andrew Bartlett
(This used to be commit d87b655e20
)
2008-09-08 10:55:34 +10:00
Andrew Bartlett
19fb3b0199
More work to implement LSA CreateTrustedDomainEx2
...
We still don't get the format inside the encrypted blob correct
however.
Andrew Bartlett
(This used to be commit 99a3abda09
)
2008-09-04 16:06:38 +10:00
Andrew Bartlett
5dae44e88e
Start testing CreateTrustedDomainEx2
...
Andrew Bartlett
(This used to be commit 91ae8dca25
)
2008-09-02 11:31:46 +10:00
Andrew Bartlett
35c8899949
Follow MS-LSAD 3.1.4.7.12 and set defaults when creating a trust.
...
Also check we get the defaults correct with a query in the torture
suite.
Andrew Bartlett
(This used to be commit b55a1b63cc
)
2008-09-01 14:43:00 +10:00
Andrew Bartlett
4eba234a73
More LSA server and testuite work.
...
- Implement QueryDomainInformationPolicy in Samba4
- Allow RPC-LSA to pass against Windows 2008 (which does not allow
the Audit privilage to be removed)
Andrew Bartlett
(This used to be commit d94c7bbcd6
)
2008-08-26 12:18:26 +10:00
Andrew Bartlett
f7c13b1a95
Make RPC-LSA test deterministic with an msleep(200).
...
(This used to be commit 914e1865aa
)
2008-08-26 10:56:16 +10:00
Andrew Bartlett
291b0dfb2a
Update RPC-LSA to (almost) pass against Windows 2008.
...
(This used to be commit a17cb558c2
)
2008-08-26 09:49:54 +10:00
Andrew Bartlett
2afd7d6d66
Don't fail if the domain has a trust already.
...
Andrew Bartlett
(This used to be commit c2df7ffa6d
)
2008-07-31 09:07:57 +10:00
Andrew Bartlett
e16b2242e5
Remove bogus test in 'enum trusted domains' LSA server.
...
The change to the RPC-LSA test proves that when the remote server has
0 trusted domains, it will return NT_STATUS_NO_MORE_ENTRIES, not
NT_STATUS_OK.
Andrew Bartlett
(This used to be commit 40a55b34c2
)
2008-07-21 12:05:53 +10:00
Simo Sorce
929adc9efa
Make up the right dependencies now that ldb depends on libevents
...
(This used to be commit 3b8eec7ca3
)
2008-06-14 11:59:19 -04:00