Bug 305040

Summary: Failed to join domain. Type or value exists
Product: [openSUSE] openSUSE 10.3 Reporter: Joshua Grant <jgrant>
Component: YaST2Assignee: Bo Yang <boyang>
Status: RESOLVED INVALID QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: johnhjkim, jsuchome, samba-maintainers
Version: Beta 2   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: System Test Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: y2log of join domain errors

Description Joshua Grant 2007-08-27 21:20:33 UTC
Created attachment 160123 [details]
y2log of join domain errors

Unable to join domain with Yast2 windows domain membership module. Receive error "Failed to join domain. Type or value exists. Attached y2log shows further detail.
Comment 2 Bo Yang 2007-08-31 02:33:22 UTC
make sure your /etc/HOSTNAME contains JGRANT-ODE.ad.sled.lab.novell.com

And there is entry in your /etc/hosts contains

X.X.X.X      JGRANT-ODE.ad.sled.lab.novell.com

And then invoke net ads join -d10 -UAdministrator%password to check the result.
Comment 3 Joshua Grant 2007-09-04 14:54:04 UTC
Result from above steps: Failed to join domain: Invalid domain role.
Comment 4 John Kim 2007-09-07 18:20:44 UTC
In 10.0, 10.1, and 10.2, there was no problem to join Windows domain, but 10.3 (Beta3 also) failed to join domain as message displayed below:

Using short domain name -- ILOVETOMAIL
Deleted account for 'OS103' in realm 'ILOVETOMAIL.COM'
Failed to join domain: Type or value exists
Comment 5 John Kim 2007-09-07 20:58:29 UTC
If I manually put FQDN name in /etc/hosts file, e.g. hostname.domainname, domain joining process succeed without any problem. You can verify this by:

# hostname -f

If the above result shows only hostname part, you should put FQDN name in /etc/hosts file.

I think this is still suse103 bug because the fqdn name was supposed to be inserted there while installation.
Comment 6 Bo Yang 2007-09-08 02:47:23 UTC
Based on comment #5, this is invalid again. configuration problem......
Comment 7 Joshua Grant 2007-09-10 15:45:55 UTC
I still believe this to be a bug. Testing this scenario in SLED 10 SP1, the FQDN is NEVER added to the /etc/hosts file and yet joining a domain succeeds without error...
Comment 8 Bo Yang 2007-09-10 16:01:53 UTC
Pls give the output of nslookup FQDN.

I think it must exist on DNS servers.
Comment 9 Joshua Grant 2007-09-10 16:10:17 UTC
nslookup FQDN

Server:         151.155.249.253
Address:        151.155.249.253#53

** server can't find FQDN: NXDOMAIN