You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Dhananjaya Kengaiah <ke...@gene.com> on 2007/04/05 19:10:20 UTC
Windows authentication not working in TortoiseSVN but works from browser
HI,
I am trying to use Subversion and Windows Authentication, the authentication
works well with the browser for the windows user. But does not work with
TortoiseSVN.
TortoiseSVN works with username and password specified in the authorization
file and passwd file, but does not accept windows user.
I am using
Apache 2.0.54
SVN 1.3.2
Moc_auth_sspi/1.0.4
My authorization looks like this
[groups]
admin = tlx,GNE\kengaiah,kengaiahGNE\SAXENAM,saxenam
gneusers= ebrister,gopinath,siva,smozes
# harry_and_sally = harry,sally
[/]
* = r
@admin = rw
@gneusers = r
tlx =
Please find my httpd.conf file information , Can someone help me to figure
out this problem of windows user not authenticating from Tortoissvn.
<Location /svn>
DAV svn
#SVNParentPath "C:/"
SVNPath "C:/TLXTestNew/"
# authentication
AuthName "Subversion Authentication"
AuthType SSPI
SSPIAuth On
SSPIAuthoritative On
SSPIDomain GNE
SSPIOfferBasic On
#<LimitExcept GET PROPFIND OPTIONS REPORT>
Require valid-user
#</LimitExcept>
# authorization
# Htpasswd Logins.
#AuthType Basic
#AuthAuthoritative Off
#AuthUserFile "C:/TLXTestNew/conf/passwd"
AuthzSVNAccessFile "C:/TLXTestNew/conf/authz"
</Location>
Thanks,
Dhananjaya
Re: Windows authentication not working in TortoiseSVN but works from
browser
Posted by Nathan Kidd <na...@spicycrypto.ca>.
Dhananjaya Kengaiah wrote:
> And accordingly I upgraded my torotoisesvn to 1.4.3 I get this window
> for authentication, while commiting, and if I enter my windows user name
> and password it is not working.
Did you try SSPIOmitDomain since you're only entering a username?
-Nathan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RE: Windows authentication not working in TortoiseSVN but works from browser
Posted by Dhananjaya Kengaiah <ke...@gene.com>.
Hi Stefan,
Thanks for the information, I am puzzled here.. the same user name works
when I try to connect to the SVN repository through web browser, but does
not recognize when I try to connect through TortoiseSVN. Any thoughts?
Thanks,
Dhananjaya
-----Original Message-----
From: Stefan Küng [mailto:steveking@gmx.ch]
Sent: Thursday, April 05, 2007 2:02 PM
To: Dhananjaya Kengaiah
Cc: users@subversion.tigris.org
Subject: Re: Windows authentication not working in TortoiseSVN but works
from browser
Dhananjaya Kengaiah wrote:
> I tried with the
>
> SSPIOmitDomain on
> SSPIUsernameCase lower
>
> I get the error "Authentication Error from server: Username not found"
"Username not found" means just that: the username you've entered is not
found in the domain.
Can't really help you there, you have to figure out yourself what the
correct username is on the domain for you (are you even part of a domain?)
Stefan
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and mailing lists?
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Windows authentication not working in TortoiseSVN but works from
browser
Posted by Stefan Küng <st...@gmx.ch>.
Dhananjaya Kengaiah wrote:
> I tried with the
>
> SSPIOmitDomain on
> SSPIUsernameCase lower
>
> I get the error "Authentication Error from server: Username not found"
"Username not found" means just that: the username you've entered is not
found in the domain.
Can't really help you there, you have to figure out yourself what the
correct username is on the domain for you (are you even part of a domain?)
Stefan
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing on usenet and mailing lists?
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RE: Windows authentication not working in TortoiseSVN but works from browser
Posted by Dhananjaya Kengaiah <ke...@gene.com>.
Hi Stefan,
I tried with the
SSPIOmitDomain on
SSPIUsernameCase lower
I get the error "Authentication Error from server: Username not found"
I do not see any error in the "C:\Program Files\Apache
Group\Apache2\logs\error.log" file
Thanks,
Dhananjaya
-----Original Message-----
From: Stefan Küng [mailto:steveking@gmx.ch]
Sent: Thursday, April 05, 2007 1:48 PM
To: Dhananjaya Kengaiah
Cc: users@subversion.tigris.org
Subject: Re: Windows authentication not working in TortoiseSVN but works
from browser
Dhananjaya Kengaiah wrote:
>
> I did check the http://tortoisesvn.net/node/244
>
> And accordingly I upgraded my torotoisesvn to 1.4.3 I get this window
> for authentication, while commiting, and if I enter my windows user name
> and password it is not working.
"not working" doesn't help. What is the exact error message you get?
Also check the apache error log.
My guess is that your problem is with CASE in username/domain.
Add the following lines to your config file:
SSPIOmitDomain on
SSPIUsernameCase lower
And FYI: if you're authenticating against a windows domain, you have to
enter your username as GNE\kengaiah, not just kengaiah.
(with the SSPIOmitDomain, you might be able to drop the domain when
authenticating, but I would try with it first).
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Windows authentication not working in TortoiseSVN but works from
browser
Posted by Stefan Küng <st...@gmx.ch>.
Dhananjaya Kengaiah wrote:
>
> I did check the http://tortoisesvn.net/node/244
>
> And accordingly I upgraded my torotoisesvn to 1.4.3 I get this window
> for authentication, while commiting, and if I enter my windows user name
> and password it is not working.
"not working" doesn't help. What is the exact error message you get?
Also check the apache error log.
My guess is that your problem is with CASE in username/domain.
Add the following lines to your config file:
SSPIOmitDomain on
SSPIUsernameCase lower
And FYI: if you're authenticating against a windows domain, you have to
enter your username as GNE\kengaiah, not just kengaiah.
(with the SSPIOmitDomain, you might be able to drop the domain when
authenticating, but I would try with it first).
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RE: Windows authentication not working in TortoiseSVN but works from browser
Posted by Dhananjaya Kengaiah <ke...@gene.com>.
HI Stefan,
I did check the http://tortoisesvn.net/node/244
And accordingly I upgraded my torotoisesvn to 1.4.3 I get this window for
authentication, while commiting, and if I enter my windows user name and
password it is not working.
Your suggestion is greatly appreciated.
Thanks,
Dhananjaya
-----Original Message-----
From: Stefan Küng [mailto:steveking@gmx.ch]
Sent: Thursday, April 05, 2007 12:31 PM
To: Dhananjaya Kengaiah
Cc: users@subversion.tigris.org
Subject: Re: Windows authentication not working in TortoiseSVN but works
from browser
Dhananjaya Kengaiah wrote:
> Hi Stefan,
> Thanks for your reply,
> I have implemented all the information as per this document
> http://tortoisesvn.net/auth_windows_domain
But did you also check this one
http://tortoisesvn.net/node/244
?
> But, the windows user can access files via web browser and not through the
> TortoiseSVN client.
That doesn't mean anything. A web browser is not an svn client. And even
the server behaves differently whether a web browser or an svn client
tries to access it.
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Windows authentication not working in TortoiseSVN but works from
browser
Posted by Stefan Küng <st...@gmx.ch>.
Dhananjaya Kengaiah wrote:
> Hi Stefan,
> Thanks for your reply,
> I have implemented all the information as per this document
> http://tortoisesvn.net/auth_windows_domain
But did you also check this one
http://tortoisesvn.net/node/244
?
> But, the windows user can access files via web browser and not through the
> TortoiseSVN client.
That doesn't mean anything. A web browser is not an svn client. And even
the server behaves differently whether a web browser or an svn client
tries to access it.
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
RE: Windows authentication not working in TortoiseSVN but works from browser
Posted by Dhananjaya Kengaiah <ke...@gene.com>.
Hi Stefan,
Thanks for your reply,
I have implemented all the information as per this document
http://tortoisesvn.net/auth_windows_domain
But, the windows user can access files via web browser and not through the
TortoiseSVN client.
Thanks,
Dhannajaya
-----Original Message-----
From: news [mailto:news@sea.gmane.org] On Behalf Of steveking
Sent: Thursday, April 05, 2007 12:15 PM
To: users@subversion.tigris.org
Subject: Re: Windows authentication not working in TortoiseSVN but works
from browser
Dhananjaya Kengaiah wrote:
> HI,
>
> I am trying to use Subversion and Windows Authentication, the
authentication
> works well with the browser for the windows user. But does not work with
> TortoiseSVN.
>
> TortoiseSVN works with username and password specified in the
authorization
> file and passwd file, but does not accept windows user.
Have a look at these FAQs:
http://tortoisesvn.net/node/244
http://tortoisesvn.net/auth_windows_domain
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Re: Windows authentication not working in TortoiseSVN but works from
browser
Posted by steveking <st...@gmx.ch>.
Dhananjaya Kengaiah wrote:
> HI,
>
> I am trying to use Subversion and Windows Authentication, the authentication
> works well with the browser for the windows user. But does not work with
> TortoiseSVN.
>
> TortoiseSVN works with username and password specified in the authorization
> file and passwd file, but does not accept windows user.
Have a look at these FAQs:
http://tortoisesvn.net/node/244
http://tortoisesvn.net/auth_windows_domain
Stefan
--
___
oo // \\ "De Chelonian Mobile"
(_,\/ \_/ \ TortoiseSVN
\ \_/_\_/> The coolest Interface to (Sub)Version Control
/_/ \_\ http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org