LDAP Fixes

Jelmer Vernooij jelmer at nl.linux.org
Mon Jul 7 20:56:05 GMT 2003


On Mon, Jul 07, 2003 at 03:56:33PM -0500, Matt Roberts wrote about 'LDAP Fixes':
> Jelmer said:
> > Apparently, LDAP detection fails on your system. Hardcoding the
> > defines that specify whether LDAP has been found as you do in
> > your patch is not the solution to this problem. Is LDAP detected
> > properly by ./configure (read config.log) ?
> You are right about that, anything in the configure script that deals with
> -lldap fails because my LDAP lib requires an additional -lresolv to build
> correctly.  There is a similar test for -llber, but not one for the
> -lresolv lib.

> But reading configure.in, I'm not quite sure how to fix that problem.  I'm
> rusty on autoconf.  Is that something you could fix easily, or should I
> dig into my autoconf book and try to patch configure.in?
Yep, configure.in would be the file you need to patch.

> Also, when I do get the program built, SMBD complains that it can't make a
> domain object in the directory, because the attribute:

> sambaAlgorithmicRidBase

> is not defined.  Sure enough, I can't find that in the schema included in
> the CVS tree I pulled today.  Can you point me toward a patch for the
> schema?  Or at least an OID that I could add to make it work?
The LDAP schema has changed lately. Check examples/LDAP in the latest
CVS for the most recent schema.

jelmer

-- 
Jelmer Vernooij <jelmer at nl.linux.org> - http://jelmer.vernstok.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20030707/ae396a4e/attachment.bin


More information about the samba-technical mailing list