git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d3a9ee6
)
error-codes: add some more WERRORs to table.
author
Günther Deschner
<gd@samba.org>
Tue, 12 May 2009 21:50:37 +0000
(23:50 +0200)
committer
Gü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
patch
|
blob
|
history
diff --git
a/libcli/util/doserr.c
b/libcli/util/doserr.c
index a7a132fbcb70f1977dc89fdd3fe7552f292f1f74..ed220cc134504ce6638b6cfebfdc1df672816dcb 100644
(file)
--- a/
libcli/util/doserr.c
+++ b/
libcli/util/doserr.c
@@
-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) }
};