2 servers and routers between them..

Luke Kenneth Casson Leighton lkcl at switchboard.net
Mon Mar 9 14:31:11 GMT 1998

hi nuno,

there are a couple of ways to do this (one in the future, with
inter-domain trust relationships worked out).

which leaves this as an ordinary administration exercise to get round the
lack of thingy.  domain trust relationships.

ok, your network is subdivided, yes?  you can either use a %substitution
macro which subdivides by netgroup (@lab1_pcs or @lab2_pcs) or by network

then, you can do [global] include = /usr/local/samba/lib/smb.conf.%X where
%X is the macro substitution for the netgroup or the network address.

then, you create /usr/local/samba/lib/smb.conf.lab1 or .lab2 or
.194.159.24. or .194.159.25. - whatever.

smb.conf.lab1 contains:

home dir = \\linux1\homes
logon path = \\linux1\profiles\%U

etc... you get the idea.


On Mon, 9 Mar 1998, Nuno Loureiro wrote:

> Hi!!
>         The lab (Lab1), I always talk about, with 25 computers and a linux as a
> PDC (Linux1) for them, and another lab (Lab2) about 7Km far away have to be
> "connected".
>         The users of one lab are the users of the other lab...
>         To connect the 2 Labs there's an ATM link and about 3 or 4 routers
> between them (in 2 university campus)... (I don't control this)
>         The 2 labs are identical.. 1 linux as a NTDOM controller and NT4 wrkts
> on each.
>         Well, I would like the users of (Lab2) to use (Linux1) as their PDC, or
> (Linux1) and (Linux2) to do replication.
>         I want the users on both labs to have the same smbpassword..
>         Homedirs of (lab1) will be on (linux1) and homedirs of (lab2) will be
> on (linux2)..
>         What's the best way to do this, or is this possible with samba?
> Thanks in Advance, 
>         Nuno Loureiro
> -----
> Nuno Andre Henriques Loureiro        
> http://lwp.ualg.pt/~nuno          
> PGP FingerPrint: 85 B2 B7 DA 28 C0 D9 BC  E8 4D DC 23 8E 2B 72 B4
> Finger nuno at lwp.ualg.pt for more info

<a href="mailto:lkcl at samba.anu.edu.au" > Luke Kenneth Casson Leighton  </a>
<a href="http://mailhost.cb1.com/~lkcl"> Samba and Network Development </a>
<a href="http://www.samba.co.uk"       > Samba and Network Consultancy </a>

More information about the samba-ntdom mailing list