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

Re: SASL NTLM Authentication

From: Rock Sun <daijun_at_gmail.com>
Date: Thu, 6 Nov 2008 12:09:31 +0800

SASL NTLM authentication means exchange authentication information with
NTLM protocol. It's not mean user AD as user database. Sorry, I have not
utilize AD as authentication source. I think we could not use SASL NTLM
to implements things Apache + mod_dav_svn + mod_sspi do.

Here is my simple Example(just plain file db):

In windows we had to edit Registry

[HKEY_LOCAL_MACHINE\SOFTWARE\Carnegie Mellon\Project Cyrus\SASL Library]
"SearchPath"="C:\\Program Files\\CollabNet Subversion Server"
"ConfFile"="C:\\Program Files\\CollabNet Subversion Server"

"C:\\Program Files\\CollabNet Subversion Server\\svn.conf"£º

pwcheck_method: auxprop
auxprop_plugin: sasldb
mech_list: ANONYMOUS CRAM-MD5
sasldb_path: C:\svn_repository\sasldb

create "C:\svn_repository\sasldb":

saslpasswd2 -c -f C:\svn_repository\sasldb -u myrealm username

open svnserve.conf£¬comment out this line

use-sasl = true

change the myrealm name£º

realm = myrealm

2008/11/6 MDB <mbuddenhagen_at_payflex.com>

> My apologies¡­ I phrased my question incorrectly. Thank you for the link,
> I did read that previously. I would like to utilize Active Directory for
> svnserve user authentication. Traditionally, we've used Apache +
> mod_dav_svn + mod_sspi to accomplish this but I was hoping to remove the
> Apache dependency. Can this be accomplished with SASL? If so, does it
> still require the existence of a local sasldb and can you provide an example
> of svn.conf? I've read about a SASL LDAP backend but it isn't in the Windows
> distribution.
>
>
>
> Thank you,
>
> Matt Buddenhagen
>
>
>
> *From:* Rock Sun [mailto:daijun_at_gmail.com]
> *Sent:* Wednesday, November 05, 2008 12:39 PM
> *To:* MDB
> *Cc:* users_at_subversion.tigris.org
> *Subject:* Re: SASL NTLM Authentication
>
>
>
> SASL NTLM authentication means exchange authentication information with
> NTLM protocol.
>
> You can see this article:
>
> http://svn.collab.net/repos/svn/trunk/notes/sasl.txt
>
> 2008/11/5 MDB <mbuddenhagen_at_payflex.com>
>
> Hello! We are running Subversion 1.5.4 (r33841) server on Windows Server
> 2003 and would like to use SASL NTLM to authenticate Windows XP clients via
> the SVN protocol. I've spent several days researching this issue but have
> been unsuccessful in my pursuit.
>
>
>
> Does SASL NTLM authentication work via the SVN protocol? If so, what
> options need to be defined in svn.conf?
>
>
>
> Thank you!
>
>
>
>
> --
> My Blog: http://rocksun.cn/
> My Site: http://www.subversion.org.cn
>

-- 
My Blog: http://rocksun.cn/
My Site: http://www.subversion.org.cn
Received on 2008-11-06 05:10:00 CET

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.