[Samba] two PDC's on same machine in same subnet

pilsl at goldfisch.at pilsl at goldfisch.at
Sun Apr 27 10:14:12 GMT 2003


By now we had running samba as PDC and fileserver for about 20
NT4-clients with roaming profiles.

Now we start migrating NT4-clients to XP-clients and as I found out
roaming userprofiles between XP and NT4 is not possible (NT4->XP
works, but not vice versa).

So I just thought about cloning all the profiles (docs and mails are
not in the profiles so only bookmarks, adressbook and backgroundpics
hasve to be maintained twice by roaming users) to get an NT4-branch
and a XP-branch and setup a second domain and run a different samba
for it that binds to a virtual interface that is in the same subnet.
(same subnet would be great cause we use dhcp and introducing a new
subnet will cry for troubles)

my questions :

* What troubles do I have to expect ? 
* Will this cause lot of master-challenging traffic on the net ? 
* should both sambas act as WINS-server ? (dont think so)
* will the machines in the nt4-domain (that have all the printers)
propagate their shares to the xp-domain ?
* why cant I use 'bind interfaces only' in such a config ? (the second
smbd will refuse to start then cause 'adress already in use')
* does it matter if I use the sama passwd-files for both sambas
* any other idea to solve the profile-issue ?


thnx a lot,
peter


my current config:

lets say:
nt4-pdc : eth0   : 192.168.1.1/24 : smb.nt4.conf
xp-pdc  : eth0:0 : 192.168.1.2/24 : smb.xp.conf


smb.nt4.conf
[global]
        bind interfaces only = no
        interfaces = 127.0.0.1/32 192.168.1.0/24
        socket address = 192.168.1.1
 
        netbios name = server
        name resolve order = host
        wins proxy = yes
        wins support = yes
 
        workgroup = domain
        domain logons = Yes
 
        lock directory = /usr/local/samba/var/locks
        pid directory = /usr/local/samba/var/locks
 
        os level = 255
        preferred master = Yes

        logon drive = o:
        logon home = \\server\%U
        logon path = \\server\profiles\%U
        logon script = startup.bat
        security = user



smb.xp.conf
[global]
        bind interfaces only = no
        interfaces = 127.0.0.1/32 192.168.1.0/24
        socket address = 192.168.1.2
 
        netbios name = server_xp
        name resolve order = host
        wins proxy = yes
        wins support = yes
 
        workgroup = domain_xp
        domain logons = Yes
 
        lock directory = /usr/local/samba/var/locks_xp
        pid directory = /usr/local/samba/var/locks_xp
 
        os level = 255
        preferred master = Yes

        logon drive = o:
        logon home = \\server_xp\%U
        logon path = \\server_xp\profiles\%U
        logon script = startup.bat
        security = user




-- 
mag. peter pilsl
IT-Consulting
tel: +43-699-1-3574035
fax: +43-699-4-3574035
pilsl at goldfisch.at
http://www.goldfisch.at


More information about the samba mailing list