You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by ossi petz <os...@hallo.ms> on 2007/04/19 18:34:26 UTC

user usernames with special characters in access file?

hallo

after some messing around i was able to configure subversion and auth 
users agains an active directory.

after an upgrade to apache 2.2 i was able to allow usernames like 
"mmüller" to pass the mod_auth_ldap authentication in apache (using the 
apache 2.2 AuthLDAPCharsetConfig config).

after this step subversion verifies the username and repository access 
and fails everytime (Access denied: 'mm\xfcller' GET svn:/). dont get 
confused, the \xfc is an ü in the used charset, it gets escaped by the 
apache logger for improved log file safety.
usernames without special chars work.


is there no way subversion usernames may contain special characters 
(öäüéàè)?
is there a way to define a charset for the AuthzSVNAccessFile ??


thanks for any hints on this :)
regards

op

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: user usernames with special characters in access file?

Posted by ossi petz <os...@hallo.ms>.
Ryan Schmidt schrieb:
> 
> On Apr 19, 2007, at 13:34, ossi petz wrote:
> 
> 
> I haven't tried using special characters in usernames. But Subversion 
> does everything else in UTF-8, so maybe it wants usernames in UTF-8 too. 
> You seem to be supplying the username in ISO-8859-1.
> 
> 

thanks for your reply :)

that kinda makes sense. thing is: how to i supply the username in utf-8? 
the only thing i found is the AddDefaultCharset for apache2, which is 
already defined in /etc/apache2/conf.d/charset.

since the clients can (by definition?) send requests in any charset, the 
server is supposed to convert the request in its own charset. for the 
ldap auth this is done with 'AuthLDAPCharsetConfig'.

both the browser (for webaccess) and eclipse seem to use iso-8859-1 
usernames.

is there some charset filtering/converting option in apache prior to let 
subversion deal with the username?


any hints welcome! :)
regards

op

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: user usernames with special characters in access file?

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Apr 19, 2007, at 13:34, ossi petz wrote:

> after some messing around i was able to configure subversion and  
> auth users agains an active directory.
>
> after an upgrade to apache 2.2 i was able to allow usernames like  
> "mmüller" to pass the mod_auth_ldap authentication in apache (using  
> the apache 2.2 AuthLDAPCharsetConfig config).
>
> after this step subversion verifies the username and repository  
> access and fails everytime (Access denied: 'mm\xfcller' GET svn:/).  
> dont get confused, the \xfc is an ü in the used charset, it gets  
> escaped by the apache logger for improved log file safety.
> usernames without special chars work.
>
>
> is there no way subversion usernames may contain special characters  
> (öäüéàè)?
> is there a way to define a charset for the AuthzSVNAccessFile ??

I haven't tried using special characters in usernames. But Subversion  
does everything else in UTF-8, so maybe it wants usernames in UTF-8  
too. You seem to be supplying the username in ISO-8859-1.


-- 

To reply to the mailing list, please use your mailer's Reply To All  
function


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org