[svnbook] r5695 committed - branches/1.8/zh/book/ ch06-server-configuration.xml

wuzhouhui at users.sourceforge.net wuzhouhui at users.sourceforge.net
Wed May 23 07:25:06 CDT 2018


Revision: 5695
          http://sourceforge.net/p/svnbook/source/5695
Author:   wuzhouhui
Date:     2018-05-23 12:24:52 +0000 (Wed, 23 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-22 13:37:30 UTC (rev 5694)
+++ branches/1.8/zh/book/ch06-server-configuration.xml	2018-05-23 12:24:52 UTC (rev 5695)
@@ -2001,6 +2001,7 @@
 </programlisting>
         </informalexample>
 
+      <!--
         <para>Second, create a main SASL configuration file
           called <filename>svn.conf</filename> in a place where the
           SASL library can find it—typically in the directory
@@ -2011,7 +2012,16 @@
           is <emphasis>not</emphasis>
           the <filename>svnserve.conf</filename> file that lives
           within a repository!)</para>
+      -->
+        <para>然后, 在 SASL 库函数能够找到的位置创建一个名为
+          <filename>svn.conf</filename> 的配置文件—最典型的位置就是
+          SASL 插件所处的位置, 因此管理员需要定位 SASL 插件在系统中的位置,
+          例如 <filename>/usr/lib/sasl2/</filename> 或
+          <filename>/etc/sasl2/</filename>. (注意, 本段所说的配置文件是
+          <filename>svn.conf</filename>, 不是仓库中的
+          <filename>svnserve.conf</filename>!).</para>
 
+      <!--
         <para>On a Windows server, you'll also have to edit the system
           registry (using a tool such as <command>regedit</command>)
           to tell SASL where to find things.  Create a registry key
@@ -2024,6 +2034,15 @@
           <literal>ConfFile</literal> (whose value is a path to the
           parent directory containing
           the <filename>svn.conf</filename> file you created).</para>
+      -->
+        <para>如果服务器的系统是 Windows, 你需要编辑系统注册表 (使用工具
+          <command>regedit</command>), 以便告诉 SASL 去哪里搜索所需要的
+          文件. 在系统注册表中添加一个新的注册表项, 表项的名字是
+          <literal>[HKEY_LOCAL_MACHINE\SOFTWARE\CarnegieMellon\Project Cyrus\SASL Library]</literal>,
+          并在其中新增两项: 一项是 <literal>SearchPath</literal> (它的值是一个
+          指向目录的路径, 目录包含了 SASL 动态链接库), 另一项是
+          <literal>ConfFile</literal> (它的值是一个指向目录的路径, 目录内含有
+          管理员创建的 <filename>svn.conf</filename> 文件).</para>
 
         <para>Because SASL provides so many different kinds of
           authentication mechanisms, it would be foolish (and far




More information about the svnbook-dev mailing list