[Samba] Trust relationship between two samba with ldap backend

John H Terpstra jht at samba.org
Tue Sep 21 19:25:51 GMT 2004


On Tuesday 21 September 2004 13:09, Gustavo Lima wrote:
>     John,
>
> I cleanned all the entries from my ldap. Created the OUs again.
>
> Joined the local and the remote domain.
>
> dom1:/etc# net rpc join -S dom1 -U Administrator%passwd
> dom1:/etc# net rpc join -S dom2 -U Administrator%passwd

No. Each machine needs to join its own domain.

- John T.

>
> Created the machine user:
>
> dom1:/etc/smbldap-tools# smbldap-useradd -a -i dom2
> New password : 123456
> Retype new password : 123456
> dom1:/etc/smbldap-tools# net rpc trustdom add dom2 123456
> Password: 123456
>
> Then I listed the trusts:
>
> teste1:/etc/smbldap-tools# net rpc trustdom list
> Password: (here, everything I type works)
> Trusted domains list:
>
> none
>
> Trusting domains list:
>
> none
>
> Other tip?
>
> Gustavo

-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO & Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
OpenLDAP by Example, ISBN: 0131488732
Other books in production.


More information about the samba mailing list