Patch port nss_ldap's Makefile for ldap.conf location

Jean-Baptiste Quenot jb.quenot at caraldi.com
Fri Jul 18 09:04:58 PDT 2003


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


More information about the freebsd-ports mailing list