summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-03-30 20:12:12 +0000
committerJeremy Allison <jra@samba.org>1998-03-30 20:12:12 +0000
commit852dc76c60b08c3dbb86ba38b7c3c968b1b228dd (patch)
tree0b661048d4cf7626d33725f4a95db958bc84de8b /source3
parent6f1fc787de485b4899d9145a2225c22cf26c27a2 (diff)
downloadsamba-852dc76c60b08c3dbb86ba38b7c3c968b1b228dd.tar.gz
samba-852dc76c60b08c3dbb86ba38b7c3c968b1b228dd.tar.bz2
samba-852dc76c60b08c3dbb86ba38b7c3c968b1b228dd.zip
Added extra remote password changing error codes from lmerr.h on NT.
Jeremy. (This used to be commit 38391b51cd9e1e9fc7e4b77335ed2c7f6befc8c6)
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/smbpasswd.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source3/utils/smbpasswd.c b/source3/utils/smbpasswd.c
index b03385769c..22271b75de 100644
--- a/source3/utils/smbpasswd.c
+++ b/source3/utils/smbpasswd.c
@@ -32,8 +32,11 @@ struct
{5, "User has insufficient privilege" },
{86, "The specified password is invalid" },
{2226, "Operation only permitted on a Primary Domain Controller" },
- {2243, "The password cannot be changed" },
- {2246, "The password is too short" },
+ {2242, "The password of this user has expired." },
+ {2243, "The password of this user cannot change." },
+ {2244, "This password cannot be used now (password history conflict)." },
+ {2245, "The password is shorter than required." },
+ {2246, "The password of this user is too recent to change."},
{0, NULL}
};