I am using krb5-1.10.3, openldap-2.4.32 and samba-3.6.7 with ADS. I am running two instances of samba on same server. Each of them join different AD domains. One domain works with Hostname, the other does not work with host name, it only works with IP address. It keeps looking for my user ID and in the end returns me following error message: -
Username YYYY\xxxx is invalid on this system
When I snoop the network, I dont see my samba server making any connection with AD server. But when I use IP address, I see in the snoop output that Samba server talking with AD server.
For the other domain, it works fine all the time either with hostname and IP.
Somebody did mention on the mailing list to make a CNAME record. I did that, but still no luck.