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.

The following two tabs change content below.
Mr Surendra Anne is from Vijayawada, Andhra Pradesh, India. He is a Linux/Open source supporter who believes in Hard work, A down to earth person, Likes to share knowledge with others, Loves dogs, Likes photography. He works as Devops Engineer with Taggle systems, an IOT automatic water metering company, Sydney . You can contact him at surendra (@) linuxnix dot com.