g*****r 发帖数: 130 | 1 生命中遇到不能解决的问题,请大家帮忙, 谢谢:
The following C# call throws COMException with error message “A referral
was returned from the server.”
DirectoryEntry.Exists(LDAP://DC=DomainName1,DC=DomainName2,DC=com)
The domain/forest “DC=DomainName1,DC=DomainName2,DC=com” does exists but
it’s in a different domain/forest from the client who is making the call.
What’s the solution for this problem? | x******o 发帖数: 94 | | z*******6 发帖数: 133 | 3 LDAP? Authentication problem?
We use following line to open a DirectoryEntry, wish that might help
C#
DirectoryEntry entry = new DirectoryEntry(ldapPath, username, password,
AuthenticationTypes.None);
F#
let entry = new DirectoryEntry(ldapPath, username, password,
AuthenticationTypes.None); |
|