diff options
author | Andrew Tridgell <tridge@samba.org> | 2003-11-18 08:03:06 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2003-11-18 08:03:06 +0000 |
commit | 20f1530a11402a926cdd7b4d1f9dddb360985196 (patch) | |
tree | 798a4661a94de12633bbfa03d4487c216513cd1d /source4/torture | |
parent | 30daed2f7cc4baa69a31f139aaa5b5b260febc15 (diff) | |
download | samba-20f1530a11402a926cdd7b4d1f9dddb360985196.tar.gz samba-20f1530a11402a926cdd7b4d1f9dddb360985196.tar.bz2 samba-20f1530a11402a926cdd7b4d1f9dddb360985196.zip |
changed wks to wkssvc (suggestion from metze). Started adding samr_CreateUser().
(This used to be commit 04e9269c1e37c9c2984ee2886fa6c0eda5c19669)
Diffstat (limited to 'source4/torture')
-rw-r--r-- | source4/torture/rpc/samr.c | 6 | ||||
-rw-r--r-- | source4/torture/rpc/wkssvc.c | 12 |
2 files changed, 12 insertions, 6 deletions
diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c index 346a073723..79f64005be 100644 --- a/source4/torture/rpc/samr.c +++ b/source4/torture/rpc/samr.c @@ -400,6 +400,12 @@ static BOOL test_OpenDomain(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, return False; } +#if 0 + if (!test_CreateUser(p, mem_ctx, &domain_handle)) { + ret = False; + } +#endif + if (!test_QuerySecurity(p, mem_ctx, &domain_handle)) { ret = False; } diff --git a/source4/torture/rpc/wkssvc.c b/source4/torture/rpc/wkssvc.c index 5f8a63de10..b8ae3de202 100644 --- a/source4/torture/rpc/wkssvc.c +++ b/source4/torture/rpc/wkssvc.c @@ -26,7 +26,7 @@ static BOOL test_QueryInfo(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) { NTSTATUS status; - struct wks_QueryInfo r; + struct wkssvc_QueryInfo r; uint16 levels[] = {100, 101, 102}; int i; BOOL ret = True; @@ -36,7 +36,7 @@ static BOOL test_QueryInfo(struct dcerpc_pipe *p, for (i=0;i<ARRAY_SIZE(levels);i++) { r.in.level = levels[i]; printf("testing QueryInfo level %u\n", r.in.level); - status = dcerpc_wks_QueryInfo(p, mem_ctx, &r); + status = dcerpc_wkssvc_QueryInfo(p, mem_ctx, &r); if (!NT_STATUS_IS_OK(status)) { printf("QueryInfo level %u failed - %s\n", r.in.level, nt_errstr(status)); ret = False; @@ -51,11 +51,11 @@ static BOOL test_TransportEnum(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx) { NTSTATUS status; - struct wks_TransportEnum r; + struct wkssvc_TransportEnum r; BOOL ret = True; - struct wks_TransportInfo info; + struct wkssvc_TransportInfo info; uint32 resume_handle = 0; - struct wks_TransportInfoArray info_array; + struct wkssvc_TransportInfoArray info_array; ZERO_STRUCT(info); ZERO_STRUCT(info_array); @@ -70,7 +70,7 @@ static BOOL test_TransportEnum(struct dcerpc_pipe *p, r.out.resume_handle = &resume_handle; printf("testing TransportEnum\n"); - status = dcerpc_wks_TransportEnum(p, mem_ctx, &r); + status = dcerpc_wkssvc_TransportEnum(p, mem_ctx, &r); if (!NT_STATUS_IS_OK(status)) { printf("TransportEnum failed - %s\n", nt_errstr(status)); ret = False; |