summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-10-16 17:22:03 +0200
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:43:08 +0100
commit177faf940f79398303c5566ff2771a4b742bd862 (patch)
tree0555fdb435b718dbb2014cea0be11abbd8b862d7 /source4
parentd026214c0924cf109d40cbda6a7d9eeb331c34f8 (diff)
downloadsamba-177faf940f79398303c5566ff2771a4b742bd862.tar.gz
samba-177faf940f79398303c5566ff2771a4b742bd862.tar.bz2
samba-177faf940f79398303c5566ff2771a4b742bd862.zip
r25672: Some more FRS werrors.
Guenther (This used to be commit 8fa3de8dca9e9d0d9f7fc79e4fc78b85313f870b)
Diffstat (limited to 'source4')
-rw-r--r--source4/libcli/util/doserr.c2
-rw-r--r--source4/libcli/util/werror.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/source4/libcli/util/doserr.c b/source4/libcli/util/doserr.c
index 28618dbf2b..e94b50a6de 100644
--- a/source4/libcli/util/doserr.c
+++ b/source4/libcli/util/doserr.c
@@ -122,6 +122,8 @@ static const struct werror_code_struct dos_errs[] =
{ "WERR_NOT_AUTHENTICATED", WERR_NOT_AUTHENTICATED },
{ "WERR_CALL_NOT_IMPLEMENTED", WERR_CALL_NOT_IMPLEMENTED },
{ "WERR_FRS_INVALID_SERVICE_PARAMETER", WERR_FRS_INVALID_SERVICE_PARAMETER },
+ { "WERR_FRS_SYSVOL_IS_BUSY", WERR_FRS_SYSVOL_IS_BUSY },
+ { "WERR_FRS_INSUFFICIENT_PRIV", WERR_FRS_INSUFFICIENT_PRIV },
{ NULL, W_ERROR(0) }
};
diff --git a/source4/libcli/util/werror.h b/source4/libcli/util/werror.h
index e058120dce..d356b160d8 100644
--- a/source4/libcli/util/werror.h
+++ b/source4/libcli/util/werror.h
@@ -179,6 +179,8 @@ typedef uint32_t WERROR;
#define WERR_DS_DUP_MSDS_INTID W_ERROR(0x00002195)
/* FRS errors */
+#define WERR_FRS_INSUFFICIENT_PRIV W_ERROR(FRS_ERR_BASE+7)
+#define WERR_FRS_SYSVOL_IS_BUSY W_ERROR(FRS_ERR_BASE+15)
#define WERR_FRS_INVALID_SERVICE_PARAMETER W_ERROR(FRS_ERR_BASE+17)
/* SEC errors */