Add WERR_USER_ALREADY_EXISTS and WERR_PASSWORD_RESTRICTION.
[sfrench/samba-autobuild/.git] / source3 / libsmb / doserr.c
index 278875a5234e896f872d525653fe6b2c92e3269f..cd3c2fef5ed875f11e2156ec7c87bb85f4a70821 100644 (file)
@@ -66,6 +66,7 @@ werror_code_struct dos_errs[] =
        { "WERR_USER_EXISTS", WERR_USER_EXISTS },
        { "WERR_NO_LOGON_SERVERS", WERR_NO_LOGON_SERVERS },
        { "WERR_NO_SUCH_LOGON_SESSION", WERR_NO_SUCH_LOGON_SESSION },
+       { "WERR_USER_ALREADY_EXISTS", WERR_USER_ALREADY_EXISTS },
        { "WERR_PRINTER_DRIVER_IN_USE", WERR_PRINTER_DRIVER_IN_USE },
        { "WERR_STATUS_MORE_ENTRIES  ", WERR_STATUS_MORE_ENTRIES },
        { "WERR_DFS_NO_SUCH_VOL", WERR_DFS_NO_SUCH_VOL },
@@ -82,6 +83,7 @@ werror_code_struct dos_errs[] =
        { "WERR_DEFAULT_JOIN_REQUIRED", WERR_DEFAULT_JOIN_REQUIRED },
        { "WERR_DEVICE_NOT_AVAILABLE", WERR_DEVICE_NOT_AVAILABLE },
        { "WERR_LOGON_FAILURE", WERR_LOGON_FAILURE },
+       { "WERR_PASSWORD_RESTRICTION", WERR_PASSWORD_RESTRICTION },
        { "WERR_NO_SUCH_DOMAIN", WERR_NO_SUCH_DOMAIN },
        { "WERR_INVALID_SECURITY_DESCRIPTOR", WERR_INVALID_SECURITY_DESCRIPTOR },
        { "WERR_TIME_SKEW", WERR_TIME_SKEW },
@@ -124,6 +126,8 @@ werror_str_struct dos_err_strs[] = {
        { WERR_PASSWORD_MUST_CHANGE, "The password must be changed" },
        { WERR_ACCOUNT_LOCKED_OUT, "Account locked out" },
        { WERR_TIME_SKEW, "Time difference between client and server" },
+       { WERR_USER_ALREADY_EXISTS, "User already exists" },
+       { WERR_PASSWORD_RESTRICTION, "Password does not meet restrictions" },
 };
 
 /*****************************************************************************