I suggest we make ldapsearch split comments with "\n# " instead of "\n ". That way scripting like ldapsearch ... | grep -v '^#' will correctly remove comments. Currently that breaks. Look at e.g. ldapsearch -xhldap.uio.no -b"dc=uio,dc=no" "(ou=*sentrum/*)" -- Hallvard