khmarbaise
khmarbaise

Reputation: 97409

SVN Authentication / Logging without user

Currently i've setup a SVN server with CollabNet Edge which uses SSL access and LDAP authentication which works. But one thing is what i don't understand...

The first is the line which i can't understand. Why do i get a entry in the log file which does not contain the username. All other entries are ok. I access the repository via svn list https://example.com/svn/repositoryName

www.xx.yy.zz - - [04/Oct/2012:16:49:18 +0200] "OPTIONS /svn/repositoryName HTTP/1.1" 401 401
www.xx.yy.zz - username [04/Oct/2012:16:49:18 +0200] "OPTIONS /svn/repositoryName HTTP/1.1" 200 194
www.xx.yy.zz - username [04/Oct/2012:16:49:18 +0200] "OPTIONS /svn/repositoryName HTTP/1.1" 200 194
www.xx.yy.zz - username [04/Oct/2012:16:49:18 +0200] "PROPFIND /svn/repositoryName/!svn/rvr/12345 HTTP/1.1" 207 1303
www.xx.yy.zz - username [04/Oct/2012:16:49:18 +0200] "PROPFIND /svn/repositoryName/!svn/rvr/12345 HTTP/1.1" 207 4748

Upvotes: 1

Views: 2168

Answers (1)

Peter Parker
Peter Parker

Reputation: 29715

SVN sends the credentials only if needed, so it will always try first to retrieve the data without sending login data. As your server answers HTTP-Code 401 (Unauthorized), svnclient will add the credentials in a second attempt.

Upvotes: 2

Related Questions