diff options
author | Jeremy Allison <jra@samba.org> | 2006-12-15 06:44:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:16:30 -0500 |
commit | 3aec4cc13c0a4293e32e8c7dbb39894869c7269e (patch) | |
tree | 3fba910050425dc3cceed55fed56e9432beb99b1 /source3 | |
parent | 63d81974532e755d67a903e4926ebde5c8e4ee13 (diff) | |
download | samba-3aec4cc13c0a4293e32e8c7dbb39894869c7269e.tar.gz samba-3aec4cc13c0a4293e32e8c7dbb39894869c7269e.tar.bz2 samba-3aec4cc13c0a4293e32e8c7dbb39894869c7269e.zip |
r20181: Improve NT status to pam error mapping.
Jeremy.
(This used to be commit 794ebd8a84115a636d8fa4a9f859f8a999135e5e)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/lib/pam_errors.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/lib/pam_errors.c b/source3/lib/pam_errors.c index 8a4c41d7df..a761cf6d08 100644 --- a/source3/lib/pam_errors.c +++ b/source3/lib/pam_errors.c @@ -72,6 +72,13 @@ static const struct { {NT_STATUS_ACCOUNT_LOCKED_OUT, PAM_MAXTRIES}, {NT_STATUS_NO_MEMORY, PAM_BUF_ERR}, {NT_STATUS_PASSWORD_RESTRICTION, PAM_PERM_DENIED}, + {NT_STATUS_BACKUP_CONTROLLER, PAM_AUTHINFO_UNAVAIL}; + {NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND, PAM_AUTHINFO_UNAVAIL}; + {NT_STATUS_NO_LOGON_SERVERS, PAM_AUTHINFO_UNAVAIL}; + {NT_STATUS_INVALID_WORKSTATION, PAM_PERM_DENIED}, + {NT_STATUS_NOLOGON_WORKSTATION_TRUST_ACCOUNT, PAM_AUTHINFO_UNAVAIL}; + {NT_STATUS_NOLOGON_SERVER_TRUST_ACCOUNT, PAM_AUTHINFO_UNAVAIL}; + {NT_STATUS_NOLOGON_INTERDOMAIN_TRUST_ACCOUNT, PAM_AUTHINFO_UNAVAIL}; {NT_STATUS_OK, PAM_SUCCESS} }; |