summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);