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

Binding when following a referral



I am trying to follow a referral when I bind.  First I use
ldap_search_s to see if a user exists, grab the DN and password for the
user, kill
my ldap session, open a new one, and try to bind to the server with the
retrieved DN and password.  If the DN is on a referral server, I get a
LDAP_NO_SUCH_OBJECT error, but, if it doesn't have to follow a referral,
it works fine.  I am using the Microsoft LDAP API.  What piece am I
missing?

Thanks,

Paul Corazzol