summaryrefslogtreecommitdiff
path: root/source3/passdb/pdb_unix.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-04-15 16:01:14 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-04-15 16:01:14 +0000
commit9c3cecbdac2ea888f95db2194bf9f5d2457aef09 (patch)
treed6cc4e5e34a32cd4a74e18c65f0794c68108f6a2 /source3/passdb/pdb_unix.c
parenta0e8344a8d1e8fbbde4cc4ca5a5722ee1e2c2bcf (diff)
downloadsamba-9c3cecbdac2ea888f95db2194bf9f5d2457aef09.tar.gz
samba-9c3cecbdac2ea888f95db2194bf9f5d2457aef09.tar.bz2
samba-9c3cecbdac2ea888f95db2194bf9f5d2457aef09.zip
Use the new modules system for passdb (merge from HEAD)
(This used to be commit 1755d5f66221a910863cfc8a197f8d792e6b6e3d)
Diffstat (limited to 'source3/passdb/pdb_unix.c')
-rw-r--r--source3/passdb/pdb_unix.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/passdb/pdb_unix.c b/source3/passdb/pdb_unix.c
index 86a86d60d4..ed83024248 100644
--- a/source3/passdb/pdb_unix.c
+++ b/source3/passdb/pdb_unix.c
@@ -124,3 +124,8 @@ NTSTATUS pdb_init_unixsam(PDB_CONTEXT *pdb_context, PDB_METHODS **pdb_method, co
/* There's not very much to initialise here */
return NT_STATUS_OK;
}
+
+int pdb_unix_init(void)
+{
+ return smb_register_passdb("unixsam", pdb_init_unixsam, PASSDB_INTERFACE_VERSION);
+}