Adding NT user accounts

Steve Langasek vorlon at netexpress.net
Fri Jan 14 21:51:25 GMT 2000


On Sat, 15 Jan 2000, Luke Kenneth Casson Leighton wrote:

> On Fri, 14 Jan 2000, Mark de Jong wrote:
> 
> > Luke, thanks for your quick response. The PDC is a Winnt box. right now I'm
> > setting up user accounts in NT and in Linux individually. I want to
> > consolidate the process. Since I cannot make linux the PDC, my next thought
> > was to make it the BDC. It that necessary to create the NT user accounts? If
> > so, how do I make it the BDC? Where can I get some good documentation on the
> > process? www.samba.org didn't help much.

> domain logons = yes
> domain master = no
> security = user
> password server = THEPDCNAME
> workgroup = THEPDCDOMAINNAME

> unixrootprompt# rpcclient -S THEPDCNAME -U admin%pass -W THEPDCDOMAINNAME
> [DOM\admin at PDC$ ] lsaquery
> [DOM\admin at PDC$ ] createuser YOURSAMBASERVERNAME$ -s -j
> create trust account: OK
> join domain: OK.
> [DOM\admin at PDC$ ] samsync

> you WILL need to have created unix /etc/passwd entries in advance of doing
> the sam sync command.

Is this 'samsync' command the same as or different from the replication used
between NT PDC/BDC groups?  (I.e., how far do we have to go yet before peering
relationships are possible? :)

-Steve Langasek
postmodern programmer



More information about the samba-technical mailing list