[bug-notifications] [openldap_client 0004759]: Ldap tools only check /etc/opt/csw/openldap

Mantis Bug Tracker noreply at opencsw.org
Tue Apr 19 21:58:50 CEST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4759 
====================================================================== 
Reported By:                bryanwgraham
Assigned To:                dam
====================================================================== 
Project:                    openldap_client
Issue ID:                   4759
Category:                   regular use
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
====================================================================== 
Date Submitted:             2011-04-19 20:36 CEST
Last Modified:              2011-04-19 21:58 CEST
====================================================================== 
Summary:                    Ldap tools only check /etc/opt/csw/openldap
Description: 
I'm not sure when the change occurred, but apparently now these ldap tools
only check for an ldap.conf in /etc/opt/csw/openldap.  Given that, for
quite some time, it looked in /opt/csw/etc/openldap, it seems reasonable
that it should check /etc/opt/csw/openldap first, and if an ldap.conf is
not found, check /opt/csw/etc/openldap afterward.  Alternatively, if the
client reported that it couldn't find an ldap.conf in
/etc/opt/csw/openldap, I wouldn't have had to use truss to figure out it
was looking in the wrong place (and only that place).
====================================================================== 

---------------------------------------------------------------------- 
 (0008970) bryanwgraham (reporter) - 2011-04-19 21:58
 https://www.opencsw.org/mantis/view.php?id=4759#c8970 
---------------------------------------------------------------------- 
That's actually kind of a tough nut to crack.  I'd like to drop an
UPDATES.txt into the old directory (/opt/csw/etc/openldap),  but I
understand that if they're using a sparse root zone, then /opt/csw is
probably read-only.  I mean you can try to put something during the actual
install, but commonly that's scripted, so people might not see it.  We got
nailed on this because we updated our opencsw mirror and then ran a "yes |
pkg-get -Uu" to update from the new mirror, so we would have missed it. 
Maybe someone else will have some better ideas.



More information about the bug-notifications mailing list