[Samba] win 7 join domain error

TAKAHASHI Motonobu monyo at monyo.com
Fri Nov 4 21:08:49 MDT 2011


From: steve <steve at steve-ss.com>
Date: Sat, 5 Nov 2011 01:07:58 +0100

> i am trying to join a win 7 client to my samba pdc. Authentication is via ldap 
> which is working fine.
> I have added the two windows 7 registry items:
> 
> HKLM\System\CCS\Services\LanmanWorkstation\Parameters
>             DWORD  DomainCompatibilityMode = 1
>             DWORD  DNSNameResolutionRequired = 0

(snip)

> When I try to add the machine to the domain  get the win 7 error:
> 'The specified computer could not be found. Contact an administrator to verify 
> if the account is in the domain. . .'
> Root has a samba password which I specify when joining.
> Could anyone help here?
> My smb.conf is:
> 
> [global]
>         workgroup = HH1
>         map to guest = Bad User
>         passdb backend = ldapsam:ldap://127.0.0.1
>         printcap name = cups
>         add machine script = /usr/sbin/useradd  -c Machine -d /var/lib/nobody 
> -s /bin/false %m$
(snip)

Use simple "%u" instead of "%m$", see smb.conf(5) for details.

---
TAKAHASHI Motonobu <monyo at samba.gr.jp>


More information about the samba mailing list