svn commit: samba r1928 - branches/SAMBA_4_0/source/libnet
metze at samba.org
metze at samba.org
Thu Aug 19 15:27:07 GMT 2004
Author: metze
Date: 2004-08-19 15:27:07 +0000 (Thu, 19 Aug 2004)
New Revision: 1928
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/&rev=1928&nolog=1
Log:
give up on NT_STATUS_PASSWORD_RESTRICTION
(NOTE: this code pass isn't called yet,
because pidl mixes the NTSTATUS of transport and request layer,
and will be fixed soon)
metze
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 2004-08-19 15:22:02 UTC (rev 1927)
+++ branches/SAMBA_4_0/source/libnet/libnet_passwd.c 2004-08-19 15:27:07 UTC (rev 1928)
@@ -102,6 +102,9 @@
r->rpc.in.domain_name, r->rpc.in.account_name,
nt_errstr(status));
/* TODO: give the reason of the reject */
+ if (NT_STATUS_EQUAL(status, NT_STATUS_PASSWORD_RESTRICTION)) {
+ goto disconnect;
+ }
goto ChangePasswordUser2;
}
More information about the samba-cvs
mailing list