diff options
author | Rafal Szczesniak <mimir@samba.org> | 2006-10-08 21:09:52 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:20:49 -0500 |
commit | ae908a5b06345eea59d56ab64d09544e976aff18 (patch) | |
tree | 744b2d504ca9390a4df8adad8c8a6c7736a0e252 /source4/torture/libnet | |
parent | 2e059dec541e580df3cb9c62f47c275051bae899 (diff) | |
download | samba-ae908a5b06345eea59d56ab64d09544e976aff18.tar.gz samba-ae908a5b06345eea59d56ab64d09544e976aff18.tar.bz2 samba-ae908a5b06345eea59d56ab64d09544e976aff18.zip |
r19174: fix the test to pass against win2k3 server (username length
limit had been hit here, I guess).
rafal
(This used to be commit 795a37e1708caf5563ba71696595a840bc53408c)
Diffstat (limited to 'source4/torture/libnet')
-rw-r--r-- | source4/torture/libnet/userman.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/libnet/userman.c b/source4/torture/libnet/userman.c index 654994fdc3..34081227ea 100644 --- 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); |