OpenSolaris

Printable Version Enter a New Search
Bug ID 6619071
Synopsis Connection management works incorrectly in multiple authentication methods case if 1st one fails
State 10-Fix Delivered (Fix available in build)
Category:Subcategory ldap:switch
Keywords sparks | sparks-putback
Responsible Engineer Chin-long Shu
Reported Against
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_93
Fixed In snv_93
Release Fixed solaris_nevada(snv_93)
Related Bugs 6681185 , 6712098
Submit Date 19-October-2007
Last Update Date 3-July-2008
Description
When there are more than one authentication methods configured in the profile and 1st one fails to bind to the LDAP server, it falls back to 2nd one and so on.
But the 2nd try with the new authetication method does not reuse the existing connection and add a new connection after it binds the LDAP server sucessfully. 
It adds a new connection for every search or enumeration and eventually opens too many connections in the same process.
e.g.

"tls:simple;simple" are defined.
tls:simple fails and it falls back to use simple.
After "get passwd" a couple of times and nscd does not return LDAP entries.

"pfiles $(pgrep nscd)" shows hundred of conenctions are open. But it is supposed to open one with port 389.
Work Around
N/A
Comments
N/A