summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/passdb/machine_sid.c2
-rw-r--r--source3/passdb/passdb.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/source3/passdb/machine_sid.c b/source3/passdb/machine_sid.c
index 1fb3569f76..866ae30362 100644
--- a/source3/passdb/machine_sid.c
+++ b/source3/passdb/machine_sid.c
@@ -201,7 +201,7 @@ DOM_SID *get_global_sam_sid(void)
/**
* Force get_global_sam_sid to requery the backends
*/
-void reset_global_sam_sid()
+void reset_global_sam_sid(void)
{
SAFE_FREE(global_sam_sid);
}
diff --git a/source3/passdb/passdb.c b/source3/passdb/passdb.c
index 3df6b5ada9..fde51c508f 100644
--- a/source3/passdb/passdb.c
+++ b/source3/passdb/passdb.c
@@ -27,6 +27,9 @@
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_PASSDB
+static NTSTATUS pdb_set_sam_sids(SAM_ACCOUNT *account_data,
+ const struct passwd *pwd);
+
/******************************************************************
get the default domain/netbios name to be used when
testing authentication. For example, if you connect