[Samba] BDC on Different subnet
mallapadi niranjan
niranjan.ashok at gmail.com
Fri May 5 06:49:59 GMT 2006
Hi all
I have a samba 3.0.21c with openldap backend as PDC on subnet
192.168.129.0(mypdc). i have configured
Backup Domain Controller on subnet 192.168.130.0(mybdc) subnet for the same
domain. but if i do nmblookup from pdc to the bdc, it's getting failed and
viceversa. and from bdc,
>From BDC , we are unable to browse system added to PDC on the subnet
192.168.129.0.
I have enabled IP forwarding and both system are able to ping each other.
the following is the smb.conf of BDC
##################################################
[global]
unix charset = LOCALE
workgroup = msdpl.com
netbios name = fosrv001
passdb backend = ldapsam:ldap://192.168.130.3
enable privileges = Yes
server string = Factory Backup Domain Controller
log level = 1
remote announce = 192.168.129.255
remote browse sync = 192.168.129.255 192.168.128.255
syslog = 0
log file = /usr/local/samba-fo/var/%U.%m.log
max log size = 100
smb ports = 139
printcap name = cups
show add printer wizard = no
logon script = %u.bat
logon path =
logon drive = X:
logon home =
domain logons = yes
domain master = No
hide unreadable = yes
deadtime = 15
wins server = 192.168.129.20
name resolve order = lmhosts wins bcast hosts
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
interfaces = eth0, lo
bind interfaces only = yes
hide dot files = yes
dns proxy = no
nt acl support = yes
ldap passwd sync = yes
ldap suffix = dc=msdpl,dc=com
ldap admin dn = cn=foreplica,dc=msdpl,dc=com
ldap group suffix = ou=Groups
ldap user suffix = ou=People
ldap machine suffix = ou=Computers
ldap idmap suffix = ou=Idmap
ldap ssl = no
ldap timeout = 50
idmap backend = ldap:ldap://192.168.130.3
idmap uid = 10000-20000
idmap gid = 10000-20000
map acl inherit = yes
printing = cups
######################################################[Share
Definations]###########################################
[homes]
comment = Home Directories
valid users = %S
browseable = no
read only = no
nt acl support = Yes
# Un-comment the following and create the netlogon directory for Domain
Logons
[netlogon]
comment = Network Logon Service
path = /netlogon/scripts
guest ok = yes
browseable = no
write list = root
#Profiles Share
[profiles]
comment = Profiles Share
path = /profiles/%U
read only = No
browseable = yes
writeable = yes
guest ok = Yes
#################################################
what changes should i make in smb.conf of my bdc, so
that i can browse all the machines of the subnet 192.168.129.0
please guide me
regards
niranjan
More information about the samba
mailing list