The Samba-Bugzilla – Attachment 3788 Details for
Bug 5946
SAMR: Small problem mit the user parameters
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Torture test for patch
tortureSamrSetUserInfo2.patch (text/plain), 1.14 KB, created by
Matthias Dieter Wallnöfer
on 2008-12-08 09:23:35 UTC
(
hide
)
Description:
Torture test for patch
Filename:
MIME Type:
Creator:
Matthias Dieter Wallnöfer
Created:
2008-12-08 09:23:35 UTC
Size:
1.14 KB
patch
obsolete
>diff --git a/source4/torture/rpc/samr.c b/source4/torture/rpc/samr.c >index d29c864..2912628 100644 >--- a/source4/torture/rpc/samr.c >+++ b/source4/torture/rpc/samr.c >@@ -409,6 +409,12 @@ static bool test_SetUserInfo(struct dcerpc_pipe *p, struct torture_context *tctx > SAMR_FIELD_PARAMETERS); > TEST_USERINFO_BINARYSTRING(21, parameters, 20, parameters, "xx21-20 parameters", > SAMR_FIELD_PARAMETERS); >+ /* also empty user parameters are allowed */ >+ TEST_USERINFO_BINARYSTRING(20, parameters, 21, parameters, "", 0); >+ TEST_USERINFO_BINARYSTRING(21, parameters, 21, parameters, "", >+ SAMR_FIELD_PARAMETERS); >+ TEST_USERINFO_BINARYSTRING(21, parameters, 20, parameters, "", >+ SAMR_FIELD_PARAMETERS); > > TEST_USERINFO_INT(2, country_code, 2, country_code, __LINE__, 0); > TEST_USERINFO_INT(2, country_code, 21, country_code, __LINE__, 0); >@@ -2674,7 +2680,7 @@ static bool test_SetPassword_pwdlastset(struct dcerpc_pipe *p, > struct policy_handle *handle, > char **password) > { >- int i, s = 0, q = 0, f = 0, l = 0, z = 0; >+ int s = 0, q = 0, f = 0, l = 0, z = 0; > bool ret = true; > int delay = 500000; > bool set_levels[] = { false, true };
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 5946
:
3784
| 3788