summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-10-07 05:23:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:15:18 -0500
commite0b6961ac5b501f51bd004a392c606e3ef308fee (patch)
tree3090c3b1773a268f71b479e8883032596950f5de /source3
parent00056ab43192dc83b823e51126772ba4c19d0519 (diff)
downloadsamba-e0b6961ac5b501f51bd004a392c606e3ef308fee.tar.gz
samba-e0b6961ac5b501f51bd004a392c606e3ef308fee.tar.bz2
samba-e0b6961ac5b501f51bd004a392c606e3ef308fee.zip
r19160: Add new WERR codes seen by working with NETLOGON getdcname.
Guenther (This used to be commit 78b0124a6e7051da2df3157f02593f06f7f31a1b)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/doserr.h2
-rw-r--r--source3/libsmb/doserr.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/source3/include/doserr.h b/source3/include/doserr.h
index bc381e3351..4e3a85ff73 100644
--- a/source3/include/doserr.h
+++ b/source3/include/doserr.h
@@ -201,6 +201,8 @@
#define WERR_SERVICE_DISABLED W_ERROR(1058)
#define WERR_SERVICE_NEVER_STARTED W_ERROR(1077)
#define WERR_MACHINE_LOCKED W_ERROR(1271)
+#define WERR_NO_LOGON_SERVERS W_ERROR(1311)
+#define WERR_NO_SUCH_DOMAIN W_ERROR(1355)
#define WERR_INVALID_SECURITY_DESCRIPTOR W_ERROR(1338)
#define WERR_TIME_SKEW W_ERROR(1398)
#define WERR_EVENTLOG_FILE_CORRUPT W_ERROR(1500)
diff --git a/source3/libsmb/doserr.c b/source3/libsmb/doserr.c
index 253164963a..8628db3abc 100644
--- a/source3/libsmb/doserr.c
+++ b/source3/libsmb/doserr.c
@@ -67,6 +67,8 @@ werror_code_struct dos_errs[] =
{ "WERR_DFS_INTERNAL_ERROR", WERR_DFS_INTERNAL_ERROR },
{ "WERR_DFS_CANT_CREATE_JUNCT", WERR_DFS_CANT_CREATE_JUNCT },
{ "WERR_MACHINE_LOCKED", WERR_MACHINE_LOCKED },
+ { "WERR_NO_LOGON_SERVERS", WERR_NO_LOGON_SERVERS },
+ { "WERR_NO_SUCH_DOMAIN", WERR_NO_SUCH_DOMAIN },
{ "WERR_INVALID_SECURITY_DESCRIPTOR", WERR_INVALID_SECURITY_DESCRIPTOR },
{ "WERR_INVALID_OWNER", WERR_INVALID_OWNER },
{ "WERR_SERVER_UNAVAILABLE", WERR_SERVER_UNAVAILABLE },