I did a test and it worked... except that I received the description of the 
group and not the user.... Not great...

max...@hotmail.com 


 


Date: Fri, 2 Jul 2010 19:35:31 +0200
Subject: Re: Subversion with LDAP - Display description
From: leszek.szar...@gmail.com
To: alec.kl...@oracle.com
CC: max...@hotmail.com; users@subversion.apache.org



Hi 
 In our company we authenticate based on UserID, then we use email address for 
authz authentication.
 
AuthLDAPURL "ldap://bla.glob.com:389/(..)?UserID,mail?sub?(objectClass=*)"
AuthzForceUsernameCase Lower
AuthLDAPRemoteUserAttribute mail
AuthLDAPRemoteUserIsDN on
AuthzLDAPAuthoritative off
AuthzSVNAccessFile "/opt/svn/svn_authz_access"
 
In this example you need to have svn permissions defined as emails:
[groups]
abc_group = john.dej...@example.com 
 
If the user does commit, you will have his email address in the log history. 
This is very appreciated by our developers.
All entries in access_log / error_log will have user email instead of his id.
Hope it will address your issue.
Leszek

On 2 July 2010 19:08, Alec Kloss <alec.kl...@oracle.com> wrote:


On 2010-07-02 08:13, Maxter wrote:
>
> Hi,
>    We did all necessary for the deployment of LDAP with Apache/Subversion
> but I found a little thing that arrass me a little bit.  When we do commit,
> the user displayed is the username in the AD.  The problem is that the
> username is a sequetial number so not really userful for knowing fast who
> did the commit the last time.  So my question is pretty simple... Is there a
> way to display the Description found in the AD other than the username for
> the UserID field in the commit information?  If yes, how could we do that?
>

I use a post-commit hook to save the authentication ID as another
property and then reset the svn:author.

--
alec.kl...@oracle.com                   Oracle Middleware
PGP key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xEBD1FF14

                                          
_________________________________________________________________
Jeux Messenger : mettez vos amis au défi!
http://go.microsoft.com/?linkid=9734397

Reply via email to