summaryrefslogtreecommitdiffstats
path: root/source/utils/smbpasswd.c
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
commit38391b51cd9e1e9fc7e4b77335ed2c7f6befc8c6 (patch)
tree340f1920829a7f1478677dfb4c06417fd64bc68a /source/utils/smbpasswd.c
parent7775b0f2aa43ee58f1a4f13004451235cfa157ef (diff)
downloadsamba-38391b51cd9e1e9fc7e4b77335ed2c7f6befc8c6.tar.gz
samba-38391b51cd9e1e9fc7e4b77335ed2c7f6befc8c6.tar.xz
samba-38391b51cd9e1e9fc7e4b77335ed2c7f6befc8c6.zip
Added extra remote password changing error codes from lmerr.h on NT.
Jeremy.
Diffstat (limited to 'source/utils/smbpasswd.c')
-rw-r--r--source/utils/smbpasswd.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/source/utils/smbpasswd.c b/source/utils/smbpasswd.c
index b03385769c7..22271b75de9 100644
--- a/source/utils/smbpasswd.c
+++ b/source/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}
};