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

SSPI authentication with 1.4.3 command line client

From: techtonik <techtonik_at_gmail.com>
Date: 2007-03-22 17:31:55 CET

Hi,

Does anybody know if the binaries available from http://svn.tigris.org
in .zip archive are compiled with SSPI support? I can't transparently
authenticate to Apache + mod_auth_sspi even though other applications
using mod_auth_sspi (Trac, for instance) work ok.

Seems like SVN client doesn't react on NTLM auth request.

Log message is below:

---
Doing DNS lookup on server...
Running pre_send hooks
compress: Initialization.
compress: Initialization.
Sending request headers:
OPTIONS /svnroot/site HTTP/1.1
Host: server:8080
User-Agent: SVN/1.4.3 (r23084) neon/0.26.1
Keep-Alive:
Connection: TE, Keep-Alive
TE: trailers
Content-Length: 104
Content-Type: text/xml
Accept-Encoding: gzip
Accept-Encoding: gzip
Sending request-line and headers:
Connecting to 192.168.x.x
Sending request body:
Body block (104 bytes):
[<?xml version="1.0" encoding="utf-8"?><D:options
xmlns:D="DAV:"><D:activity-collection-set/></D:options>]
Request sent; retry is 0.
[status-line] < HTTP/1.1 200 OK
[hdr] Date: Thu, 22 Mar 2007 16:29:12 GMT
Header Name: [date], Value: [Thu, 22 Mar 2007 16:29:12 GMT]
[hdr] Server: Apache/2.0.58 (Win32) mod_jk/1.2.15 SVN/1.4.3 DAV/2
mod_auth_sspi/1.0.4 mod_python/3.3.1 Python/2.4.4 PHP/5.2.1
Header Name: [server], Value: [Apache/2.0.58 (Win32) mod_jk/1.2.15
SVN/1.4.3 DAV/2 mod_auth_sspi/1.0.4 mod_python/3.3.1 Python/2.4.4
PHP/5.2.1]
[hdr] DAV: 1,2
Header Name: [dav], Value: [1,2]
[hdr] DAV: version-control,checkout,working-resource
Header Name: [dav], Value: [version-control,checkout,working-resource]
[hdr] DAV: merge,baseline,activity,version-controlled-collection
Header Name: [dav], Value:
[merge,baseline,activity,version-controlled-collection]
[hdr] MS-Author-Via: DAV
Header Name: [ms-author-via], Value: [DAV]
[hdr] Allow: OPTIONS,GET,HEAD,POST,DELETE,TRACE,PROPFIND,PROPPATCH,COPY,MOVE,LOCK,UNLOCK,CHECKOUT
Header Name: [allow], Value:
[OPTIONS,GET,HEAD,POST,DELETE,TRACE,PROPFIND,PROPPATCH,COPY,MOVE,LOCK,UNLOCK,CHECKOUT]
[hdr] Content-Length: 192
Header Name: [content-length], Value: [192]
[hdr] Keep-Alive: timeout=15, max=100
Header Name: [keep-alive], Value: [timeout=15, max=100]
[hdr] Connection: Keep-Alive
Header Name: [connection], Value: [Keep-Alive]
[hdr] Content-Type: text/xml; charset="utf-8"
Header Name: [content-type], Value: [text/xml; charset="utf-8"]
[hdr]
End of headers.
Reading 192 bytes of response body.
Got 192 bytes.
Read block (192 bytes):
[<?xml version="1.0" encoding="utf-8"?>
<D:options-response xmlns:D="DAV:">
<D:activity-collection-set><D:href>/svnroot/site/!svn/act/</D:href></D:activity-collection-set></D:options-response>
]
Running post_send hooks
Request ends, status 200 class 2xx, error line:
200 OK
Running destroy hooks.
Request ends.
Running pre_send hooks
Sending request headers:
MKACTIVITY /svnroot/site/!svn/act/4897b3b4-d37c-f84e-a82f-ffeb1bc9a95a HTTP/1.1
Host: server:8080
User-Agent: SVN/1.4.3 (r23084) neon/0.26.1
Connection: TE
TE: trailers
Sending request-line and headers:
Request sent; retry is 1.
[status-line] < HTTP/1.1 401 Authorization Required
[hdr] Date: Thu, 22 Mar 2007 16:29:12 GMT
Header Name: [date], Value: [Thu, 22 Mar 2007 16:29:12 GMT]
[hdr] Server: Apache/2.0.58 (Win32) mod_jk/1.2.15 SVN/1.4.3 DAV/2
mod_auth_sspi/1.0.4 mod_python/3.3.1 Python/2.4.4 PHP/5.2.1
Header Name: [server], Value: [Apache/2.0.58 (Win32) mod_jk/1.2.15
SVN/1.4.3 DAV/2 mod_auth_sspi/1.0.4 mod_python/3.3.1 Python/2.4.4
PHP/5.2.1]
[hdr] WWW-Authenticate: NTLM
Header Name: [www-authenticate], Value: [NTLM]
[hdr] Content-Length: 564
Header Name: [content-length], Value: [564]
[hdr] Content-Type: text/html; charset=iso-8859-1
Header Name: [content-type], Value: [text/html; charset=iso-8859-1]
[hdr]
End of headers.
Reading 564 bytes of response body.
Got 564 bytes.
Read block (564 bytes):
[<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>401 Authorization Required</title>
</head><body>
<h1>Authorization Required</h1>
<p>This server could not verify that you
are authorized to access the document
requested.  Either you supplied the wrong
credentials (e.g., bad password), or your
browser doesn't understand how to supply
the credentials required.</p>
<hr>
<address>Apache/2.0.58 (Win32) mod_jk/1.2.15 SVN/1.4.3 DAV/2
mod_auth_sspi/1.0.4 mod_python/3.3.1 Python/2.4.4 PHP/5.2.1 Server at
server Port 8080</address>
</body></html>
]
Running post_send hooks
Request ends, status 401 class 4xx, error line:
401 Authorization Required
Running destroy hooks.
Request ends.
svn: Commit failed (details follow):
svn: MKACTIVITY of
'/svnroot/site/!svn/act/4897b3b4-d37c-f84e-a82f-ffeb1bc9a95a':
authorization failed (http://server:8080)
ne_session_destroy called.
ne_session_destroy called.
---
-- 
--anatoly t.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Mar 22 23:31:27 2007

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.