summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-10-07 05:28:14 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:20:46 -0500
commit7c793e1bb74593357708e92dba6a99d89ac77c59 (patch)
tree8408c65172db890a248eebcc3f0f263fe52baecc
parent8f073d30049fb211bd65458900e4b281805afee6 (diff)
downloadsamba-7c793e1bb74593357708e92dba6a99d89ac77c59.tar.gz
samba-7c793e1bb74593357708e92dba6a99d89ac77c59.tar.bz2
samba-7c793e1bb74593357708e92dba6a99d89ac77c59.zip
r19162: Merge WERR code from Samba 3.
Guenther (This used to be commit d9562e0f83d76043da7955e89b1fff8a1d921a36)
-rw-r--r--source4/libcli/util/doserr.c1
-rw-r--r--source4/libcli/util/doserr.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/source4/libcli/util/doserr.c b/source4/libcli/util/doserr.c
index ed1700aeb0..fe2b555ab6 100644
--- a/source4/libcli/util/doserr.c
+++ b/source4/libcli/util/doserr.c
@@ -78,6 +78,7 @@ static const struct werror_code_struct dos_errs[] =
{ "WERR_INVALID_OWNER", WERR_INVALID_OWNER },
{ "WERR_INVALID_COMPUTERNAME", WERR_INVALID_COMPUTERNAME },
{ "WERR_INVALID_DOMAINNAME", WERR_INVALID_DOMAINNAME },
+ { "WERR_NO_LOGON_SERVERS", WERR_NO_LOGON_SERVERS },
{ "WERR_NO_SUCH_PRIVILEGE", WERR_NO_SUCH_PRIVILEGE },
{ "WERR_PRIVILEGE_NOT_HELD", WERR_PRIVILEGE_NOT_HELD },
{ "WERR_NO_SUCH_USER", WERR_NO_SUCH_USER },
diff --git a/source4/libcli/util/doserr.h b/source4/libcli/util/doserr.h
index d5a6b2e90d..0e1bcd4499 100644
--- a/source4/libcli/util/doserr.h
+++ b/source4/libcli/util/doserr.h
@@ -195,6 +195,7 @@
#define WERR_UNKNOWN_REVISION W_ERROR(1305)
#define WERR_REVISION_MISMATCH W_ERROR(1306)
#define WERR_INVALID_OWNER W_ERROR(1307)
+#define WERR_NO_LOGON_SERVERS W_ERROR(1311)
#define WERR_NO_SUCH_PRIVILEGE W_ERROR(1313)
#define WERR_PRIVILEGE_NOT_HELD W_ERROR(1314)
#define WERR_NO_SUCH_USER W_ERROR(1317)