From owner-freebsd-questions@FreeBSD.ORG Sat Oct 25 01:45:31 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AFDE416A4B3 for ; Sat, 25 Oct 2003 01:45:31 -0700 (PDT) Received: from mx1.lphp.org (APastourelles-107-1-4-201.w193-253.abo.wanadoo.fr [193.253.178.201]) by mx1.FreeBSD.org (Postfix) with ESMTP id 98F9243FA3 for ; Sat, 25 Oct 2003 01:45:29 -0700 (PDT) (envelope-from ajacoutot@lphp.org) Received: from srv01.lphp.org.local (localhost [127.0.0.1]) by mx1.lphp.org (8.12.8p2/8.12.8) with ESMTP id h9P8jpAA029557 for ; Sat, 25 Oct 2003 10:45:51 +0200 (CEST) (envelope-from ajacoutot@lphp.org) Received: (from www@localhost) by srv01.lphp.org.local (8.12.8p2/8.12.8/Submit) id h9P8jkV8029556 for freebsd-questions@freebsd.org; Sat, 25 Oct 2003 10:45:46 +0200 (CEST) (envelope-from ajacoutot@lphp.org) Received: from sta01.lphp.org.local (sta01.lphp.org.local [192.168.0.4]) by webmail.lphp.org (IMP) with HTTP for ; Sat, 25 Oct 2003 10:45:45 +0200 Message-ID: <1067071545.3f9a383a03c1c@webmail.lphp.org> Date: Sat, 25 Oct 2003 10:45:46 +0200 From: Antoine Jacoutot To: "freebsd-questions@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit User-Agent: Internet Messaging Program (IMP) 3.2.1 / FreeBSD-4.8 Subject: compile automounter with LDAP support X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Oct 2003 08:45:31 -0000 Hi :) I sent the following message to the list some time ago but got no answer. I sending it again in case someone could help me on this. Basically, I would like to recompile adm, shipped with the base system, with LDAP support (after installing the openldap port). 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 -- Antoine Jacoutot ajacoutot@lphp.org http://www.lphp.org PGP/GnuPG key: http://www.lphp.org/ressources/ajacoutot.asc