目次
文書の過去の版を表示しています。
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
ActiveDirectoryに参加
$ sudo net ads join -U Administrator Enter Administrator's password: <- パスワードを入力 Using short domain name -- FIREBALL Joined 'BLUE-SV' to dns domain 'fireball.local' DNS Update for blue-sv.fireball.local failed: ERROR_DNS_UPDATE_FAILED DNS update failed: NT_STATUS_UNSUCCESSFUL