On 10/12/03 11:17 pm, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Hey, > > I tried by authenticating as the root but it still fails.I checked the > config files and it ssays that read on all attributes is allowed for al > lusers. > > I cant understand why just the and operator is failing despite any > restrictions.
You're either not authenticating as the same entity using ldapsearch, or the actual filter being used is different. Maybe there are some characters in the filter item that should be escaped and as a result the two tools are interpreting the filter differently. Can you give an actual example of your ldapsearch command-line, and your perl which does the same bind and search? I don't think there's a way to get ldapsearch to log the protocol messages being sent and received, but if there is then those would be worth seeing. You can get Net::LDAP to output that information if you call $ldap->debug(12) beforehand. Cheers, Chris
