summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-02-09 14:43:18 +0000
committerVolker Lendecke <vlendec@samba.org>2004-02-09 14:43:18 +0000
commit42f763e6f0d0f270190da91343207ca9fae58506 (patch)
treee74886b7279eb38403479999b15d5bf7cd1d8daf /source3/passdb
parentcdcec269e0772dac2001aeb433e92144c387a5f9 (diff)
downloadsamba-42f763e6f0d0f270190da91343207ca9fae58506.tar.gz
samba-42f763e6f0d0f270190da91343207ca9fae58506.tar.bz2
samba-42f763e6f0d0f270190da91343207ca9fae58506.zip
Fix the build & get rid of a compiler warning.
Volker (This used to be commit 38c9b775ce029e1d480d89d4adb0d1bd45a28fe6)
Diffstat (limited to 'source3/passdb')
-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