IPv6 in System.DirectoryServices?

I have not had any success in connecting to my ipv6 ldap server. I get an exception of type COMException saying "The server is not operational.", but no ip packets are sent from my application. I have verified that it works with ipv4.
Code;
DirectoryEntry directoryEntry = new DirectoryEntry("LDAP://" + path + "/RootDSE",userName,password,AuthenticationTypes.ServerBind)

Where path is the servers ipv6 address (I've tried with and without square brackets).

Is ipv6 not supported in System.DirectoryServices Or am I missing something here

Regards,
Arnebjarne


Answer this question

IPv6 in System.DirectoryServices?

  • Howard Pinsley

    Most probably the server is not enabled for v6.



  • IPv6 in System.DirectoryServices?