[sugj-tech:7030] Re: 微妙に違いますね
Sumio Ebisawa
sumio-mm @ ebisawa.co.jp
2009年 2月 20日 (金) 11:23:40 JST
太田さん ご指摘ありがとうございます。
今度からきちんとDiffを取って確認するようにします。文書についてですが
週末に残りをすべて翻訳いたしますので、少々お待ちいただけますで
しょうか
2009/02/19 12:00 ribbongw master <ribbon @ ns.ribbon.or.jp>:
> On Thu, Feb 19, 2009 at 02:06:08AM +0900, Sumio Ebisawa wrote:
>
>> ldaptimeoutを翻訳して一時作業領域にアップしました。
>
> ありがとうございます。
>
>> > misc/addsharecommand.xml 文書削除と追加★
>> > misc/changesharecommand.xml 文書追加★
>>
>> addsharecommandはすでに翻訳が完了しているようです。
>
> これだけ違うようです。
>
> diff -urN samba-3.2.7/docs-xml/smbdotconf/misc/addsharecommand.xml samba-3
> .2.8/docs-xml/smbdotconf/misc/addsharecommand.xml
> --- samba-3.2.7/docs-xml/smbdotconf/misc/addsharecommand.xml Fri Dec 19 22:57:33 2008
> +++ samba-3.2.8/docs-xml/smbdotconf/misc/addsharecommand.xml Wed Feb 4 01:10:07 2009
> @@ -7,15 +7,19 @@
> <para>
> Samba 2.2.0 introduced the ability to dynamically add and delete shares via the Windows NT 4.0 Server
> Manager. The <parameter moreinfo="none">add share command</parameter> is used to define an external program
> - or script which will add a new service definition to <filename moreinfo="none">smb.conf</filename>. In order
> - to successfully execute the <parameter moreinfo="none">add share command</parameter>, <command
> - moreinfo="none">smbd</command> requires that the administrator be connected using a root account (i.e. uid == 0).
> + or script which will add a new service definition to
> + <filename moreinfo="none">smb.conf</filename>.
> </para>
>
> - <para>
> - If the connected account has <literal>SeDiskOperatorPrivilege</literal>, scripts defined in
> - <parameter moreinfo="none">change share</parameter> parameter are executed as root.
> - </para>
> + <para>
> + In order to successfully execute the
> + <parameter moreinfo="none">add share command</parameter>,
> + <command moreinfo="none">smbd</command> requires that the administrator
> + connects using a root account (i.e. uid == 0) or has the
> + <literal>SeDiskOperatorPrivilege</literal>.
> + Scripts defined in the <parameter moreinfo="none">add share command</parameter>
> + parameter are executed as root.
> + </para>
>
> <para>
> When executed, <command moreinfo="none">smbd</command> will automatically invoke the
> @@ -56,7 +60,7 @@
> </itemizedlist>
>
> <para>
> - This parameter is only used for add file shares. To add printer shares, see the <smbconfoption
> + This parameter is only used to add file shares. To add printer shares, see the <smbconfoption
> name="addprinter command"/>.
> </para>
> </description>
>
>
>> changesharecommandはaddsharecommandと内容が同じ様です。
>
> 確かによく似てますが、これだけ違いました。
>
> diff -urN samba-3.2.8/docs-xml/smbdotconf/misc/addsharecommand.xml samba-3.2.8/docs-xml/smbdotconf/misc/changesharecommand.xml
> --- samba-3.2.8/docs-xml/smbdotconf/misc/addsharecommand.xml Wed Feb 4 01:10:07 2009
> +++ samba-3.2.8/docs-xml/smbdotconf/misc/changesharecommand.xml Wed Feb 4 01:10:07 2009
> @@ -1,4 +1,4 @@
> -<samba:parameter name="add share command"
> +<samba:parameter name="change share command"
> context="G"
> type="string"
> advanced="1" developer="1"
> @@ -6,35 +6,36 @@
> <description>
> <para>
> Samba 2.2.0 introduced the ability to dynamically add and delete shares via the Windows NT 4.0 Server
> - Manager. The <parameter moreinfo="none">add share command</parameter> is used to define an external program
> - or script which will add a new service definition to
> - <filename moreinfo="none">smb.conf</filename>.
> +Manager. The <parameter moreinfo="none">change share command</parameter> is used to define an external
> +program or script which will modify an existing service definition in <filename
> +moreinfo="none">smb.conf</filename>.
> </para>
>
> <para>
> In order to successfully execute the
> - <parameter moreinfo="none">add share command</parameter>,
> + <parameter moreinfo="none">change share command</parameter>,
> <command moreinfo="none">smbd</command> requires that the administrator
> - connects using a root account (i.e. uid == 0) or has the
> + connects using a root account (i.e. uid == 0) or has the
> <literal>SeDiskOperatorPrivilege</literal>.
> - Scripts defined in the <parameter moreinfo="none">add share command</parameter>
> + Scripts defined in the <parameter moreinfo="none">change share command</parameter>
> parameter are executed as root.
> </para>
>
> <para>
> When executed, <command moreinfo="none">smbd</command> will automatically invoke the
> - <parameter moreinfo="none">add share command</parameter> with five parameters.
> + <parameter moreinfo="none">change share command</parameter> with five parameters.
> </para>
>
> <itemizedlist>
> <listitem>
> - <para><parameter moreinfo="none">configFile</parameter> - the location of the global <filename
> - moreinfo="none">smb.conf</filename> file.
> + <para><parameter moreinfo="none">configFile</parameter> - the location
> + of the global <filename moreinfo="none">smb.conf</filename> file.
> </para>
> </listitem>
>
> <listitem>
> - <para><parameter moreinfo="none">shareName</parameter> - the name of the new share.
> + <para><parameter moreinfo="none">shareName</parameter> - the name of the new
> + share.
> </para>
> </listitem>
>
> @@ -45,8 +46,8 @@
> </listitem>
>
> <listitem>
> - <para><parameter moreinfo="none">comment</parameter> - comment string to associate with the new
> - share.
> + <para><parameter moreinfo="none">comment</parameter> - comment string to associate
> + with the new share.
> </para>
> </listitem>
>
> @@ -60,13 +61,14 @@
> </itemizedlist>
>
> <para>
> - This parameter is only used to add file shares. To add printer shares, see the <smbconfoption
> - name="addprinter command"/>.
> + This parameter is only used to modify existing file share definitions.
> + To modify printer shares, use the "Printers..." folder as seen
> + when browsing the Samba host.
> </para>
> </description>
>
> -<related>change share command</related>
> +<related>add share command</related>
> <related>delete share command</related>
> <value type="default"></value>
> -<value type="example">/usr/local/bin/addshare</value>
> +<value type="example">/usr/local/bin/changeshare</value>
> </samba:parameter>
>
>> 上記2つは、そのままでよろしいのでしょうか?
>
> diff取ってみるとよく分かりますね。
>
> 太田@さんば
>
sugj-tech メーリングリストの案内