summaryrefslogtreecommitdiff
path: root/auth/common_auth.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-12-31 22:24:44 +1100
committerStefan Metzmacher <metze@samba.org>2012-01-11 09:02:41 +0100
commitf5a117172ec17e1b0b9245bb5e067ca2da23572c (patch)
treecc73241b5134a73d7927807de90ec8cf55a77e37 /auth/common_auth.h
parent14c8a13d3e2b2eb199e9eb26fa41f89bc380509e (diff)
downloadsamba-f5a117172ec17e1b0b9245bb5e067ca2da23572c.tar.gz
gensec: move gensec_util.c to the top level
To do this some defines need to move to common_auth.h Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'auth/common_auth.h')
-rw-r--r--auth/common_auth.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/auth/common_auth.h b/auth/common_auth.h
index ce3444ce7a0..40f7da4fe73 100644
--- a/auth/common_auth.h
+++ b/auth/common_auth.h
@@ -33,6 +33,11 @@ enum auth_password_state {
AUTH_PASSWORD_RESPONSE = 3
};
+#define AUTH_SESSION_INFO_DEFAULT_GROUPS 0x01 /* Add the user to the default world and network groups */
+#define AUTH_SESSION_INFO_AUTHENTICATED 0x02 /* Add the user to the 'authenticated users' group */
+#define AUTH_SESSION_INFO_SIMPLE_PRIVILEGES 0x04 /* Use a trivial map between users and privilages, rather than a DB */
+#define AUTH_SESSION_INFO_UNIX_TOKEN 0x08 /* The returned token must have the unix_token and unix_info elements provided */
+
struct auth_usersupplied_info
{
const char *workstation_name;