When you are configuring Apache-Aactive directory integration you may find this error. This is bit strange error, this type of errors will come when the LDAP URL is not mention properly. There may be a special character in the line which you coped from some file/doc/blog causing this issue.

If you see below lines both look same

AuthLDAPURL “ldap://server.example.com:3268/dc=example,dc=com?sAMAccountName?sub?(objectClass=*)”
AuthLDAPURL "ldap://server.example.com:3268/dc=example,dc=com?sAMAccountName?sub?(objectClass=*)"

But there is a hidden new line in first AuthLDAPURL line. so be careful when coping this line.

So how to resolve this issue?

To resolve this issue just remove entire AuthLDAPURL line in httpd.conf file and recreate it manually by typing what line you want.