[Mono-devel-list] Developing in .Net against eDiretories LDAP Server...MONO etc
nrogers at iafrica.com
Fri Dec 3 08:13:23 EST 2004
Apologies if this is not the forum for dev support, it's the closest thing I
could find, so I assume this is it.
Other dev support forums have not been forthcoming at all, ...
I have tried unsuccessfully to implement the C#.Net example for connecting
to an eDirectories LDAP server.
Dev Platform isWin XP, and VisStudio.Net
The University employs LDAP on eDirectory , and requires that other
applications eg SAP, PeopleSoft, WebCT , have a single signon authentication
I have been fairly successful using ADS to retrieve CN's and properties
thereof but not Authenticating against the LDAP Server
oUserDE1 = New
native = oUserDE1.NativeObject 'to retrieve correct/native obj's
but this dn and any other I try is not recognised ...??
I have also attempted Novell.Directory.Ldap and more errors,
Can Anybody help please?
Private Function AuthUserExC_ExASPeg(ByVal Username As String, ByVal sPwd As
String) As String
Dim userDN As String = "CN=" + Username + ",ou=its,ou=main,o=uct "(DN)
Dim ldapConn As LdapConnection = New LdapConnection()
Catch ldapErr As LdapException
Return AuthUserExC_ExASPeg = ldapErr.LdapErrorMessage & " Incorrect
username/password combination." '
at UCT_LDAP_WS.Service1.AuthenticateUser(String Username, String Password)
File or assembly name Mono.Security, or one of its dependencies, was not
If I try the Connection as ("rep2.its.uct.ac.za",389) I get the same error.
I even downloaded MONO (onto the Dev Machine WinXP with VisStudio.Net
installed, and tried the C# code as per the Example under )
University of Cape Town
(F) +27 86 6712 378
(M) +27 82 658 6926
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3124 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-devel-list/attachments/20041203/8209996c/attachment.bin
More information about the Mono-devel-list