LDAP から自動マウント機能マップを取得するすべてのシステムに LDAP クライアントライブラリーをインストールする必要があります。RHEL 5 では、openldap
パッケージは自動マウント機能 の依存関係として自動的にインストールされ ます
。LDAP アクセスを設定する際は /etc/openldap/ldap.conf
ファイルを編集します。BASE と URI がサイトに適切に設定されていることを確認します。スキーマが設定に設定されていることも確認してください。
DEFAULT_MAP_OBJECT_CLASS="automountMap"
DEFAULT_ENTRY_OBJECT_CLASS="automount"
DEFAULT_MAP_ATTRIBUTE="automountMapName"
DEFAULT_ENTRY_ATTRIBUTE="automountKey"
DEFAULT_VALUE_ATTRIBUTE="automountInformation"
DEFAULT_MAP_OBJECT_CLASS="automountMap"
DEFAULT_ENTRY_OBJECT_CLASS="automount"
DEFAULT_MAP_ATTRIBUTE="automountMapName"
DEFAULT_ENTRY_ATTRIBUTE="automountKey"
DEFAULT_VALUE_ATTRIBUTE="automountInformation"
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
extended LDIF
LDAPv3
base <> with scope subtree
filter: (&(objectclass=automountMap)(automountMapName=auto.master))
requesting: ALL
auto.master, example.com
extended LDIF
LDAPv3
base <automountMapName=auto.master,dc=example,dc=com> with scope subtree
filter: (objectclass=automount)
requesting: ALL
/home, auto.master, example.com
extended LDIF
LDAPv3
base <> with scope subtree
filter: (&(objectclass=automountMap)(automountMapName=auto.home))
requesting: ALL
auto.home, example.com
extended LDIF
LDAPv3
base <automountMapName=auto.home,dc=example,dc=com> with scope subtree
filter: (objectclass=automount)
requesting: ALL
foo, auto.home, example.com
/, auto.home, example.com
# extended LDIF
#
# LDAPv3
# base <> with scope subtree
# filter: (&(objectclass=automountMap)(automountMapName=auto.master))
# requesting: ALL
#
# auto.master, example.com
dn: automountMapName=auto.master,dc=example,dc=com
objectClass: top
objectClass: automountMap
automountMapName: auto.master
# extended LDIF
#
# LDAPv3
# base <automountMapName=auto.master,dc=example,dc=com> with scope subtree
# filter: (objectclass=automount)
# requesting: ALL
#
# /home, auto.master, example.com
dn: automountMapName=auto.master,dc=example,dc=com
objectClass: automount
cn: /home
automountKey: /home
automountInformation: auto.home
# extended LDIF
#
# LDAPv3
# base <> with scope subtree
# filter: (&(objectclass=automountMap)(automountMapName=auto.home))
# requesting: ALL
#
# auto.home, example.com
dn: automountMapName=auto.home,dc=example,dc=com
objectClass: automountMap
automountMapName: auto.home
# extended LDIF
#
# LDAPv3
# base <automountMapName=auto.home,dc=example,dc=com> with scope subtree
# filter: (objectclass=automount)
# requesting: ALL
#
# foo, auto.home, example.com
dn: automountKey=foo,automountMapName=auto.home,dc=example,dc=com
objectClass: automount
automountKey: foo
automountInformation: filer.example.com:/export/foo
# /, auto.home, example.com
dn: automountKey=/,automountMapName=auto.home,dc=example,dc=com
objectClass: automount
automountKey: /
automountInformation: filer.example.com:/export/&
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow