Feathers, Rangers, and Ivory Towers

About
Musings about open-source, baseball, and life as a grad student.
By: Justin R. Erenkrantz
Subscribe (Atom)
Weblog Home

October
Sun Mon Tue Wed Thu Fri Sat
           
9
         

Themes

Links

Sun, 09 Oct 2005

SMF description for OpenLDAP

I finally got around to writing an smf description for OpenLDAP and a suitable start script.

We have a local LDAP server on this machine and the box also uses the same LDAP server for accounts.

Prior to Solaris 10, this could be easily managed by having slapd start before the LDAP client.

No more in Solaris 10 due to the idiocy of smf. Without this file, the LDAP client will start first and then the whole system will go wonky as the name-service system won't contact the LDAP server. Ouch.

So, download this file and then do:

# svccfg import slapd-smf.xml
# cp slapd.sh /lib/svc/method/slapd
# chmod +x /lib/svc/method/slapd

Powered by Bloxsom Creative Commons Attribution License Valid XHTML 1.0 Strict! Valid CSS! [Blue Ribbon Campaign icon]