[Samba] Multiple Domain and multiple subnet

Aldyth Maharsha demhyt at gmail.com
Fri Mar 25 02:42:41 MDT 2011


Hi list, i'm have a problem..i'm setup two domain controller with different
subnet..my client login into domain with network mapping drive
Subnet #1 : 10.1.0.0/16
Subnet #2 : 192.168.21.0/24

PDC 1 : 10.1.1.7/16
PDC 2 : 192.168.21.3/24

If i'm ping, traceroute or ssh from each client it's successfull but i can't
see the network neigborhood at each domain, if i'm login from client at
domain 1, i can't see domain 2 and if i'm login from domain 2, i can't see
domain 1.

Any idea?, thanks before (i'm attach my smb.conf from each pdc)

best regards,
-------------- next part --------------
[global]



add machine script = /sbin/e-smith/signal-event machine-account-create '%u'

bind interfaces only = yes

case sensitive = no
deadtime = 10080

display charset = ISO8859-1

dns proxy = no 

domain logons = yes
domain master = yes
dos charset = 850

encrypt passwords = yes

guest account = public

guest ok = no
hosts allow = 127.0.0.1 10.1.0.0/255.255.0.0 192.168.0.0/255.255.255.0


interfaces = 127.0.0.1 10.1.1.7/255.255.0.0

log file = /var/log/samba/log.%m
logon drive = Z:

logon path = 
logon script = netlogon.bat

map to guest = never

max log size = 50

name resolve order = wins lmhosts bcast

netbios name = sun07
oplocks = true
kernel oplocks = true
level2 oplocks = true
os level = 65

passdb backend = smbpasswd:/etc/samba/smbpasswd


pid directory = /var/run
preferred master = yes

preserve case = yes



security = user
server string = SME Server
short preserve case = yes
smb passwd file = /etc/samba/smbpasswd
smb ports = 139

socket options = TCP_NODELAY 

strict locking = no
unix charset = UTF8

unix password sync = Yes
pam password change = Yes

passwd program = /usr/bin/passwd %u 
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
check password script = /sbin/e-smith/samba_check_password
unix extensions = no


wins support = yes

workgroup = Hutankita
printcap name = /etc/printcap
load printers = yes
printing = lprng
print command = /usr/bin/lpr -b -h -r -P%p %s

[homes]
comment = Home directory
browseable = no
guest ok = no
read only = no
writable = yes
printable = no
create mode = 0660
force create mode = 0660
directory mode = 0770
force directory mode = 0770
path = /home/e-smith/files/users/%S/home

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
use client driver = yes

[netlogon]
comment = Network Logon Service
path = /home/e-smith/files/samba/netlogon
guest ok = yes
writable = yes
browseable = no

[print$]
comment = Printer drivers
path = /home/e-smith/files/samba/printers
guest ok = yes
browseable = yes
writable = no
[Primary]
comment = Primary i-bay


path = /home/e-smith/files/ibays/Primary
read only = no
writable = yes
read list = @shared-ro
printable = no
inherit permissions = yes
create mode = 0640
-------------- next part --------------
[global]

add machine script = /sbin/e-smith/signal-event machine-account-create '%u'
admin users = admin

bind interfaces only = no

case sensitive = no
deadtime = 10080

display charset = ISO8859-1

dns proxy = no 

domain logons = yes
domain master = yes
dos charset = 850

encrypt passwords = yes

guest account = public

guest ok = no
hosts allow = 127.0.0.1 10.1.0.0/255.255.0.0 192.168.21.0/255.255.255.0 192.168.22.0/255.255.255.0


interfaces = 127.0.0.1 192.168.21.3/255.255.255.0

log file = /var/log/samba/log.%m

logon path = 
logon script = netlogon.bat

map to guest = never

max log size = 50

name resolve order = wins lmhosts bcast

netbios name = basirih02
oplocks = true
kernel oplocks = true
level2 oplocks = true

os level = 65

passdb backend = smbpasswd:/etc/samba/smbpasswd


pid directory = /var/run
preserve case = yes

printer admin = admin



security = user
server string = SME Server
short preserve case = yes
smb passwd file = /etc/samba/smbpasswd

socket options = TCP_NODELAY 

strict locking = no
unix charset = UTF8

unix password sync = Yes
pam password change = Yes

passwd program = /usr/bin/passwd %u 
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
check password script = /sbin/e-smith/samba_check_password


wins support = yes

workgroup = bic_jkt
printcap name = /etc/printcap
load printers = yes
printing = lprng
print command = /usr/bin/lpr -b -h -r -P%p %s

[homes]
comment = Home directory
browseable = no
guest ok = no
read only = no
writable = yes
printable = no
create mode = 0660
force create mode = 0660
directory mode = 0770
force directory mode = 0770
path = /home/e-smith/files/users/%S/home

[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
use client driver = yes

[netlogon]
comment = Network Logon Service
path = /home/e-smith/files/samba/netlogon
guest ok = yes
writable = yes
browseable = no

[print$]
comment = Printer drivers
path = /home/e-smith/files/samba/printers
guest ok = yes
browseable = yes
use client driver = yes
writable = no

[Primary]
comment = Primary i-bay
# Recycle Bin disabled
path = /home/e-smith/files/ibays/Primary
read only = no
writable = yes
printable = no
inherit permissions = yes
create mode = 0640


More information about the samba mailing list