i am using ads2 as my credentials repository, so i created a 
ou=mycompany,ou=com partition, and i store user accounts in the form of 
inetOrgPerson at ou=users,ou=mycompany,ou=com. i am connecting via JNDI 
successfully as as long as setAllowAnonymousAccess is  set to true. the problem 
is that this setting also allows for anonymous access to to ldap via directory 
studio, which is not acceptable in my case. yet the moment 
setAllowAnonymousAccess is set to false, i am not able to connect to that ldap 
instance via JNDI despite disclosing valid credentials. how can i maintain the 
ability to authenticate users while keeping anonymous users from accessing my 
ldap instance? thanks!
                                          

Reply via email to