locked
Import Users from Active Directory/LDAP with SSL port RRS feed

  • Question

  • When we are trying to import LDAP users from Active Directiry through VB.Net in Which SSL is applied. then it is giving server is not operational or unknow username. Means it is not authenticated. When we import without ssl then it is allowed. We are using following text for DirectoryEntry Object.

    Dim deEntry As New DirectoryEntry("LDAP://199.199.50.50:636", "199.199.50.50\" & strUserId, strPassword)

    deEntry.AuthenticationType = AuthenticationTypes.SecureSocketLayer

    So pl help that why it is not able to  import. Is there anything missing ?

    Thanks

    Ankit

    • Moved by Chao Kuo Wednesday, November 10, 2010 7:59 AM off topic (From:Visual Basic General)
    Thursday, November 4, 2010 8:31 AM

All replies

  • Do you have Certificate Server installed?
    Paul ~~~~ Microsoft MVP (Visual Basic)
    Thursday, November 4, 2010 12:29 PM
  • Hello,

    Here is the just right forum for Active Directory.

    Active Directory and LDAP

    You can post the question here.

    Thanks
    Chao


    Please unmark it if it does not help, and mark it if it helps.
    Tuesday, November 9, 2010 3:31 AM
  • Yes i have installed SSL on Active Directory and also CLient Certificate on Application server. but still i am getting error on following statement after above 2 statement.

    deEntry.Properties.count

     

    thanks in advance

     

    Thanks

    Ankit

     

    Thursday, November 11, 2010 1:10 PM