svn commit: samba r12963 - in trunk/source/nsswitch: .
gd at samba.org
gd at samba.org
Mon Jan 16 17:05:08 GMT 2006
Author: gd
Date: 2006-01-16 17:05:07 +0000 (Mon, 16 Jan 2006)
New Revision: 12963
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12963
Log:
Handle the case when an account may not change it's password in
pam_winbind.
Guenther
Modified:
trunk/source/nsswitch/pam_winbind.c
Changeset:
Modified: trunk/source/nsswitch/pam_winbind.c
===================================================================
--- trunk/source/nsswitch/pam_winbind.c 2006-01-16 16:46:49 UTC (rev 12962)
+++ trunk/source/nsswitch/pam_winbind.c 2006-01-16 17:05:07 UTC (rev 12963)
@@ -130,6 +130,7 @@
{"NT_STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT", "Invalid Trust Account"},
{"NT_STATUS_NOLOGON_SERVER_TRUST_ACCOUNT", "Invalid Trust Account"},
{"NT_STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT", "Invalid Trust Account"},
+ {"NT_STATUS_ACCESS_DENIED", "Access is denied"},
{NULL, NULL}
};
@@ -500,6 +501,7 @@
}
PAM_WB_REMARK_CHECK_RESPONSE(pamh, response, "NT_STATUS_BACKUP_CONTROLLER");
+ PAM_WB_REMARK_CHECK_RESPONSE(pamh, response, "NT_STATUS_ACCESS_DENIED");
/* TODO: tell the min pwd length ? */
PAM_WB_REMARK_CHECK_RESPONSE(pamh, response, "NT_STATUS_PWD_TOO_SHORT");
More information about the samba-cvs
mailing list