svn commit: samba r7204 - in branches/SAMBA_4_0/source/libnet: .
abartlet at samba.org
abartlet at samba.org
Fri Jun 3 00:39:31 GMT 2005
Author: abartlet
Date: 2005-06-03 00:39:31 +0000 (Fri, 03 Jun 2005)
New Revision: 7204
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7204
Log:
Also fall back to different password set methods on WRITE_FAULT, as
NT4 apparently returns this.
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/libnet/libnet_passwd.c
Changeset:
Modified: branches/SAMBA_4_0/source/libnet/libnet_passwd.c
===================================================================
--- branches/SAMBA_4_0/source/libnet/libnet_passwd.c 2005-06-03 00:38:51 UTC (rev 7203)
+++ branches/SAMBA_4_0/source/libnet/libnet_passwd.c 2005-06-03 00:39:31 UTC (rev 7204)
@@ -481,7 +481,7 @@
for (i=0; i < ARRAY_SIZE(levels); i++) {
r->generic.level = levels[i];
status = libnet_SetPassword(ctx, mem_ctx, r);
- if (!NT_STATUS_EQUAL(status, NT_STATUS_INVALID_INFO_CLASS)) {
+ if (!NT_STATUS_EQUAL(status, NT_STATUS_INVALID_INFO_CLASS) && !NT_STATUS_EQUAL(status, NT_STATUS_NET_WRITE_FAULT)) {
break;
}
}
More information about the samba-cvs
mailing list