svn commit: samba r19174 - in
branches/SAMBA_4_0/source/torture/libnet: .
mimir at samba.org
mimir at samba.org
Sun Oct 8 21:09:53 GMT 2006
Author: mimir
Date: 2006-10-08 21:09:52 +0000 (Sun, 08 Oct 2006)
New Revision: 19174
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19174
Log:
fix the test to pass against win2k3 server (username length
limit had been hit here, I guess).
rafal
Modified:
branches/SAMBA_4_0/source/torture/libnet/userman.c
Changeset:
Modified: branches/SAMBA_4_0/source/torture/libnet/userman.c
===================================================================
--- branches/SAMBA_4_0/source/torture/libnet/userman.c 2006-10-08 21:09:21 UTC (rev 19173)
+++ branches/SAMBA_4_0/source/torture/libnet/userman.c 2006-10-08 21:09:52 UTC (rev 19174)
@@ -292,7 +292,7 @@
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);
More information about the samba-cvs
mailing list