[cifs-protocol] [REG:111060784988397] joining domain with IPv6 client

Bryan Burgin bburgin at microsoft.com
Tue Jun 7 17:40:57 MDT 2011

[Dochelp to bcc]
[Adding case number and casemail]

Hi Tridge,

Hongwei gave us a heads up that this would be coming in.  I created case 111060784988397, which he will pick up.


-----Original Message-----
From: tridge at samba.org [mailto:tridge at samba.org] 
Sent: Tuesday, June 07, 2011 4:32 PM
To: Hongwei Sun
Cc: cifs-protocol at samba.org; Interoperability Documentation Help
Subject: joining domain with IPv6 client

Hi Hongwei,

I've hit a problem with joining a Windows2008r2 client to a Samba4 domain as a domain member, when the Windows client only has a IPv6 address (no V4 address).

The join completes, but then I get an error message:

 Changing the Primary Domain DNS name of this computer to ""
 failed. The name will remain "bludom.tridgell.net".
 The error was:
 The specified server cannot perform the requested operation.

I have taken a TTT trace, and I'd appreciate it if you could have a look and see why Windows doesn't like the join. 

At the end of NetSetup.log I see the following:

06/08/2011 08:25:34:107 NetpChangeMachineName: from 'W2K8R2C' to 'w2k8r2c' using 'bludom.tridgell.net\administrator' [0x1000]
06/08/2011 08:25:34:107 NetpDsGetDcName: trying to find DC in domain 'BLUDOM', flags: 0x1010
06/08/2011 08:25:34:219 NetpDsGetDcName: found DC '\\BLU' in the specified domain
06/08/2011 08:25:34:219 NetpGetLsaPrimaryDomain: status: 0x0
06/08/2011 08:25:34:219 NetpGetDnsHostName: Read NV Domain: bludom.tridgell.net
06/08/2011 08:25:34:497 NetpLdapBind: ldap_bind failed on BLU: 81: Server Down
06/08/2011 08:25:34:497 NetpSetDnsHostNameAndSpn: NetpLdapBind failed: 0x3a
06/08/2011 08:25:34:497 NetpChangeMachineName: status of setting DnsHostName and SPN: 0x3a

I'm guessing that Windows is getting back an IPv4 address somewhere in the join, and trying to use that to talk to the DCs LDAP server. Unfortunately I can't find any place where we are inappropriately returning an IPv4 address during the join.

I've put a TTT trace of lsass.exe, along with a network capture and windows debug logs here:


In the trace, the samba server has addresses and fdb1:2726:40f9:b3b7::1. The w2k8r2 client has address fdb1:2726:40f9:b3b7::16. 

Cheers, Tridge

More information about the cifs-protocol mailing list