JNDI with Active Directory PartialResultException

后端 未结 2 1243
小鲜肉
小鲜肉 2021-02-19 01:51

I am basically walking the LDAP tree in Active Directory.

At each level I query for \"(objectClass=*)\". When I do this on the root eg \"dc=example,d

2条回答
  •  萌比男神i
    2021-02-19 02:42

    If you get an exception while referral usage in follow (for example: connection timed out) you can use referral ignore but you dont want to get partial exception you can use 3268 port number instead of 389 this port is using global catalog for ldap. You can find info from following link;

    https://technet.microsoft.com/en-us/library/how-global-catalog-servers-work(v=ws.10).aspx

提交回复
热议问题