From 4bd5f51c43147b74203711764390727bdda17a77 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 24 Mar 2011 14:16:28 +0100 Subject: s3-prototyes: user_in_netgroup and user_in_list moved to auth, out of smbd. Guenther --- source3/auth/proto.h | 2 ++ source3/smbd/proto.h | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') 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); -- cgit