join samba client to samba domain

Luke Kenneth Casson Leighton lkcl at samba.org
Fri Apr 14 12:55:18 GMT 2000


you need to make *two* connections inside samedit.

you need to do one of them on the command-line to the domain controller

the second must be with use \\wksta -Uuser%pass -W wksta

On Fri, 14 Apr 2000, Pieter Grimmerink wrote:

> 
> 
> > -----Original Message-----
> > From: samba-ntdom at samba.org [mailto:samba-ntdom at samba.org]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
> lsaquery
> createuser client$ -s -j
> 
> this creates a valid machine account, but does not join the client to the
> domain.
> 
> deluser client$
> createuser client$ -s -j DOMAINNAME
> 
> tries to create a machine account, and tries to join the client to the
> domain.
> 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
> 
> 

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



More information about the samba-ntdom mailing list