httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerhard Mourani <gmour...@gmail.com>
Subject [users@httpd] mod_authnz-ldap & %20
Date Tue, 08 Nov 2016 16:37:54 GMT
Hello,

I've a problem to make mod_authnz-ldap work with space in AuthLDAPUrl parameter. Here my config:

Alias /cvsweb/ "/usr/share/cvsweb/"

<Directory "/usr/share/cvsweb/">
   Options Indexes FollowSymLinks ExecCGI
   AllowOverride Options
   Order deny,allow
   Deny from all
   AuthType Basic
   AuthBasicProvider file ldap
   AuthUserFile /etc/httpd/htcvsweb
   AuthName "Network Configuration Manager"
   Require valid-user
   Allow from 127.0.0.1
   Satisfy any
   AuthLDAPUrl "ldap://1.2.3.4:389/OU=Privilege Groups,OU=Users Specials,DC=domain,DC=com?sAMAccountName?sub"
   AuthLDAPBindDN "domain\ldapuser"
   AuthLDAPBindPassword "ldappasswd"
   AuthBasicAuthoritative On
   AuthzLDAPAuthoritative off
   RewriteEngine On
   RewriteCond %{HTTPS} off
   RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
</Directory>

I've tried to use %20 as follow without success.
AuthLDAPUrl "ldap://1.2.3.4:389/OU=Privilege%20Groups,OU=Users%20Specials,DC=domain,DC=com?sAMAccountName?sub"

I've tried to use \ as follow without success.
AuthLDAPUrl "ldap://1.2.3.4:389/OU=Privilege\ Groups,OU=Users\ Specials,DC=domain,DC=com?sAMAccountName?sub"

I've tried to use %C5 as follow without success.
AuthLDAPUrl "ldap://1.2.3.4:389/OU=Privilege%C5Groups,OU=Users%C5Specials,DC=domain,DC=com?sAMAccountName?sub"

Does someone experimented the same problem?

Thanks.
Mime
View raw message