> db_ldap_search() can specify the scope too. Erm, it did a while ago at least :-P After cvs upping I saw you removed it some time ago, and now re-added it :) Marc