{ // Example: Provide LDAP server with a userdn so that you do not // have to perform anonymous binds. return 'uid=' . $authid . ',ou=$domain,ou=customers,dc=mecnet,dc=net'; } Dave