Re: Sun One Webserver 6.1 with openLDAP client auth crashes
- From: "lmarton" <lmarton@xxxxxxxxx>
- Date: 12 Sep 2006 08:45:01 -0700
Well it turns out there were multiple issues.
The Sun One webserver will load nss_ldap.so.1 from /usr/lib if it
finds that the box is on ldap authentication. Theres no way to change
this, it will allways load this library. The problem is that if this
library is not from the original sun LDAP stack during startup the
server will make a function call that is only available in the SUN
package, so if you had to replace that file with something else - in
our case the PADL/OpenLDAP package and nss_ldap library it will crash
during the startup process. However the rest of the system will need
the PADL nss_ldap for proper ssh, ftp authentication.
The solution that I implemented was to modify the server startup so
before it actualy starts the server the script makes a symlink to the
original sun nss_ldap, start the server, sleep 5 to let the services
load, and then restore the symlink to the PADL nss_ldap once the
iplanet server is running. The webserver wil stay alive and the user
authentication will not work for only those 5 seconds. It is not really
elegant but I couldnt find another way to circumvent this. Even if the
LD_LIBRARY_PATH for the webserver was totally modified it would pull
everything else from that LD_LIBRARY_PATH except that single file.
Hope this will help somebody out there that might have run into the
same problem.
Cheers:
Lorand Marton
www.sinvatech.com
.
- Follow-Ups:
- Re: Sun One Webserver 6.1 with openLDAP client auth crashes
- From: Neal A. Lucier
- Re: Sun One Webserver 6.1 with openLDAP client auth crashes
- References:
- Sun One Webserver 6.1 with openLDAP client auth crashes
- From: lmarton
- Re: Sun One Webserver 6.1 with openLDAP client auth crashes
- From: Gary Mills
- Re: Sun One Webserver 6.1 with openLDAP client auth crashes
- From: lmarton
- Re: Sun One Webserver 6.1 with openLDAP client auth crashes
- From: Chris Ridd
- Re: Sun One Webserver 6.1 with openLDAP client auth crashes
- From: lmarton
- Re: Sun One Webserver 6.1 with openLDAP client auth crashes
- From: Chris Ridd
- Re: Sun One Webserver 6.1 with openLDAP client auth crashes
- From: lmarton
- Re: Sun One Webserver 6.1 with openLDAP client auth crashes
- From: Chris Ridd
- Sun One Webserver 6.1 with openLDAP client auth crashes
- Prev by Date: vfstab help
- Next by Date: Re: Sun One Webserver 6.1 with openLDAP client auth crashes
- Previous by thread: Re: Sun One Webserver 6.1 with openLDAP client auth crashes
- Next by thread: Re: Sun One Webserver 6.1 with openLDAP client auth crashes
- Index(es):
Relevant Pages
|