mod_authnz-ldap & %20

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux