[pubcookie-users] Problem with LDAP authentication Pubcookie 3.2.0

Rand randchilds at mac.com
Mon May 9 09:04:48 PDT 2005


Perhaps someone can help with this issue.  I had sucessfully built 
Pubcookie 3.1.1 with openLDAP 2.1.25 and index.cgi sucessfully 
validated a user against an openLDAP database using the V2 protocol.

I recently upgraded Pubcookie to 3.2.0 and openLDAP to 2.2.24 and now 
index.cgi no longer validates.  The log shows:

May  9 10:37:04 amon pubcookie login server[19589]: [ID 702911 
local0.info] ldap_verifier: uri: 
"ldap://ip.addresst/dc=sirsi%2cdc=com???(uid=sirsi)"
May  9 10:37:04 amon pubcookie login server[19589]: [ID 702911 
local0.info] ldap_connect: hello

The web  browser is hung waiting on index.cgi.  Looking at index.cgi, 
it appears to be looping the CPU even after canceling the browser 
connection.  Killing index.cgi with a -4 to generate a core file shows 
the following traceback with adb:

$c
ldap_connect+0x58(0, ffbfee48, 174ce0, ffbfef8c, 81010100, ff00)
ldap_v+0x404(0, 174a38, 174a48, 0, 0, 0)
process_basic+0x324(0, 16e3d8, 16ec58, 0, ffbfef8c, ff00)
vector_request+0x15c(0, 16e3d8, 16ec58, 0, 174a38, ffbffe99)
cgiMain+0x8dc(175b18, 174c18, 1579b8, 0, 0, 0)
main+0x3d4(1, ffbff12c, ffbff134, 145400, 0, 0)
_start+0x108(0, 0, 0, 0, 0, 0)

I can replace "index.cgi" from 3.2.0 with the one built at 3.1.1 and it 
works with the following configuration:

ldap_verifier: uri: "ldap://ip.addresst/dc=sirsi,dc=com???(uid=sirsi)"

I've tried both "," and "%2c" in the URI with the 3.2.0 index.cgi but 
same thing happens.

Anyone have any ideas?  Is this a bug that needs fixing?

Thanks

Rand





More information about the pubcookie-users mailing list