Basically I want to connect to an LDAP database from C# .Net and return an array of objects.
We have a third party piece of software which is successfully doing this in PHP, the PHP code is below:
$ds = @ldap_connect("127.0.0.1",4000)
@ldap_bind($ds,"XXXXX","88888")
$sr=@ldap_list($ds,"cn=Registrations","objectclass=RegistrationRecord",$att);
$info=@ldap_get_entries($ds,$sr);
Where the heck do I start repeating this in C#? I'm not even looking for a full solution, just a nudge in the right direction from somebody would help massively as I am lost!
Thanks
John