join samba client to samba domain

Luke Kenneth Casson Leighton lkcl at
Fri Apr 14 02:40:13 GMT 2000

if you don't have a private/smbpasswd,

touch private/smbpasswd.

On Fri, 14 Apr 2000, Pieter Grimmerink wrote:

> I've recently updated my samba PDC to 2.2, and now I tried to recreate a
> machine account for a samba client. I started with a new smbpasswd file,
> followed all the instructions, etc.
> When I try to create a machine account on the Samba server with
> samedit -U root
> createuser client$
> it tells me to use lsaquery first, to get my SID
> This seems to be a function in rpcclient.
> This one fails.
> When I try to join the domain with
> rpcclient -U root
> createuser client$ -j
> from the client machine, this also fails, telling me to use lsaquery first.
> Does anyone know what causes this problem?
> How should I proceed?
> Best regards,
> Pieter Grimmerink

<a href=" mailto:lkcl at" > Luke Kenneth Casson Leighton    </a>
<a href=""  > Samba and Network Development   </a>
<a href=""      > Samba Web site                  </a>
<a href=""        > Macmillan Technical Publishing  </a>
ISBN1578701503 DCE/RPC over SMB: Samba and Windows NT Domain Internals

More information about the samba-ntdom mailing list