Skip to content

Commit c93ec5a

Browse files
committed
(doc/html) auth-sasl.html - anonymous user required for anonymous mechanism
1 parent 7e857b3 commit c93ec5a

File tree

2 files changed

+13
-16
lines changed

2 files changed

+13
-16
lines changed

doc/html/en/user/auth-sasl.html

+7-8
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,6 @@ <H3>Configuration for XOAUTH2 mechanism</H3>
117117
</PRE>
118118
Modify "PROXY-SERVER-NAME" and "PROXY-PORT-NUMBER" as appropriate.
119119

120-
<P>
121-
On Ubuntu, authentication to gfsd may fail due to the error
122-
"unable to open Berkeley db /etc/sasldb2: Permission denied".
123-
This is a workaround for this error.
124-
<PRE>
125-
% sudo chown _gfarmfs /etc/sasldb2
126-
</PRE>
127-
128120
<H3>Gfarm configuration</H3>
129121

130122
Add the following settings to gfmd.conf for gfmd,
@@ -153,6 +145,13 @@ <H3>Gfarm configuration</H3>
153145
% gfuser -A Gfarm-username SASL SASL-username
154146
</PRE>
155147

148+
<P>
149+
To use ANONYMOUS mechanism, create an anonymous user in Gfarm as
150+
follows.
151+
<PRE>
152+
% gfuser -c anonymous anon / ""
153+
</PRE>
154+
156155
<HR>
157156
<H2>Client-side configuration</H2>
158157

doc/html/ja/user/auth-sasl.html

+6-8
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,6 @@ <H3>Cyrus SASL XOAUTH2 メカニズム用設定</H3>
117117
</PRE>
118118
「proxyサーバー名」および「proxyポート番号」は、適宜修正してください。
119119

120-
<P>
121-
Ubuntu では、gfsd との認証が "unable to open Berkeley db /etc/sasldb2:
122-
Permission denied" により失敗することがあります。その場合、
123-
/etc/sasldb2 の所有者を変更することにより解決します。
124-
<PRE>
125-
% sudo chown _gfarmfs /etc/sasldb2
126-
</PRE>
127-
128120
<H3>Gfarm の設定</H3>
129121

130122
gfmd.conf や gfsd の読む gfarm2.conf に、以下のような設定を追加します。
@@ -152,6 +144,12 @@ <H3>Gfarm の設定</H3>
152144
% gfuser -A Gfarmユーザ名 SASL SASLユーザ名
153145
</PRE>
154146

147+
<P>
148+
ANONYMOUS メカニズムを利用する場合は anonymous ユーザを作成します。
149+
<PRE>
150+
% gfuser -c anonymous anon / ""
151+
</PRE>
152+
155153
<HR>
156154
<H2>クライアント側設定</H2>
157155

0 commit comments

Comments
 (0)