Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Oct 2003 16:38:22 +0200
From:      Antoine Jacoutot <ajacoutot@lphp.org>
To:        "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   error compiling amd with ldap
Message-ID:  <3F8D5BDE.5030107@lphp.org>

next in thread | raw e-mail | index | archive | help
Hi :)

I tried to recompile amd so it would have LDAP support.
What I did is add the following line in /usr/src/usr.sbin/amd/amd/Makefile :
SRCS+=  info_ldap.c

Unfortunately id does not work :(
I did the following:

$ cd /usr/src/usr.sbin/amd
$ make clean && make depend && make

I then get the following error:

/usr/src/contrib/amd/amd/info_ldap.c:403: `LDAP_SUCCESS' undeclared 
(first use in this function)
/usr/src/contrib/amd/amd/info_ldap.c:410: `LDAP_NO_SUCH_OBJECT' 
undeclared (first use in this function)
/usr/src/contrib/amd/amd/info_ldap.c:423: structure has no member named 
`ldap'
/usr/src/contrib/amd/amd/info_ldap.c:431: syntax error before '=' token
/usr/src/contrib/amd/amd/info_ldap.c:432: structure has no member named 
`ldap'
/usr/src/contrib/amd/amd/info_ldap.c:432: syntax error before "entry"
/usr/src/contrib/amd/amd/info_ldap.c:438: syntax error before "entry"
/usr/src/contrib/amd/amd/info_ldap.c:452: syntax error before "entry"
/usr/src/contrib/amd/amd/info_ldap.c: In function `amu_ldap_mtime':
/usr/src/contrib/amd/amd/info_ldap.c:473: structure has no member named 
`ldap'
*** Error code 1

Stop in /usr/src/usr.sbin/amd/amd.
*** Error code 1

Stop in /usr/src/usr.sbin/amd.

I don't really know what to do, I guess ldap libraries aren't found or 
something, although I do have OpenLDAP installed and working (as a samba 
  PDC and Unix users authentication system).
Thanks in advance for your ideas...

Antoine



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F8D5BDE.5030107>