Fedora Core/nss ldap

出典: Fukudat

LDAPによるユーザ管理を行うために用いる.

インストール

もともとインストールされていたけど,もしインストールされていなかったら

 $ yum install nss_ldap

でインストール.

設定

ツールで簡単.

GUI版だと,

 $ system-config-authentication

を起動.コンソール版だと,

 $ authconfig

設定は以下のようにした.

User Information        Authentication                       
[ ] Cache Information   [*] Use MD5 Passwords                
[ ] Use Hesiod          [*] Use Shadow Passwords             
[*] Use LDAP            [*] Use LDAP Authentication          
[ ] Use NIS             [ ] Use Kerberos                     
[ ] Use Winbind         [ ] Use SMB Authentication           
                        [ ] Use Winbind Authentication       
                        [ ] Local authorization is sufficient 
         [ ] Use TLS                               
 Server: 192.168.0.11____________________________ 
Base DN: dc=fukudat,dc=com_______________________ 

もし,すでにローカルユーザが存在するようであれば, passwd, group, shadow, gshadow から余計なユーザ,グループを削除する.