[Date Prev][Date Next] [Chronological] [Thread] [Top]

New error (ldap_get_values_len returns NULL)



Ok, so, with the small ldap server I have setup on my laptop, this code
works fine.  When I point it to the "real" LDAP server, it stops working.

This:

  attr_values = ldap_get_values_len(ldap_conn, entry, mod_auth_conf.ldap.active_attr);

fails with: Decoding error

the attribute I hand it exists in the record it's searching for.

How do I determine why this is failing?

Thanks!

-brian
-- 
"Perl can be fast and elegant as much as J2EE can be fast and elegant.
In the hands of a skilled artisan, it can and does happen; it's just
that most of the shit out there is built by people who'd be better
suited to making sure that my burger is cooked thoroughly."  -- Jonathan Patschke