New DNS entries added while joining a Windows domain

Beware of rejoining a Linux server to a Windows domain.
After restarting winbind service and rejoining a server running RHEL 6.6 within a Windows domain, the monitoring of this server and its services started to be a real mess, sending false alerts.
After investigation, new DNS entries were added. The DNS name was the same pointing to different IP addresses, the ones set up on the server.
By default, Samba enables all active interfaces except the loopback interface (whose IP address 127.0.0.1)
One solution is to specify the name of only one active interface.
This can be set up as follows :

/etc/samba/smb.conf

interfaces = eth0

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s