[Samba] Samba Wins Problem
Adel Ben Zarrouk
adel at opennet.ae
Tue Oct 31 17:29:36 GMT 2006
Hi All
I have installed Samba 3 under RHEL v4, with LDAP support for the
authentication and as a PDC Domain, it seems everything works fine, but the
only problem was the network browser list.
We have a different subnet 192.168.X., 192.168.Y., 192.168.Z., etc..., Samba
local browser works fine, but the remote subnet and workgroup are
inaccessible, I double check the nmbd logs, there an error which I can't
resolve it related to wins server <packet_is_for_wins_server: failing WINS
test #1.>, it seems the Samba wins server try to update the database but no
success, I am not sure about the reason behind, I tried many things to solve
it, I installed a samba4wins server which is a replicate server for wins
windows server, but the same, I tried to make a samba to listen to microsoft
wins server (wins server = X.Y.Z.T), but the same problems.
For your information, the all subnet are connected through a Cisco router for
the intranet and for the internet connection through another Linux router,
the default router for the samba server (broadcast) is the internal router
(Cisco).
I have attached my smb.conf here for more details about the configuration.
PS: There is another internal error (Bug) if I try to configure a wins proxy
support with the latest update of Samba with RHEL ES4 U4.
Regards
--Adel
--
Adel Ben Zarrouk
Senior Project Manager
Opennet MEA FZ LLC
Tel: +971 4 390 1943
Fax: +971 4 390 4360
Cell:+971 50 458 2797
http://www.opennet.ae/
-------------------------------------------------------
--
Adel Ben Zarrouk
Senior Project Manager
Opennet MEA FZ LLC
Tel: +971 4 390 1943
Fax: +971 4 390 4360
Cell:+971 50 458 2797
http://www.opennet.ae/
<JBoss World comes to ME !!
Dubai, November 19 in GITEX
Contact us for details>
-------------- next part --------------
[global]
workgroup = GMH-SIEGE
netbios name = PDC-SRV
username map = /etc/samba/smbusers
server string = Linux PDC Server
#interfaces = 192.168.0.203 127.0.0.1
#bind interfaces only = Yes
security = user
encrypt passwords = Yes
passdb backend = ldapsam:ldap://127.0.0.1
min passwd length = 3
obey pam restrictions = No
ldap passwd sync = Yes
log level = 100
syslog = 0
name resolve order = bcast hosts lmhost wins
log file = /var/log/samba/log.%m
max log size = 100000
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
#mangling method = hash2
Dos charset = 850
Unix charset = ISO8859-1
logon script = logon.bat
logon drive = H:
logon home =
logon path = \\%L\profiles\%U
Domain logons = Yes
os level = 33
prefered master = Yes
domain master = Yes
local master = Yes
#wins proxy = yes
wins support = Yes
#wins server = 192.168.0.203
ldap admin dn = cn=Manager,dc=gmh,dc=com,dc=tn
ldap suffix = dc=gmh,dc=com,dc=tn
ldap group suffix = ou=Groups
ldap user suffix = ou=Users
ldap machine suffix = ou=Computers
ldap idmap suffix = ou=Users
add user script = /usr/sbin/smbldap-useradd -m "%u"
#ldap delete dn = Yes
add machine script = /usr/sbin/smbldap-useradd -w "%u"
add group script = /usr/sbin/smbldap-groupadd -p "%g"
add user to group script = /usr/sbin/smbldap-groupmod -m "%u" "%g"
delete user from group script = /usr/sbin/smbldap-groupmod -x "%u" "%g"
set primary group script = /usr/sbin/smbldap-usermod -g "%g" "%u"
#idmap uid = 16777216-33554431
#idmap gid = 16777216-33554431
idmap uid = 10000-20000
idmap gid = 10000-20000
ldap ssl = Off
template shell = /bin/false
#winbind use default domain = Yes
remote browse sync = 192.168.4.255 192.168.1.255 192.168.0.255 192.168.2.255 192.168.5.255 192.168.6.255
remote announce = 192.168.4.255/ELECTROSTAR 192.168.1.255/RANDA 192.168.0.255/SIEGE 192.168.2.255/MIXELEC 192.168.5.255/GMH-SFAX 192.168.6.255/GMH-SOUSSE
announce as = NT server
winbind uid =
winbind gid =
enhanced browsing = yes
[homes]
comment = Users Home Directory
valid users = %U
read only = No
create mask = 0644
directory mask = 0775
browseable = No
[netlogon]
path = /home/samba/netlogon/
browseable = No
read only = Yes
[profiles]
path=/home/samba/profiles
read only = no
create mask = 0600
directory mask = 0700
browseable = No
guest ok = Yes
profile acls = yes
csc policy = disable
force user = %U
valid users = %U @"Domain Admins"
More information about the samba
mailing list