Sun One Webserver 6.1 on solaris9 with openLDAP client auth crashes
Hi All!
We are trying to implement openldap client auth at our network. The
host that is running the webserver (Sun One Webserver 6.1) has to allow
users to log in (ftp, and http, some people even have console access).
The users are in AD. This is fine, the users can authenticate, ftp is
OK. The Box is running Solaris 9.
Our problems start were we have to RESTART the webserver while the
host is on ldap authentication. If the nsswitch and pam.config are set
for NIS authentication the webserver will restart with no problem. If
the host is on openldap auth then the webserver startup will crash.
Apparently the Webserver uses the native sun LDAP and the two libs
cannot coexist in the same process.
An ugly solution would be to create a script that watches the daemon,
and if its down, set the box on NIS auth, restart the http daemon and
switch back to openldap. It is ugly and I think it has to be a better
solution than this. Does anybody running Sun One Webserver with
openldap client libs? If yes - How did you do it?
We tried changing the LD_LIBRARY_PATH but it doesnt help. The solaris 9 box is authenticating against a Microsoft Active Directory - the pam stack and everything lese is fine except when you restart the webserver we have this error:
Sun ONE Web Server 6.1SP4 B01/20/2005 17:43
catastrophe: CORE3260: Server crash detected (signal SIGSEGV)
info: CORE3262: Crash occurred in function strlen from module
/usr/lib/libc.so.1
Thanks in advance.
Lorand Marton

