[Samba] Trust relationship between two samba with ldap backend - working now

John H Terpstra jht at samba.org
Tue Sep 21 20:22:01 GMT 2004


On Tuesday 21 September 2004 14:13, Gustavo Lima wrote:
> John,
>
> Just berfore I explain how it worked a last question. In NT networks we
> need to replicate WINS between PDCs. Is this needed in samba? How does it
> work? Or I have to use the same WINS server to all PDC over WAN? Not clear
> for me.

You need to use one single WINS server. WINS replication is not yet fully 
implemented and is therefore not functional.

- John T.

>
> I did this way.
>
> Joined the local domain.
>
> Created a machine account with smbldap-useradd -w dom2 on domain 1 machine.
>
> Then changed it´s password and at last changed the sambaAcctFlags in ldap
> db to [I].
>
> At this time the trusting was showed on list command.
>
> Then I did the same on the domain 2 machine.
>
> Ending the story I established the trust on dom1 with the command
>
> net rpc trustdom establish dom2
>
> and put the dom2 machine account password.
>
> At last I repeated the process on machine dom2.
>
> Logged on WinXP and everything was working fine.
>
> Thank´s by the tips. Were very usefull.
>
> 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