git.samba.org
/
ira
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e059de
)
r19174: fix the test to pass against win2k3 server (username length
author
Rafal Szczesniak
<mimir@samba.org>
Sun, 8 Oct 2006 21:09:52 +0000
(21:09 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:20:49 +0000
(14:20 -0500)
limit had been hit here, I guess).
rafal
(This used to be commit
795a37e1708caf5563ba71696595a840bc53408c
)
source4/torture/libnet/userman.c
patch
|
blob
|
history
diff --git
a/source4/torture/libnet/userman.c
b/source4/torture/libnet/userman.c
index 654994fdc31a51787fee06d41ed001a5466e54d9..34081227ea0c7b6f49a9cbe12aea643855f1bf5c 100644
(file)
--- a/
source4/torture/libnet/userman.c
+++ b/
source4/torture/libnet/userman.c
@@
-292,7
+292,7
@@
static BOOL test_usermod(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
case account_name:
continue_if_field_set(mod->in.change.account_name);
mod->in.change.account_name = talloc_asprintf(mem_ctx, TEST_CHG_ACCOUNTNAME,
-
(int)random(
));
+
(int)(random()/100
));
mod->in.change.fields |= USERMOD_FIELD_ACCOUNT_NAME;
fldname = "account_name";
*username = talloc_strdup(mem_ctx, mod->in.change.account_name);