> OK, I found the issue: when all you have is mapname, and you have to use
> default server and base, you should use LDAP_SCOPE_SUBTREE scope for
> your query, not LDAP_SCOPE_ONELEVEL

Why?

As I said before, it works for me as it is. I see no need to change it.

I've just had my wrist slapped for suggesting doing three queries for the 
three "common" schemas, so changing from a one level search (which should be 
very fast as I'd not expect much at the top level) to searching the WHOLE tree 
(which I expect to be several orders of magnitude slower) would seem not to be 
a good idea.


If you do the search manually, does it work?
Are the two programmes using the same conf file (e.g. std /etc/ldap.conf vs 
/etc/openldap/ldap.conf)?

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to