error-codes: add some more WERRORs to table.
authorGünther Deschner <gd@samba.org>
Tue, 12 May 2009 21:50:37 +0000 (23:50 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 12 May 2009 21:52:43 +0000 (23:52 +0200)
These tables really should be auto-generated at some point...

Guenther

libcli/util/doserr.c

index a7a132fbcb70f1977dc89fdd3fe7552f292f1f74..ed220cc134504ce6638b6cfebfdc1df672816dcb 100644 (file)
@@ -177,6 +177,8 @@ static const struct werror_code_struct dos_errs[] =
        { "WERR_PASSWORD_MUST_CHANGE", WERR_PASSWORD_MUST_CHANGE },
        { "WERR_ACCOUNT_LOCKED_OUT", WERR_ACCOUNT_LOCKED_OUT },
        { "WERR_UNKNOWN_PRINT_MONITOR", WERR_UNKNOWN_PRINT_MONITOR },
+       { "WERR_PASSWORD_RESTRICTION", WERR_PASSWORD_RESTRICTION },
+       { "WERR_WRONG_PASSWORD", WERR_WRONG_PASSWORD },
        { NULL, W_ERROR(0) }
 };