> Yes using ldap_set_option (take a look at client/tools/common.c). No. Thanks... After discovering the -C option to ldapsearch I did just that (s/common\.c/ldapsearch\.c/). It was easier than I thought.... -D