Password Backends - anymore info out there?

Jelmer Vernooij jelmer at samba.org
Fri Jan 7 19:23:46 GMT 2005


Hi,

On Fri, Jan 07, 2005 at 03:01:05PM -0500, Paul Griffith wrote about 'Re: Password Backends - anymore info out there?':

> Hmmm....

> Looking at your code and the examples I made a plug-in, but Samba is
> unable to load the plug-in.

> [2005/01/07 13:33:23, 2, effective(0, 0), real(0, 0)]
> passdb/pdb_interface.c:make_pdb_methods_name(654)
>   No builtin backend found, trying to load plugin
> [2005/01/07 13:33:23, 5, effective(0, 0), real(0, 0)]
> lib/module.c:smb_probe_module(101)
>   Probing module 'pdb_udb'
> [2005/01/07 13:33:23, 5, effective(0, 0), real(0, 0)]
> lib/module.c:smb_probe_module(112)
>   Probing module 'pdb_udb': Trying to load from
>   /usr/local/samba/lib/pdb/pdb_udb.so
> [2005/01/07 13:33:23, 2, effective(0, 0), real(0, 0)]
> lib/module.c:do_smb_load_module(63)
>   Module '/usr/local/samba/lib/pdb/pdb_udb.so' loaded
> [2005/01/07 13:33:23, 0, effective(0, 0), real(0, 0)]
> passdb/pdb_interface.c:make_pdb_methods_name(664)
>   No builtin nor plugin backend for pdb_udb found
> [2005/01/07 13:33:23, 1, effective(0, 0), real(0, 0)]
> passdb/pdb_interface.c:make_pdb_context_list(765)
>   Loading pdb_udb failed!

> It looks like make_pdb_methods_name in  source/passdb/pb_interface.c 
> is failing to find the entry to the backend. 

> In my pdb_udb.c file I have:

> NTSTATUS pdb_udb_init(void)
> {
>    return smb_register_passdb(PASSDB_INTERFACE_VERSION, "udb",udb_init);
> }
That should be either "pdb_udb"  or you should specify "passdb backend
= udb"  below.

Cheers,

Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20050107/7259e40d/attachment.bin


More information about the samba-technical mailing list