[Samba] Error loading LDAP functions, even though they are compiled in

Kyle Miller kylejunk at gmail.com
Tue Jul 13 16:03:22 GMT 2004


Hi,

I'm trying to use LDAP as my passdb backend, but having no luck,
seemingly because the LDAP code doesn't load, even though I have
compiled in LDAP support. I am getting the following error:

[2004/07/13 07:58:29, 2] passdb/pdb_interface.c:make_pdb_methods_name(654)
  No builtin backend found, trying to load plugin
[2004/07/13 07:58:29, 3] lib/module.c:do_smb_load_module(46)
  Error loading module '/usr/lib/samba/pdb/ldap.so':
/usr/lib/samba/pdb/ldap.so: cannot open shared object file: No such
file or directory
[2004/07/13 07:58:29, 0] passdb/pdb_interface.c:make_pdb_methods_name(664)
  No builtin nor plugin backend for ldap found
[2004/07/13 07:58:29, 1] passdb/pdb_interface.c:make_pdb_context_list(765)
  Loading ldap:ldaps://ldap3 failed!

It seems to say that builtin support isn't found, even though I
compiled it in. I was originally using the Fedora RPM, but have also
tried compiling myself using --with-ldap. In either case, smbd reports
that it is built in. A snippet from smbd -b:

Builtin modules:
    pdb_ldap pdb_smbpasswd pdb_tdbsam pdb_guest rpc_lsa rpc_reg
rpc_lsa_ds rpc_wks rpc_net rpc_dfs rpc_srv rpc_spoolss rpc_samr
idmap_ldap idmap_tdb auth_rhosts auth_sam auth_unix auth_winbind
auth_server auth_domain auth_builtin


I "think" that pdb_ldap is what should be giving me this support, but
to no avail so far. The RPM version I'm using was 3.0.3, and I
compiled myself using 3.0.4.

Does anyone have any ideas? I'm having no luck. Any help would be
greatly appreciated.

Thanks,

Kyle


More information about the samba mailing list