Hi,
Can anyone help me with an LDAP Authentication problem I am experiencing in VB.
I am trying to authenticate a user using LDAP. I am executing the following code and when I execute the last line I am getting an 'Automation Error'.
I am very new to LDAP and don't have much experience. Is this the way to do it or is there a better way.
Please help me.
Thanks
James
Dim dso As IADsOpenDSObject
Dim obj1 As IADs
Set dso = GetObject("LDAP:"
Set obj1 = dspenDSObject("LDAP://ldap.slb.com/o=slb,c=AN", struserName, strPassword, ADS_SECURE_AUTHENTICATION)
Can anyone help me with an LDAP Authentication problem I am experiencing in VB.
I am trying to authenticate a user using LDAP. I am executing the following code and when I execute the last line I am getting an 'Automation Error'.
I am very new to LDAP and don't have much experience. Is this the way to do it or is there a better way.
Please help me.
Thanks
James
Dim dso As IADsOpenDSObject
Dim obj1 As IADs
Set dso = GetObject("LDAP:"
Set obj1 = dspenDSObject("LDAP://ldap.slb.com/o=slb,c=AN", struserName, strPassword, ADS_SECURE_AUTHENTICATION)