Password Backends - anymore info out there?

Jelmer Vernooij jelmer at samba.org
Mon Jan 10 16:45:17 GMT 2005


On Mon, Jan 10, 2005 at 09:26:52AM -0500, Paul Griffith wrote about 'Re: Password Backends - anymore info out there?':
> On Fri, Jan 07, 2005 at 08:23:46PM +0100, Jelmer Vernooij wrote:
> > 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.

> > > [...]

> > > 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


> I must be doing something wrong. I get the same error message as
> above. Do I need to change 

> (*pdb_method)->name = "udb"; to (*pdb_method)->name = "pdb_udb"; ???

Yes. Either that or you should specify "udb" as "passdb backend" (and
name the plugin file udb.so).

Cheers,

Jelmer

-- 
Jelmer Vernooij <jelmer at samba.org> - http://jelmer.vernstok.nl/
Just 352 more Samba commits left before r5000!
-------------- 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/20050110/f1f2188e/attachment.bin


More information about the samba-technical mailing list