Added extra remote password changing error codes from lmerr.h on NT.
authorJeremy Allison <jra@samba.org>
Mon, 30 Mar 1998 20:12:12 +0000 (20:12 +0000)
committerJeremy Allison <jra@samba.org>
Mon, 30 Mar 1998 20:12:12 +0000 (20:12 +0000)
Jeremy.
(This used to be commit 38391b51cd9e1e9fc7e4b77335ed2c7f6befc8c6)

source3/utils/smbpasswd.c

index b03385769c7dd6ce15883f21e3b111aa9a858a9d..22271b75de9c3c6b8d5fe53bb258965aa67c6b44 100644 (file)
@@ -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}
 };