summaryrefslogtreecommitdiff
path: root/source3/passdb/pdb_guest.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/passdb/pdb_guest.c')
-rw-r--r--source3/passdb/pdb_guest.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/passdb/pdb_guest.c b/source3/passdb/pdb_guest.c
index 3f0f06d18d..f5a15057e0 100644
--- a/source3/passdb/pdb_guest.c
+++ b/source3/passdb/pdb_guest.c
@@ -121,3 +121,9 @@ NTSTATUS pdb_init_guestsam(PDB_CONTEXT *pdb_context, PDB_METHODS **pdb_method, c
/* There's not very much to initialise here */
return NT_STATUS_OK;
}
+
+int pdb_guest_init(void)
+{
+ return smb_register_passdb("guest", pdb_init_guestsam, PASSDB_INTERFACE_VERSION);
+}
+