From 852dc76c60b08c3dbb86ba38b7c3c968b1b228dd Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 30 Mar 1998 20:12:12 +0000 Subject: Added extra remote password changing error codes from lmerr.h on NT. Jeremy. (This used to be commit 38391b51cd9e1e9fc7e4b77335ed2c7f6befc8c6) --- source3/utils/smbpasswd.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'source3/utils/smbpasswd.c') 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} }; -- cgit