Configure NGINX on windows to use LDAP

Aleksandar Lazic al-nginx at none.at
Mon Apr 25 08:23:17 UTC 2016


Hi V.

Am 25-04-2016 04:30, schrieb v_shirin:
> Hello All
> 
> I would like to know what configuration is needed to configure NGINX on
> windows to use LDAP.
> 
> My nginx.conf looks like below but am not able to start the nginx 
> service. I
> have added the 'ldap_server ProdLDAP ' section under http and 2 other
> paramaters named 'auth_ldap_xxx'  under server sectiob. By removing 
> these
> ldap parametes, nginx service starts without any issues.

Please can you post the output of nginx -V thanks

[snipp]

> 	ldap_server ProdLDAP {
>         url
> ldaps://ldapprod.company.com:636/ou=people,o=company?cn=esb-dev?sub?(objectClass=user);
>         binddn "svcaccount";
>         binddn_passwd password;
>         group_attribute uniquemember;
>         group_attribute_is_dn on;
>         require valid_user;
>         }

[snipp]

looks like a custom module.

https://github.com/kvspb/nginx-auth-ldap

What's in the error log?

Best regards
Aleks



More information about the nginx mailing list