summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-05-02 11:54:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:16:39 -0500
commit359aed77c938ff36143c2bdddd1ae0514cb29388 (patch)
tree69bfbd2255ca07e2fff051b25aad9887c6934f4f /source3/libads
parent0d14777a479477ba117b3c56b26b316a3b227851 (diff)
downloadsamba-359aed77c938ff36143c2bdddd1ae0514cb29388.tar.gz
samba-359aed77c938ff36143c2bdddd1ae0514cb29388.tar.bz2
samba-359aed77c938ff36143c2bdddd1ae0514cb29388.zip
r15392: In most cases, this mapping is more appropriate. (I know, it is still a
mess, but there is no way the get NTSTATUS from the edata yet). Guenther (This used to be commit be2bd3945c057a4ad72251f809cffbe4694a7e3d)
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/krb5_errs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/krb5_errs.c b/source3/libads/krb5_errs.c
index 0c2e704702..e73482522b 100644
--- a/source3/libads/krb5_errs.c
+++ b/source3/libads/krb5_errs.c
@@ -40,7 +40,7 @@ static const struct {
#endif
{25, NT_STATUS_PASSWORD_EXPIRED}, /* FIXME: bug in heimdal 0.7 krb5_get_init_creds_password (Inappropriate ioctl for device (25)) */
{KRB5KDC_ERR_NULL_KEY, NT_STATUS_LOGON_FAILURE},
- {KRB5KDC_ERR_POLICY, NT_STATUS_PASSWORD_RESTRICTION},
+ {KRB5KDC_ERR_POLICY, NT_STATUS_INVALID_WORKSTATION},
{KRB5KDC_ERR_PREAUTH_FAILED, NT_STATUS_LOGON_FAILURE},
{KRB5KDC_ERR_SERVICE_REVOKED, NT_STATUS_ACCESS_DENIED},
{KRB5KDC_ERR_S_PRINCIPAL_UNKNOWN, NT_STATUS_INVALID_ACCOUNT_NAME},