I have code (VB.NET, .Net 2.0) that authenticates to Novell Edirectory
over LDAP (below). I need to change it to work over SSL, but I can't
get it to work.
Dim dn As String = "cn=" & username & ",ou=users,o=org"
Dim path As String = "LDAP://sub.domain.com"
Dim entry As DirectoryEntry = New DirectoryEntry(path, dn,
pwd, AuthenticationTypes.FastBind)
I am using the code below to add a value to users' "employeeType" attribute,
but the "UserObject.SetInfo()" line always produces the error "A first chance
exception of type 'System.Runtime.InteropServices.COMException' occurred in
app.exe".
Can anyone tell me where I've went wrong?
Thanks,
Iain
Dim UserObject As ActiveDs.IADs
Dim strBuffer As String