join a SAMBA domain as a PDC

Matthew Geddes mgeddes at xavier.sa.edu.au
Thu Feb 17 22:26:38 GMT 2000


Pieter Grimmerink wrote:
> 
> > > I use the CVS SAMBA-TNG sources of a few weeks ago, I can't
> > join the domain
> > > (as Samba PDC) with smbpasswd -j SAMBA, so I tried to do this with
> > >
> > > rpcclient -S . -U root% -l log or samedit -S . -U
> > > root% -l log
> 
> > do a createuser yourownsambaserver$ -j.
> 
> That's what I tried, but I got the response:
> 
> "please use 'lsaquery' first, to ascertain the SID"
> 
> What do I need to do?
> 
> Best regards,
> 
> Pieter

use lsaquery first to ascertain the SID. When you first start rpcclient,
just type lsaquery. It'll hopefully print 2 lines of crud.
Then you can use the createuser ..... bit

matt

-- 
"Our goal for the next release of Windows 2000 is to have zero bugs."
- Lucovsky, Microsoft


More information about the samba-ntdom mailing list