summaryrefslogtreecommitdiffstats
path: root/source3/lib/netapi
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-08-27 22:38:32 +0200
committerGünther Deschner <gd@samba.org>2008-08-29 13:58:01 +0200
commit0faaff160813f8659ec16c708fb71c9e4a39fdf7 (patch)
treef5353cb4b5793a452d34261be2ef6ef1f1c87387 /source3/lib/netapi
parentd2e9b33cd813295fac70e2f77646e61d81b91949 (diff)
downloadsamba-0faaff160813f8659ec16c708fb71c9e4a39fdf7.tar.gz
samba-0faaff160813f8659ec16c708fb71c9e4a39fdf7.tar.xz
samba-0faaff160813f8659ec16c708fb71c9e4a39fdf7.zip
netapi: add USER_PRIV_* constants to public header.
Guenther (This used to be commit 2274e5d8a8236b15558507289a8a455c15ca2633)
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r--source3/lib/netapi/netapi.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/lib/netapi/netapi.h b/source3/lib/netapi/netapi.h
index 1dc933a9d9f..51ea17ad7b7 100644
--- a/source3/lib/netapi/netapi.h
+++ b/source3/lib/netapi/netapi.h
@@ -91,6 +91,10 @@ struct USER_INFO_0 {
const char * usri0_name;
};
+#define USER_PRIV_GUEST ( 0 )
+#define USER_PRIV_USER ( 1 )
+#define USER_PRIV_ADMIN ( 2 )
+
struct USER_INFO_1 {
const char * usri1_name;
const char * usri1_password;