summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-03-24 14:16:28 +0100
committerGünther Deschner <gd@samba.org>2011-03-30 01:13:09 +0200
commit4bd5f51c43147b74203711764390727bdda17a77 (patch)
treeb9bd78951a8b9e8a5a7f20f37152148ea41cdea2 /source3
parent3679c0b8c101f9652858ea74a71556cdcdc88cb3 (diff)
downloadsamba-4bd5f51c43147b74203711764390727bdda17a77.tar.gz
samba-4bd5f51c43147b74203711764390727bdda17a77.tar.bz2
samba-4bd5f51c43147b74203711764390727bdda17a77.zip
s3-prototyes: user_in_netgroup and user_in_list moved to auth, out of smbd.
Guenther
Diffstat (limited to 'source3')
-rw-r--r--source3/auth/proto.h2
-rw-r--r--source3/smbd/proto.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/auth/proto.h b/source3/auth/proto.h
index 585c413c14..88cc7074ed 100644
--- a/source3/auth/proto.h
+++ b/source3/auth/proto.h
@@ -243,6 +243,8 @@ void debug_unix_user_token(int dbg_class, int dbg_lev, uid_t uid, gid_t gid,
/* The following definitions come from auth/user_util.c */
bool map_username(TALLOC_CTX *ctx, const char *user_in, char **p_user_out);
+bool user_in_netgroup(TALLOC_CTX *ctx, const char *user, const char *ngname);
+bool user_in_list(TALLOC_CTX *ctx, const char *user,const char **list);
/* The following definitions come from auth/user_krb5.c */
struct PAC_LOGON_INFO;
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index 37cbb5f416..9366ee6d89 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -662,8 +662,6 @@ void add_session_user(struct smbd_server_connection *sconn, const char *user);
void add_session_workgroup(struct smbd_server_connection *sconn,
const char *workgroup);
const char *get_session_workgroup(struct smbd_server_connection *sconn);
-bool user_in_netgroup(TALLOC_CTX *ctx, const char *user, const char *ngname);
-bool user_in_list(TALLOC_CTX *ctx, const char *user,const char **list);
bool authorise_login(struct smbd_server_connection *sconn,
int snum, fstring user, DATA_BLOB password,
bool *guest);