11
I am using Samba 3, and want to join my Windows 8 PC to the Samba domain.
Windows 8 cannot join out of the box, so I added the following registry entries:
HKLM\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters
DWORD DomainCompatibilityMode 1
DWORD DNSNameResolutionRequired 0
And now it talks to the Samba server ok, however I get the following error:
And I notice that the machine name created on the samba server does not match its name:
win-8jq3fg1n74e$:x:30003:30003:Machine:/var/lib/nobody:/bin/false
It is like it is using an internal name.
The following is the error in the smb.log
[2012/10/21 14:26:16.099520, 0] passdb/pdb_interface.c:348(pdb_default_create_user) _samr_create_user: Running the command `/usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false win-8jq3fg1n74e$' gave 9
[2012/10/21 14:26:28.143224, 0] lib/util_sock.c:474(read_fd_with_timeout)
[2012/10/21 14:26:28.143420, 0] lib/util_sock.c:1441(get_peer_addr_internal)
getpeername failed. Error was Transport endpoint is not connected
read_fd_with_timeout: client 0.0.0.0 read error = Connection reset by peer.
What do you mean can't join out of the box? Are you using Windows 8 core, not Pro, or is there something else wrong? – nhinkle – 2012-10-21T04:03:02.033
@nhinkle I mean in the same way that Windows 7 cannot join a Samba domain out of the box - Samba3 supports NT type domains, and W7 and W8 so needs the registry settings above before you begin. – Paul – 2012-10-21T04:06:32.943
Ahh, I see. So it's an issue of backwards-compatibility then. Thanks for clarifying. – nhinkle – 2012-10-21T04:24:44.333