[Samba] win 7 join domain error
steve at steve-ss.com
Sat Nov 5 05:59:12 MDT 2011
On Saturday 05 Nov 2011 11:48:02 you wrote:
> Please keep CC to the list.
> From: steve <steve at steve-ss.com>
> Date: Sat, 5 Nov 2011 08:33:37 +0100
> > On Saturday 05 Nov 2011 04:08:49 you wrote:
> > > From: steve <steve at steve-ss.com>
> > > Date: Sat, 5 Nov 2011 01:07:58 +0100
> > >
> > > Use simple "%u" instead of "%m$", see smb.conf(5) for details.
> > >
> > > ---
> > > TAKAHASHI Motonobu <monyo at samba.gr.jp>
> > I changed that but no luck. The logs give this:
> > Nov 5 08:27:18 hh1 smbd: [2011/11/05 08:27:18.540172, 0]
> > passdb/pdb_interface.c:348(pdb_default_create_user)
> > Nov 5 08:27:18 hh1 smbd: _samr_create_user: Running the command
> > `/usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false
> > steve-pc$' gave 83
> Simply running "/usr/sbin/useradd -c Machine -d /var/lib/nobody -s
> /bin/false steve-pc$" on your command line is successed?
Yes. That works fine. getent shows:
> If not, arguments for useradd is not good, so it's not a problem for
> Samba, but for useradd.
> Also you had better search why useradd returns 83.
The only google reference to it is to this thread!
I'd expect the machine to be added as an ldap user rather than a local user.
I've tried adding the machine to the domain with and without ldap-TLS too.
Thanks so much for your patience.
> TAKAHASHI Motonobu <monyo at samba.gr.jp>
More information about the samba