summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/passdb/pdb_interface.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 8a17039068..177c3334d9 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -4575,7 +4575,6 @@ struct event_context *pdb_get_event_context(void);
NTSTATUS make_pdb_method_name(struct pdb_methods **methods, const char *selected);
struct pdb_domain_info *pdb_get_domain_info(TALLOC_CTX *mem_ctx);
bool pdb_getsampwnam(struct samu *sam_acct, const char *username) ;
-bool guest_user_info( struct samu *user );
bool pdb_getsampwsid(struct samu *sam_acct, const DOM_SID *sid) ;
NTSTATUS pdb_create_user(TALLOC_CTX *mem_ctx, const char *name, uint32 flags,
uint32 *rid);
diff --git a/source3/passdb/pdb_interface.c b/source3/passdb/pdb_interface.c
index bd85ded138..130909e7fe 100644
--- a/source3/passdb/pdb_interface.c
+++ b/source3/passdb/pdb_interface.c
@@ -248,7 +248,7 @@ bool pdb_getsampwnam(struct samu *sam_acct, const char *username)
/**********************************************************************
**********************************************************************/
-bool guest_user_info( struct samu *user )
+static bool guest_user_info( struct samu *user )
{
struct passwd *pwd;
NTSTATUS result;