s3-prototyes: user_in_netgroup and user_in_list moved to auth, out of smbd.
authorGünther Deschner <gd@samba.org>
Thu, 24 Mar 2011 13:16:28 +0000 (14:16 +0100)
committerGünther Deschner <gd@samba.org>
Tue, 29 Mar 2011 23:13:09 +0000 (01:13 +0200)
Guenther

source3/auth/proto.h
source3/smbd/proto.h

index 585c413c14b24ab7f1e100c1c4662bccd458a3cd..88cc7074ed147c9e582dee203f0247c472b76104 100644 (file)
@@ -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;
index 37cbb5f416fc05e0ae149cc328fef914fd32a95f..9366ee6d894d3fe83a9fc19c2f1c334c16110602 100644 (file)
@@ -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);