文書の過去の版を表示しています。
LinuxによるActiveDirectoryへの参加
パッケージインストール
$ sudo yum install samba-winbind krb5-workstation
設定ファイルのバックアップ
$ sudo mv /etc/samba/smb.conf /etc/samba/smb.conf.org $ sudo cp /etc/krb5.conf /etc/krb5.conf.org $ sudo cp /etc/nsswitch.conf /etc/nsswitch.conf.org
authconfig による自動設定
$ sudo authconfig --enablewinbind \ --krb5kdc=blue-dc.fireball.local,blue-dc2.fireball.local \ --krb5realm=FIREBALL.LOCAL --update
smb.confの設定
$ sudo vi /etc/samba/smb.conf
# Global parameters
[global]
workgroup = FIREBALL
server string = Samba Server Version %v
password server = blue-dc.fireball.local blue-dc2.fireball.local
realm = fireball.local
netbios name = BLUE-SV
security = ads
template shell = /bin/bash
winbind use default domain = false
winbind offline logon = true