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