I've some problems with the integration of Novell.Directory.Ldap.NETStandard ( https://github.com/dsbenghe/Novell.Directory.Ldap.NETStandard ) in C#. I'm using UWP and there is no integration of LDAP or On-Premise Active-Directory, therefore i have to use novell-directory.
But i cant get it to work ...
string ldapHost = "domain.local";
int ldapPort = 389;
LdapConnection conn = new LdapConnection();
conn.Connect(ldapHost, ldapPort);
Fails with: Cause = {"Der Zugriff auf einen Socket war aufgrund der Zugriffsrechte des Sockets unzulässig xx.xx.xx.xx:389"}
I also tried port 686 and SSL ... nothing works. Same error ... Any ideas?
Also tried an IP instead of the domain or the name of our Domain-Controller.
I know this is an old question, but it can be usefull for someone else... I don't speak german, but I see something about socket. Did you try to include SecureSocketLayer = true?
like LdapConnection conn = new LdapConnection(){ SecureSocketLayer = true};
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.