[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Re: ldap authentication in subversion

From: Carlos Beppler <beppler_at_gmail.com>
Date: Fri, 24 Apr 2009 15:01:22 -0300

Try to run the following line on the unix machine shell:

ldapsearch -x -h exf0.com -p 389 -b dc=exfo,dc=com -D
"CN=irfsay1,CN=Users,DC=exfo,DC=com" -w "jaba_1234"
"(&(&(objectClass=user)(objectCategory=person))(sAMAccountName=irfsay1)"

It will do the binding using the same credentials passed on your
configuration and search for the user the same way of apache is doing.

It will not verify the user password. It only will test the bind to
ldap server and the search for user being authenticated.

On Fri, Apr 24, 2009 at 14:01, Irfan Sayed <irfu.sayed_at_gmail.com> wrote:
> Hi,
>
> now i have updated httpd.conf file and it looks as follows
>
>  <Location "/svn">
>        DAV svn
>        SVNParentPath /usr/local/svn
>        SVNListParentPath On
>        SVNAutoversioning On
>        AuthBasicProvider ldap
>        AuthType Basic
>        AuthzLDAPAuthoritative off
>        AuthName "My"
>        AuthLDAPURL
> "ldap://exfo.com:389/DC=exfo,DC=com?sAMAccountName?sub?(&(objectClass=user)(objectCategory=person))"
>        AuthLDAPBindDN "CN=irfsay1,CN=Users,DC=exfo,DC=com"
>        AuthLDAPBindPassword jaba_1234
>        AuthzSVNAccessFile /etc/subversion/acl
>        require valid-user
>       # require ldap-user
>
> </Location>
>
> but still the error is "password mismatch"
>
> please advice
>
> Regards
> Irf
>
> On 4/24/09, Tyler Roscoe <tyler_at_cryptio.net> wrote:
>> On Fri, Apr 24, 2009 at 09:42:24PM +0530, Irfan Sayed wrote:
>>> Please please advice
>>
>> I think bumping your own posts like this, especially after less than 1
>> hour, and double especially when a whole boatload of people are already
>> trying to help you, is pretty rude.
>>
>> I don't know anything about ldap auth so maybe you don't care about me,
>> but you might want to be aware of the impression you are making in the
>> community.
>>
>> tyler
>>
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1895182
>
> To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1895880

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-04-24 20:02:46 CEST

This is an archived mail posted to the Subversion Users mailing list.