diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2003-04-28 17:48:48 +0000 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2003-04-28 17:48:48 +0000 |
commit | 17a3acafa89bfc6090b0767d05a00a7505003fcc (patch) | |
tree | 8c1ddf10d38ef69a9e72a009d6dc890e5bbe901c /source3/passdb/pdb_ldap.c | |
parent | cff01c538f3647f5169a8e5a3ab4b77ad0cebce5 (diff) | |
download | samba-17a3acafa89bfc6090b0767d05a00a7505003fcc.tar.gz samba-17a3acafa89bfc6090b0767d05a00a7505003fcc.tar.bz2 samba-17a3acafa89bfc6090b0767d05a00a7505003fcc.zip |
Use NTSTATUS as return value for smb_register_*() functions and init_module()
function. Patch by metze with some minor modifications.
(This used to be commit bc4b51bcb2daa7271c884cb83bf8bdba6d3a9b6d)
Diffstat (limited to 'source3/passdb/pdb_ldap.c')
-rw-r--r-- | source3/passdb/pdb_ldap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c index a936fb298c..bdbd5b265c 100644 --- a/source3/passdb/pdb_ldap.c +++ b/source3/passdb/pdb_ldap.c @@ -3239,8 +3239,8 @@ static NTSTATUS pdb_init_ldapsam_nua(PDB_CONTEXT *pdb_context, PDB_METHODS **pdb int pdb_ldap_init(void) { - smb_register_passdb("ldapsam", pdb_init_ldapsam, PASSDB_INTERFACE_VERSION); - smb_register_passdb("ldapsam_compat", pdb_init_ldapsam_compat, PASSDB_INTERFACE_VERSION); - smb_register_passdb("ldapsam_nua", pdb_init_ldapsam_nua, PASSDB_INTERFACE_VERSION); + smb_register_passdb(PASSDB_INTERFACE_VERSION, "ldapsam", pdb_init_ldapsam); + smb_register_passdb(PASSDB_INTERFACE_VERSION, "ldapsam_compat", pdb_init_ldapsam_compat); + smb_register_passdb(PASSDB_INTERFACE_VERSION, "ldapsam_nua", pdb_init_ldapsam_nua); return True; } |