cmd_sam_sync: no trust account password

Karl Rossing karl at marvin.ERTW.ca
Fri Apr 14 01:50:32 GMT 2000


I'm trying to add a samba BDC to an NT PDC

I follow the instructions from 

http://www.kneschke.de/projekte/samba_tng/faq/samba_bdc.php3

IE:
[root at REMOTESITE2 bin]# ./rpcclient -S PDC -U user%passs -W NTDOMAINNAME
added interface ip=10.0.0.1 bcast=10.0.0.0 nmask=255.0.0.0
Server: \\PDC: User:   user    Domain: NTDOMAINNAME
Connection:     socket connect to /tmp/.smb.0/agent failed: Connection
refused
error connecting to 10.0.0.1:445 (Connection refused)
session setup ok
Domain=[NTDOMAINNAME] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0]
OK
[NTDOMAINNAME\user at PDC]$ lsaquery
lsaquery

LSA Query Info Policy
Domain Member     - Domain: NTDOMAINNAME SID:
S-X-X-XX-XXXXXXXXXX-XXXXXXXXXX-XXXXXX
154
Domain Controller - Domain: NTDOMAINNAME SID:
S-X-X-XX-XXXXXXXXXX-XXXXXXXXXX-XXXXXX
154
[NTDOMAINNAME\user at PDC]$ createuser REMOTESITE$ -s -j
createuser REMOTESITE$ -s -j

REMOTESITE$: option requires an argument -- j
SAM Create Domain User
Domain: NTDOMAINNAME Name: REMOTESITE$ ACB: [S          ]
Resetting Trust Account to insecure, initial, well-known value:
"REMOTESITE"
REMOTESITE2 can now be joined to the domain, which should
be done on a private, secure network as soon as possible
Create Domain User: OK
[NTDOMAINNAME\user at PDC]$ samsync
samsync

LSA_QUERYSECRET:
cmd_sam_sync: no trust account password


How would i create the trust so that i can get the sam?



More information about the samba-ntdom mailing list