diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-12-21 11:43:04 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-12-21 15:10:38 +1100 |
commit | 6f7423c7f1cc3a4596a955a90f315ffbf1025c3b (patch) | |
tree | 51a80bb8e78545e1e05f8b0b1804e26144ece8cb /source4/auth/auth.h | |
parent | 1961d7a4119200b8a4ad7b0207e0cdcf2e10d3f8 (diff) | |
download | samba-6f7423c7f1cc3a4596a955a90f315ffbf1025c3b.tar.gz samba-6f7423c7f1cc3a4596a955a90f315ffbf1025c3b.tar.bz2 samba-6f7423c7f1cc3a4596a955a90f315ffbf1025c3b.zip |
s4-auth Remove duplicate copies of session_info creation code
We now just do or do not call into LDB based on some flags.
This means there may be some more link time dependencies, but we seem
to deal with those better now.
Andrew Bartlett
Diffstat (limited to 'source4/auth/auth.h')
-rw-r--r-- | source4/auth/auth.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/auth/auth.h b/source4/auth/auth.h index 0f6386fb7a..33c398df99 100644 --- a/source4/auth/auth.h +++ b/source4/auth/auth.h @@ -44,8 +44,9 @@ struct loadparm_context; /* version 0 - till samba4 is stable - metze */ #define AUTH_INTERFACE_VERSION 0 -#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_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 */ struct auth_serversupplied_info { |