「外部データベース認証」の版間の差分

提供:MoodleDocs
移動先:案内検索
(ページの作成: 作成中です - ~~~~ ロケーション: サイト管理 > ユーザ > 認証 This method uses an external database table to check whether a given username and password i...)
 
編集の要約なし
3行目: 3行目:
ロケーション: サイト管理 > ユーザ > [[認証]]
ロケーション: サイト管理 > ユーザ > [[認証]]


This method uses an external database table to check whether a given username and password is valid. If the account is a new one, then information from other fields may also be copied across into Moodle.
このメソッドでは、ユーザ名およびパスワードを確認するため、外部のデータベーステーブルを使用します。アカウントが新しく作成された場合、他のフィールド情報もMoodle内にコピーされます。


This is done by mapping fields at the bottom of the database authentication page. Each data field in the user profile has a text field next to it. Enter the name of the column in the external database that maps to the profile data field.
ページ下部にあるフィールドマッピングにより、外部データベース認証を設定します。それぞれのユーザプロファイルフィールドの隣りにマッピング用のテキストフィールドがあります。プロファイルデータフィールドにマップするため、外部データベースのカラム名を入力してください。


'''Update Local''' - Specifies that the external data will be entered into the local field in question
'''ローカルデータの更新''' - Specifies that the external data will be entered into the local field in question
* On Creation - specifies that this will only happen on the original login when the account is created for the first time.
* On Creation - specifies that this will only happen on the original login when the account is created for the first time.
* On Every Login - specifies that changes in the external data will be updated on the local Moodle field in question the next time the user logs in again.
* On Every Login - specifies that changes in the external data will be updated on the local Moodle field in question the next time the user logs in again.


'''Update External''' - Specifies just the opposite, meaning changes in the local Moodle field in question will update the corresponding field in the external database
'''外部データの更新''' - Specifies just the opposite, meaning changes in the local Moodle field in question will update the corresponding field in the external database
* Never - Specifies this is disabled
* Never - Specifies this is disabled
* On Update - Enables this to happen if a change is made locally (additional configuration is probably required)
* On Update - Enables this to happen if a change is made locally (additional configuration is probably required)


'''Lock Value''' - Only determines whether the local user can make a change in the Moodle field and does not affect the two settings above.
'''設定値のロック''' - Only determines whether the local user can make a change in the Moodle field and does not affect the two settings above.
* Unlocked - A user can make changes locally in the Moodle field (assumably even if it contradicts the external database the next login would change it again if Update Local is set
* Unlocked - A user can make changes locally in the Moodle field (assumably even if it contradicts the external database the next login would change it again if Update Local is set
* Locked - A user can never make changes
* Locked - A user can never make changes
* Unlocked if empty - A user can only make changes if the field is not populated already from the external database (this would seem to indicate a user could only enter something into this field once and could not change it after saving)
* Unlocked if empty - A user can only make changes if the field is not populated already from the external database (this would seem to indicate a user could only enter something into this field once and could not change it after saving)


==Additional Notes==
==補注==
* Some of the things that apply to [[Upload users]] apply to the External database
* Some of the things that apply to [[Upload users]] apply to the External database
** Set password to "changeme" to force password reset
** Set password to "changeme" to force password reset

2009年9月2日 (水) 02:53時点における版

作成中です - Mitsuhiro Yoshida 2009年8月31日 (月) 20:55 (UTC)

ロケーション: サイト管理 > ユーザ > 認証

このメソッドでは、ユーザ名およびパスワードを確認するため、外部のデータベーステーブルを使用します。アカウントが新しく作成された場合、他のフィールド情報もMoodle内にコピーされます。

ページ下部にあるフィールドマッピングにより、外部データベース認証を設定します。それぞれのユーザプロファイルフィールドの隣りにマッピング用のテキストフィールドがあります。プロファイルデータフィールドにマップするため、外部データベースのカラム名を入力してください。

ローカルデータの更新 - Specifies that the external data will be entered into the local field in question

  • On Creation - specifies that this will only happen on the original login when the account is created for the first time.
  • On Every Login - specifies that changes in the external data will be updated on the local Moodle field in question the next time the user logs in again.

外部データの更新 - Specifies just the opposite, meaning changes in the local Moodle field in question will update the corresponding field in the external database

  • Never - Specifies this is disabled
  • On Update - Enables this to happen if a change is made locally (additional configuration is probably required)

設定値のロック - Only determines whether the local user can make a change in the Moodle field and does not affect the two settings above.

  • Unlocked - A user can make changes locally in the Moodle field (assumably even if it contradicts the external database the next login would change it again if Update Local is set
  • Locked - A user can never make changes
  • Unlocked if empty - A user can only make changes if the field is not populated already from the external database (this would seem to indicate a user could only enter something into this field once and could not change it after saving)

補注

  • Some of the things that apply to Upload users apply to the External database
    • Set password to "changeme" to force password reset
      • If you do this, it is critical that you provide a URL to change the password!
  • Not all of the fields in the Upload users are available for the External Database authentication. The only available fields are the fields listed in the data mapping section of the admin page for the External Database connection.

関連情報