NT PDC and Samba-TNG BDC? Anyone?

someone p.grimmerink at home.nl
Wed May 10 12:34:13 GMT 2000


Dominik Kubla wrote:

> # rpcclient -S NT4PDC -U administrator -W MYGROUP -n ADMIN
> added interface ip=10.0.0.2 bcast=10.0.0.127 nmask=255.255.255.128
> Enter Password:
> Server: \\NT4PDC:     User:   administrator   Domain: MYGROUP
> Connection:     error connecting to 10.0.0.34:445 (Connection refused)
>                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>                                     What is this?
> 
> session setup ok
> Domain=[MYGROUP] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]
> OK
> [MYGROUP\administrator at NT4PDC]$ lsaquery
> lsaquery
> LSA Query Info Policy
> Domain Member     - Domain: MYGROUP SID: S-x-x-xx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx
> Domain Controller - Domain: MYGROUP SID: S-x-x-xx-xxxxxxxxx-xxxxxxxxx-xxxxxxxxx


At this stage you should do a :
use -Sadmin -Ulocalrootaccount -Wadmin
The localrootaccount should be in the smbpasswd file, with a correct
password
Note the -Wadmin, indicating that you really want to log in as a local
user.
Now you have a connection to the samba machine, you can proceed.

> [MYGROUP\administrator at NT4PDC]$ createuser ADMIN$ -s -j MYGROUP
> createuser ADMIN$ -s -j MYGROUP
> SAM Create Domain User
> error connecting to 10.0.0.2:445 (Connection refused)
> Domain: MYGROUP Name: admin$ ACB: [S          ]
>                       ^^^^^
>                       Why is this in lower caps?

Case insensitive. No problem
 
Regards,

Pieter


More information about the samba-ntdom mailing list