linux:samba:samba_ad_member

文書の過去の版を表示しています。


LinuxによるActiveDirectoryへの参加

$ sudo yum install samba-winbind samba-winbind-clients 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
$ sudo authconfig --enablewinbind \
  --krb5kdc=blue-dc.fireball.local,blue-dc2.fireball.local \
  --krb5realm=FIREBALL.LOCAL --update
$ 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
$ sudo systemctl restart winbind.service
$ 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
  • linux/samba/samba_ad_member.1383458830.txt.gz
  • 最終更新: 2019/05/18 02:23
  • (外部編集)