Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > ADSI General > eDirectory Auth...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 9 Topic 5354 of 5419
Post > Topic >>

eDirectory Authentication in .net

by =?Utf-8?B?bmVsc29uYWQ=?= <nelsonad@[EMAIL PROTECTED] > Aug 5, 2008 at 10:48 AM

Hi, I'm having some issues using S.DS.P LdapConnection to try and 
authenticate a login/password with a server hosting eDirectory.

I've tried this LdapConnection con = new LdapConnection(new 
LdapDirectoryIdentifier(this.SearchRoot), new 
System.Net.NetworkCredential(this.tbUserName.Text, this.tbPassword.Text), 
AuthType.Basic);
where 
SearchRoot = "10.16.173" 
username="customer" 
password="password"
I can successfully log into iManager on the server hosting eDirectory, but

trying in the windows app i get an exception of:
DirectoryOperationException - Confidentiality is required for this
operation

So i tried setting:
con.SessionOptions.SecureSocketLayer = true;
con.SessionOptions.VerifyServerCertificate = new 
VerifyServerCertificateCallback(ServerCallback);

Where ServerCallback just returns true, and now i get an LdapException 
errorcode 81 The LDAP server is unavailable.

Thanks in advance for any advice you can offer, I've been searching for 
quite a while now and keep coming up short.

Adam
 




 9 Posts in Topic:
eDirectory Authentication in .net
=?Utf-8?B?bmVsc29uYWQ=?=   2008-08-05 10:48:01 
Re: eDirectory Authentication in .net
"Joe Kaplan" &l  2008-08-05 15:19:41 
Re: eDirectory Authentication in .net
=?Utf-8?B?bmVsc29uYWQ=?=   2008-08-05 16:16:01 
Re: eDirectory Authentication in .net
"Joe Kaplan" &l  2008-08-05 20:33:04 
Re: eDirectory Authentication in .net
Lance R <lmrobins@[EMA  2008-08-06 08:37:44 
Re: eDirectory Authentication in .net
=?Utf-8?B?bmVsc29uYWQ=?=   2008-08-06 10:23:01 
Re: eDirectory Authentication in .net
Lance R <lmrobins@[EMA  2008-08-06 11:06:05 
Re: eDirectory Authentication in .net
=?Utf-8?B?bmVsc29uYWQ=?=   2008-08-06 13:31:00 
Re: eDirectory Authentication in .net
"Joe Kaplan" &l  2008-08-06 17:29:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Thu Nov 20 16:26:47 CST 2008.