On Mon, 2010-01-25 at 09:12 -0500, Kent Watsen wrote: > Oh, and I should add that the manually-created /var/run/openldap > directory, per the bug's remediation, is removed after every reboot - > something more is needed to keep the directory from disappearing...
/var/run is a tempfs filesystem, and it'll get destroyed after every reboot. It'll have to be re-created every time. Also, it's not surprising that OpenLDAP can't start properly when starting with only "openldap" run credentials... it won't be able to open ports 389 and 636, which are root-only ports. I *believe* you can set up something which allows an ordinary user to bind those ports, but I haven't had need to do it myself and thus I don't know the procedure. Regardless, I think you'd need to either change the /var/run/openldap directory to something like /var/openldap, or instead of running slapd directly out of SMF, use an init script to launch it, and create /var/run/openldap if it doesn't already exist. That's the way we do it here. It looks like SUNWopenldap was packaged incorrectly. It might be worthwhile to file some bugs, if this is a core package. _______________________________________________ opensolaris-discuss mailing list [email protected]
