diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-03-19 18:45:19 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-03-19 18:45:19 +0000 |
commit | 47ea3a2bf242a446f658f1573ec5d3ea533333f0 (patch) | |
tree | e541097b7374b3cecd72e2ed8e011c9cec9e3a18 /source3/passdb/pdb_nisplus.c | |
parent | 45df237d13316a1ec2074aec5023973b7681d860 (diff) | |
download | samba-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_nisplus.c')
-rw-r--r-- | source3/passdb/pdb_nisplus.c | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/source3/passdb/pdb_nisplus.c b/source3/passdb/pdb_nisplus.c index 0a42c36ea0..73d65af1c6 100644 --- a/source3/passdb/pdb_nisplus.c +++ b/source3/passdb/pdb_nisplus.c @@ -24,8 +24,6 @@ #include "includes.h" -#ifdef WITH_NISPLUS_SAM - #ifdef BROKEN_NISPLUS_INCLUDE_FILES /* @@ -1555,11 +1553,7 @@ NTSTATUS pdb_init_nisplussam (PDB_CONTEXT * pdb_context, return NT_STATUS_OK; } -#else -NTSTATUS pdb_init_nisplussam (PDB_CONTEXT * c, PDB_METHODS ** m, - const char *l) +int pdb_nisplus_init(void) { - DEBUG (0, ("nisplus sam not compiled in!\n")); - return NT_STATUS_UNSUCCESSFUL; + return smb_register_passdb("nisplussam", pdb_init_nisplussam, PASSDB_INTERFACE_VERSION); } -#endif /* WITH_NISPLUS_SAM */ |