Connection to LDAP

Dec 12, 2012 at 1:23 AM

I would really appreciate some guidance:

Trying to connect to LDAP server using below but keep receiving LDAP not available(Apache Server is running). Originally I connection using LDAP://localhost:10389/

* sorry about pasting code.

 var configuration = new LdapConfiguration().UseStaticStorage().LogTo(new SimpleTextLogger(Console.Out) { TraceEnabled = false }).AddMapping(new AttributeClassMap<User>()); 

configuration.ConfigurePooledFactory("localhost") .MaxPoolSizeIs(100);

 User user = new User();            using (var context = new DirectoryContext())            {                int entryCount = context.Query<User>().Count();            }

Dec 12, 2012 at 3:34 AM

Ignore, didn't have security setup correctly.