From owner-freebsd-ports@FreeBSD.ORG Fri Jul 18 09:04:58 2003 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 29CE837B404; Fri, 18 Jul 2003 09:04:58 -0700 (PDT) Received: from mail.caraldi.com (caraldi.com [62.212.102.95]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DD8B43F85; Fri, 18 Jul 2003 09:04:55 -0700 (PDT) (envelope-from jbq@caraldi.com) Received: from watt.intra.caraldi.com (watt.intra.caraldi.com [192.168.100.101]) by mail.caraldi.com (Postfix) with ESMTP id EAEE02391; Fri, 18 Jul 2003 18:04:50 +0200 (CEST) Received: by watt.intra.caraldi.com (Postfix, from userid 1001) id BA6E7F; Fri, 18 Jul 2003 18:04:50 +0200 (CEST) Date: Fri, 18 Jul 2003 18:04:50 +0200 From: Jean-Baptiste Quenot To: "Jacques A. Vidrine" Message-ID: <20030718160450.GA52232@watt.intra.caraldi.com> References: <20030710110751.GA6966@watt.intra.caraldi.com> <3F0D68D7.50502@fillmore-labs.com> <20030715214112.GF86657@madman.celabo.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030715214112.GF86657@madman.celabo.org> User-Agent: Mutt/1.5.4i cc: ports@freebsd.org cc: Oliver Eikemeier Subject: Re: Patch port nss_ldap's Makefile for ldap.conf location X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Jul 2003 16:04:58 -0000 * Jacques A. Vidrine: > Now, if I wanted to reference _OpenLDAP's_ configuration file, then > sure, I'd use ${LOCALBASE}. But that would be > ${LOCALBASE}/etc/openldap/ldap.conf. > > Below is the patch that I'm considering committing. I would appreciate > feedback --- I don't want to cause a lot of churn. I'm asking myself if the format of OpenLDAP's client config file is the same as PADL's one. For me, nss_ldap and pam_ldap should use the same config because these apps come from PADL. If I understand correctly your point, each LDAP client should have its own config file? OpenLDAP client in $(LOCALBASE)/etc/openldap/ldap.conf, pam_ldap in $(LOCALBASE)/etc/pam_ldap.conf and nss_ldap in $(LOCALBASE)/etc/nss_ldap.conf? That makes three files or more in the future to keep in sync when changing the server URI... I'd prefer only one file, the one from OpenLDAP. Does it make sense to have a different LDAP server for every client program? It _could_ make sense to have separate config files if we consider eg binding anon or root depending on the client program involved, or setting a specific option. Comments welcome, -- Jean-Baptiste Quenot http://caraldi.com/jbq/