Bug 9290 - User authentication not working with Hostname works with IP address
Summary: User authentication not working with Hostname works with IP address
Status: NEW
Alias: None
Product: Samba 3.6
Classification: Unclassified
Component: User & Group Accounts (show other bugs)
Version: 3.6.7
Hardware: Sparc Solaris
: P5 major
Target Milestone: ---
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-15 17:33 UTC by Nitin Thakur
Modified: 2012-10-15 17:33 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nitin Thakur 2012-10-15 17:33:51 UTC
Hi 

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: -


auth/user_krb5.c:162(get_user_from_kerberos_info)
  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.


Thanks