[svnbook] r5694 committed - branches/1.8/zh/book/ ch06-server-configuration.xml
wuzhouhui at users.sourceforge.net
wuzhouhui at users.sourceforge.net
Tue May 22 08:37:44 CDT 2018
Revision: 5694
http://sourceforge.net/p/svnbook/source/5694
Author: wuzhouhui
Date: 2018-05-22 13:37:30 +0000 (Tue, 22 May 2018)
Log Message:
-----------
1.8/zh: translation of chapter 6 in progress
Modified Paths:
--------------
branches/1.8/zh/book/ch06-server-configuration.xml
Modified: branches/1.8/zh/book/ch06-server-configuration.xml
===================================================================
--- branches/1.8/zh/book/ch06-server-configuration.xml 2018-05-21 14:44:10 UTC (rev 5693)
+++ branches/1.8/zh/book/ch06-server-configuration.xml 2018-05-22 13:37:30 UTC (rev 5694)
@@ -1949,6 +1949,7 @@
</sidebar>
+ <!--
<para>Normally, when a subversion client connects to
<command>svnserve</command>, the server sends a greeting that
advertises a list of the capabilities it supports, and the
@@ -1965,15 +1966,33 @@
authentication mechanisms may also be available. However,
you'll need to explicitly configure SASL on the server side to
advertise them.</para>
+ -->
+ <para>正常情况下, 当 Subversion 客户端连接到 <command>svnserve</command>
+ 时, 服务器以宣告它所支持的功能作为响应. 如果服务器的配置要求认证,
+ 服务器将向客户端发起认证请求, 并列出它所支持认证机制, 客户端从中选择
+ 一种认证机制, 通过几个往返消息携带认证信息. 即使 SASL 不可用, 客户端
+ 和服务器也能使用内建的 CRAM-MD5 和 ANONYMOUS 认证机制 (见 <xref
+ linkend="svn.serverconfig.svnserve.auth"/>). 如果服务器和客户端
+ 支持 SASL, 那么可供选择的认证机制就比较多, 但是管理器必须在服务器
+ 端显示式地配置 SASL, 服务端才能向客户端宣告这些认证机制是可用的.
+ </para>
<sect3 id="svn.serverconfig.svnserve.sasl.authn">
+ <!--
<title>Authenticating with SASL</title>
+ -->
+ <title>使用 SASL 进行认证</title>
+ <!--
<para>To activate specific SASL mechanisms on the server,
you'll need to do two things. First, create
a <literal>[sasl]</literal> section in your
repository's <filename>svnserve.conf</filename> file with an
initial key-value pair:</para>
+ -->
+ <para>为了在服务器上激活 SASL, 管理员要做两件事. 首先, 在仓库的
+ <filename>svnserve.conf</filename> 里创建 <literal>[sasl]</literal>
+ 节, 并为变量 <literal>use-sasl</literal> 赋值:</para>
<informalexample>
<programlisting>
More information about the svnbook-dev
mailing list