summaryrefslogtreecommitdiff
path: root/source3/passdb/pdb_unix.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-03-19 18:45:19 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-03-19 18:45:19 +0000
commit47ea3a2bf242a446f658f1573ec5d3ea533333f0 (patch)
treee541097b7374b3cecd72e2ed8e011c9cec9e3a18 /source3/passdb/pdb_unix.c
parent45df237d13316a1ec2074aec5023973b7681d860 (diff)
downloadsamba-47ea3a2bf242a446f658f1573ec5d3ea533333f0.tar.gz
samba-47ea3a2bf242a446f658f1573ec5d3ea533333f0.tar.bz2
samba-47ea3a2bf242a446f658f1573ec5d3ea533333f0.zip
Put in the new modules system. It's now used by passdb and rpc. I will
put a doc about it in dev-doc later today. (This used to be commit af7bfee0c6902c07fdb8d3abccf4c8d6bab00b5a)
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 07acd08a4e..dcdf5cf50b 100644
--- a/source3/passdb/pdb_unix.c
+++ b/source3/passdb/pdb_unix.c
@@ -123,3 +123,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);
+}