diff options
author | Andrew Bartlett <abartlet@samba.org> | 2010-09-20 14:49:39 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2010-10-12 02:54:16 +0000 |
commit | 8beaa2924205cf6b01bc6183f7795571a3966ba5 (patch) | |
tree | 1627ed55e7f81d6e5778fd1cb613b1abcd1288f3 /source4/libcli/security/session.h | |
parent | 0487ef0a70a9758da31cff0832ee8decbeb92e82 (diff) | |
download | samba-8beaa2924205cf6b01bc6183f7795571a3966ba5.tar.gz samba-8beaa2924205cf6b01bc6183f7795571a3966ba5.tar.bz2 samba-8beaa2924205cf6b01bc6183f7795571a3966ba5.zip |
s4-libcli/security Use seperate subsystem for session related functions
The merged I plan in this area require spliting security.h into
two header files, a common header and a session.h for the
remaining source4-specific code.
Andrew Bartlett
Diffstat (limited to 'source4/libcli/security/session.h')
-rw-r--r-- | source4/libcli/security/session.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/source4/libcli/security/session.h b/source4/libcli/security/session.h new file mode 100644 index 0000000000..851a37d7eb --- /dev/null +++ b/source4/libcli/security/session.h @@ -0,0 +1,33 @@ +/* + Unix SMB/CIFS implementation. + + session_info utility functions + + Copyright (C) Andrew Bartlett 2008-2010 + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 3 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ + +#include "libcli/security/session_proto.h" + +enum security_user_level { + SECURITY_ANONYMOUS = 0, + SECURITY_USER = 10, + SECURITY_RO_DOMAIN_CONTROLLER = 20, + SECURITY_DOMAIN_CONTROLLER = 30, + SECURITY_ADMINISTRATOR = 40, + SECURITY_SYSTEM = 50 +}; + +struct auth_session_info; |