join samba client to samba domain

Pieter Grimmerink p.grimmerink at
Fri Apr 14 11:36:41 GMT 2000

> -----Original Message-----
> From: samba-ntdom at [mailto:samba-ntdom at]On Behalf Of
> Pieter Grimmerink
> Sent: vrijdag 14 april 2000 10:52
> To: Multiple recipients of list SAMBA-NTDOM
> Subject: RE: join samba client to samba domain
> > if you don't have a private/smbpasswd,
> >
> > touch private/smbpasswd.
> I do have an empty smbpasswd file.
> But this is the client.
> The problem seems to be at the server.
> When I try to do
> samedit -U root
> createuser client$
> this fails, telling me to use lsaquery first, to ascertain the SID

I got a bit further now, after I used the -W option;

rpcclient -S PDCNAME -U root -W DOMAINNAME
createuser client$ -s -j

this creates a valid machine account, but does not join the client to the

deluser client$
createuser client$ -s -j DOMAINNAME

tries to create a machine account, and tries to join the client to the
This somehow fails.
(the server tries to connect to port 445 of both the PDC and the client,
connections are refused, it also tries to connect to /tmp/.smb.0/agent, this
also fails.)
final message 'Create Domain User: FAILED'

I've tried this also with an NT server, I used rpcclient from the samba
client, and tried to create a machine account and join the samba client to
the domain.
This also failed.

How can I join my samba client to either a samba PDC or a NT PDC?
(the samba pdc is running samba-tng alpha version 2.2, the client 2.4, the
client I tried to join to an NT domain is running 2.3)

Best regards,

Pieter Grimmerink

More information about the samba-ntdom mailing list