SambaをActiveDirectoryへ参加できない

SambaでActiveDirectoryへ参加できない場合の対処のメモ
考えら得る原因
・ADのサーバと、Sambaのサーバの時刻が同期していない
・FQDN名が参照できない
2番目の場合で下のようにエラーがでる場合、/etc/hostsにFQDN名を書いてあげれば参加できます。

[root@rhel4 ~]# kinit administrator@DOMAIN.LOCAL
Password for administrator@DOMAIN.LOCAL:
失敗した場合
[root@rhel4 ~]# net ads join -U administrator
administrator's password:
Using short domain name -- DOMAIN
Failed to set servicePrincipalNames. Please ensure that
the DNS domain of this server matches the AD domain,
Or rejoin with using Domain Admin credentials.
Deleted account for 'RHEL4' in realm 'DOMAIN.LOCAL'
Failed to join domain: Type or value exists
参加できた場合
[root@rhel4 ~]# net ads join -U administrator
administrator's password:
Using short domain name -- DOMAIN
Joined 'RHEL4' to realm 'DOMAIN.LOCAL'
ダメ
127.0.0.1  rhel4 localhost.localdomain   localhost
OK
127.0.0.1  rhel4.domain.local rhel4 localhost.localdomain localhost

SambaをActiveDirectoryへ参加できない」への1件のフィードバック

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

CAPTCHA