[Samba] Samba Wins Problem

2006-10-31 Thread Adel Ben Zarrouk
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

[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 = 10
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 = 1-2
   idmap gid = 1-2
   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

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Samba] wins problem, netbios aliases never gets updated in the wins

2006-04-24 Thread Guido Lorenzutti

I found a problem with samba and the wins service.
I was running samba on a static ip acting as a pdc. With a SERVER 
netbios name.
The thing is I change the static IP to 10.6.0.254 and i rename the 
server in the
netbios name parameter to BDCALMA. Then, i put the netbios alieases to 
SERVER so this way everyone will find the old name.
The problem is that the wins server (once i delete the wins.dat file) 
regenerate and the SERVER still points to the old IP and to the new one. 
The first is the old, so all the windows in the network only see the 
first IP y cannot connect to the new server by the SERVER name.
How did I solve this? I change the netbios name to server, reload 
samba, the wins was correctly updateted and I then was able to return 
the netbios name to the new one.


In short words, the netbios aliases never gets updated in the wins.

Samba version 3.014a, Debian stable.


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] WINS Problem

2005-06-19 Thread Matt Schwartz
This WINS problem is baffling.  I have built Samba from the source and 
the make install did not seem to put the libnss_wins.so.2 anywhere.  
Here is the ./configure command I used.  Perhaps someone can enlighten me


./configure --prefix=/usr/local/samba --with-configdir=/etc/samba 
--with-privatedir=/etc/samba/private --with-piddir=/var/samba 
--with-lockdir=/var/samba/locks --with-logfilebase=/var/samba/logs 
--with-acl-support.


I am running Debian Sarge release and I have the following development 
libraries installed: libpam0g-dev, libldap2-dev, and libnss-dev.  I 
don't need ADS support.  Something is going wrong but no errors are 
being thrown on the screen or in the syslog.  WINS resolution is totally 
broken.  I have the correct settings in nsswitch.conf.  What else could 
I be missing?  What further info do you need from me?


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] wins problem - 2nd and last time post

2005-03-29 Thread Flavio Fonseca
Hello list

 I am having the following problem with samba wins server:

1. my servers record are desapearing from wins database. this 
servers(computers) are never turned off, and once or twice a week the wins  
records just vanish and I have to restart the server to register itself again 
with wins.

2. when I install a new workstation I do so in a subnet A where is my support 
team. Then I send the workstation to it's final place which is a subnet B. 
while installing it, the workstation register itself on wins server with an 
IP from subnet A. When I send it to its final location it gets an IP from 
subnet B but wins server keeps the record from subnet A. It does not update 
the record. If I stop the server, edit wins.dat and remove the record, 
restart wins e renew the workstation dhcp net configuration it register 
itself again with the correct IP.

I am using Suse 9.2 professional with samba 
smbd version 3.0.9-2.3-SUSE.

I am not starting smbd.

Thanks for any help.
-- 
Att.,

Flávio Fonseca
Equipe Divisão de Redes (DR)
Diretoria de Processamento de Dados (DirPD)
Universidade Federal de Uberlandia (UFU)
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] wins problem - 2nd and last time post

2005-03-29 Thread John H Terpstra
On Tuesday 29 March 2005 06:56, Flavio Fonseca wrote:
 Hello list

  I am having the following problem with samba wins server:

 1. my servers record are desapearing from wins database. this
 servers(computers) are never turned off, and once or twice a week the wins
 records just vanish and I have to restart the server to register itself
 again with wins.

 2. when I install a new workstation I do so in a subnet A where is my
 support team. Then I send the workstation to it's final place which is a
 subnet B. while installing it, the workstation register itself on wins
 server with an IP from subnet A. When I send it to its final location it
 gets an IP from subnet B but wins server keeps the record from subnet A. It
 does not update the record. If I stop the server, edit wins.dat and remove
 the record, restart wins e renew the workstation dhcp net configuration it
 register itself again with the correct IP.

 I am using Suse 9.2 professional with samba
 smbd version 3.0.9-2.3-SUSE.

Suggest you update to samba-3.0.13 - if the problem persists please file a bug  
report at https://bugzilla.samba.org with details of how the bug can be 
reproduced so that we can schedule to fix this.

Thank you.

- John T.


 I am not starting smbd.

 Thanks for any help.
 --
 Att.,

 Flávio Fonseca
 Equipe Divisão de Redes (DR)
 Diretoria de Processamento de Dados (DirPD)
 Universidade Federal de Uberlandia (UFU)

-- 
John H Terpstra
Samba-Team Member
Phone: +1 (650) 580-8668

Author:
The Official Samba-3 HOWTO  Reference Guide, ISBN: 0131453556
Samba-3 by Example, ISBN: 0131472216
Hardening Linux, ISBN: 0072254971
Other books in production.
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] Wins problem

2005-03-28 Thread Flavio Fonseca
Hello list

  I have a network with about 4k workstations. I have a few dozen servers (win 
2k, nt4, so on) and a bunch of PDC and DBCs. In this network I have only one 
wins server that used to run on a windows 2k server. I was having a lot of 
problems with this server and decided to use samba as wins server only.
  so I installed samba on a linux box and started only nmb server. since that 
two things is happening frequently:

1. my servers record are desapearing from wins database. this servers are 
never turned off, and once or twice a week this records just vanish and I 
have to restart the server to register itself again.

2. when I install a new workstation I do so in a subnet A where is my support 
team. Then I send the workstation to it's final place which is a subnet B. 
while installing it, the workstation register itself on wins server with an 
IP from subnet A. When I send it to its final location it gets an IP from 
subnet B but wins server keeps the record from subnet A. It does not update 
the record. If I stop the server, edit wins.dat and remove the record, 
restart wins e renew the workstation dhcp net configuration it register 
itself again with the correct IP.

I am using Suse 9.2 professional with samba 
smbd version 3.0.9-2.3-SUSE.

I am not starting smbd.

Thanks for any help.

-- 
Att.,

Flávio Fonseca
Equipe Divisão de Redes (DR)
Diretoria de Processamento de Dados (DirPD)
Universidade Federal de Uberlandia (UFU)
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] samba WINS problem on 2 networked LANS using a VPN connection

2005-03-09 Thread Alex Post
I found the problem: few of my Windows XP Stations located in LAN2, has 
configured as WINS server RouterB (192.168.1.65) and not the WINS server 
from LAN1 (192.168.1.49) which now is used for all stations.

This caused Samba LMB from and for LAN2 (192.168.1.65) to be confused 
and don't know how to answer to their queries.

So, now I can see all workroups and browse through it...
Regards,
Alex
Alex Post wrote:
Why? Do you have some arguments?
192.168.1.48/240 and 192.168.1.64/224 are not subnets?
Regards,
Alex
Tom Skeren wrote:
Your VPN looks problematic.  You probably want a different subnet.
Pml wrote:
Hello Samba experts,
Please read all email because i'm desperate!
I have problem on joining to LAN-s using Samba. Finally i got a 
solution to see booth workgroups on Entire Network, but i'm 
having problem with stations located in LAN2. From any station 
located in LAN1, I can see LAN2 workgroup and the browse list with 
stations located in LAN2, but when i'm tring to access and station 
in it, i get connection refused. I want to mention that acces by IP 
address is working (eg: \\192.168.1.72)!!! It seems to be a probelm 
related to browse list and my wins server.
From any station located in LAN2, i can access by name each 
networked station in LAN1.
My networks scheme is printed below:
(LAN1=192.168.1.48 network and 192.168.1.63 broadcast)
--LAN1 (192.168.1.48/240)--
  |
  |
  |
  |
(192.168.1.49)
Gateway/RouterA
(83.84.85.86)
  |
  |
Internet
  |
  |
(83.84.85.87)
Gateway/RouterB
(192.168.1.65)
  |
  |
  |
  |
--LAN2 (192.168.1.64/224)--
(LAN2=192.168.1.64 network and 192.168.1.95 broadcast)
I have bidirectional ping between to/from any station located in my 
LANS.
All stations from LAN1 and LAN2 are WindowsXP(SP2) and has firewall 
disabled.
Booth Routers (A and B - RHEL 3.0) has samba installed and Router A 
is used as VPN server (tunel address 10.1.0.1) and RouterB is used 
as VPN client (tunel address 10.1.0.2).
Here comes my smb.conf file from RouterA which i want to be used as 
WINS server by all my windows clients:
[global]
workgroup = LAN1
netbios name = router-LAN1
server string = Samba

interfaces = 192.168.1.49/28 192.168.1.95/27 127.0.0.1/8 10.1.0.1/24
bind interfaces only = yes
remote announce = 192.168.1.49/LAN1 192.168.1.65/LAN2
remote browse sync = 192.168.1.63 192.168.1.95 #broadcast address 
LAN1 and LAN2
public = yes
browseable = yes
browse list = yes
auto services = yes

announce as = NT
os level = 200
local master = yes
prefered master = yes
domain master = yes
name resolve order = wins
wins support = yes
Here comes my smb.conf file from RouterB (WINS client and Local 
Master Browser for LAN2).
[global]
workgroup = LAN2
netbios name = router-LAN2
server string = Samba

interfaces = 192.168.1.65/27 192.168.1.63/28 127.0.0.1/8 10.1.0.2/24
bind interfaces only = yes
remote announce = 192.168.1.65/LAN2 192.168.1.49/LAN1
remote browse sync = 192.168.1.63 192.168.1.95 #broadcast address 
LAN1 and LAN2

#politica de browsing si metoda de translatie ip-nume
announce as = NT
os level = 200
local master = yes
prefered master = yes
domain master = yes
name resolve order = wins
wins server = 192.168.1.49
Each Windows XP station from LAN2, has configured manually WINS 
server at 192.168.1.49.
Also, on each LAN workgroup, i can see and access router-LAN1 and 
router-LAN2 which is not exactly what i really want (router-LAN1 
should be present in WORKGROUP LAN1 and router-LAN2 should be 
present in WORKGROUP LAN2)
More then that, if i'm tring to access from router-LAN2 a station 
located in LAN2, i get this error:
# smbclient -L an13
Connection to an13 failed
...but browsing list is returned ok by router from LAN2:
# smbclient -L router-LAN2
Password:
Domain=[LAN2] OS=[Unix] Server=[Samba 3.0.9-1.3E.1]

  Server   Comment
  ----
  AN12
  AN13
  AN14
  AN15
  AN16
  ROUTER-LAN1 Samba
  ROUTER-LAN2 Samba
  WorkgroupMaster
  ----
  LAN1ROUTER-LAN1
  LAN2ROUTER-LAN2
Please help me...
Regards,
Alex





--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] samba WINS problem on 2 networked LANS using a VPN connection

2005-03-08 Thread Pml
Hello Samba experts, 

Please read all email because i'm desperate! 

I have problem on joining to LAN-s using Samba. Finally i got a solution to 
see booth workgroups on Entire Network, but i'm having problem with 
stations located in LAN2. From any station located in LAN1, I can see LAN2 
workgroup and the browse list with stations located in LAN2, but when i'm 
tring to access and station in it, i get connection refused. I want to 
mention that acces by IP address is working (eg: \\192.168.1.72)!!! It seems 
to be a probelm related to browse list and my wins server. 

From any station located in LAN2, i can access by name each networked 
station in LAN1. 

My networks scheme is printed below: 

(LAN1=192.168.1.48 network and 192.168.1.63 broadcast)
--LAN1 (192.168.1.48/240)--
  |
  |
  |
  |
(192.168.1.49)
Gateway/RouterA
(83.84.85.86)
  |
  |
Internet
  |
  |
(83.84.85.87)
Gateway/RouterB
(192.168.1.65)
  |
  |
  |
  |
--LAN2 (192.168.1.64/224)--
(LAN2=192.168.1.64 network and 192.168.1.95 broadcast) 

I have bidirectional ping between to/from any station located in my LANS.
All stations from LAN1 and LAN2 are WindowsXP(SP2) and has firewall 
disabled. 

Booth Routers (A and B - RHEL 3.0) has samba installed and Router A is used 
as VPN server (tunel address 10.1.0.1) and RouterB is used as VPN client 
(tunel address 10.1.0.2). 

Here comes my smb.conf file from RouterA which i want to be used as WINS 
server by all my windows clients: 

[global]
workgroup = LAN1
netbios name = router-LAN1
server string = Samba
interfaces = 192.168.1.49/28 192.168.1.95/27 127.0.0.1/8 10.1.0.1/24
bind interfaces only = yes
remote announce = 192.168.1.49/LAN1 192.168.1.65/LAN2
remote browse sync = 192.168.1.63 192.168.1.95 #broadcast address LAN1 and 
LAN2
public = yes
browseable = yes
browse list = yes
auto services = yes

announce as = NT
os level = 200
local master = yes
prefered master = yes
domain master = yes
name resolve order = wins
wins support = yes 

Here comes my smb.conf file from RouterB (WINS client and Local Master 
Browser for LAN2). 

[global]
workgroup = LAN2
netbios name = router-LAN2
server string = Samba
interfaces = 192.168.1.65/27 192.168.1.63/28 127.0.0.1/8 10.1.0.2/24
bind interfaces only = yes
remote announce = 192.168.1.65/LAN2 192.168.1.49/LAN1
remote browse sync = 192.168.1.63 192.168.1.95 #broadcast address LAN1 and 
LAN2

#politica de browsing si metoda de translatie ip-nume
announce as = NT
os level = 200
local master = yes
prefered master = yes
domain master = yes
name resolve order = wins
wins server = 192.168.1.49 

Each Windows XP station from LAN2, has configured manually WINS server at 
192.168.1.49. 

Also, on each LAN workgroup, i can see and access router-LAN1 and 
router-LAN2 which is not exactly what i really want (router-LAN1 should be 
present in WORKGROUP LAN1 and router-LAN2 should be present in WORKGROUP 
LAN2) 

More then that, if i'm tring to access from router-LAN2 a station located in 
LAN2, i get this error:
# smbclient -L an13
Connection to an13 failed 

...but browsing list is returned ok by router from LAN2:
# smbclient -L router-LAN2
Password:
Domain=[LAN2] OS=[Unix] Server=[Samba 3.0.9-1.3E.1]
  Server   Comment
  ----
  AN12
  AN13
  AN14
  AN15
  AN16
  ROUTER-LAN1 Samba
  ROUTER-LAN2 Samba
  WorkgroupMaster
  ----
  LAN1ROUTER-LAN1
  LAN2ROUTER-LAN2 

Please help me... 

Regards,
Alex
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] samba WINS problem on 2 networked LANS using a VPN connection

2005-03-08 Thread Tom Skeren
Your VPN looks problematic.  You probably want a different subnet.
Pml wrote:
Hello Samba experts,
Please read all email because i'm desperate!
I have problem on joining to LAN-s using Samba. Finally i got a 
solution to see booth workgroups on Entire Network, but i'm having 
problem with stations located in LAN2. From any station located in 
LAN1, I can see LAN2 workgroup and the browse list with stations 
located in LAN2, but when i'm tring to access and station in it, i get 
connection refused. I want to mention that acces by IP address is 
working (eg: \\192.168.1.72)!!! It seems to be a probelm related to 
browse list and my wins server.
From any station located in LAN2, i can access by name each networked 
station in LAN1.
My networks scheme is printed below:
(LAN1=192.168.1.48 network and 192.168.1.63 broadcast)
--LAN1 (192.168.1.48/240)--
  |
  |
  |
  |
(192.168.1.49)
Gateway/RouterA
(83.84.85.86)
  |
  |
Internet
  |
  |
(83.84.85.87)
Gateway/RouterB
(192.168.1.65)
  |
  |
  |
  |
--LAN2 (192.168.1.64/224)--
(LAN2=192.168.1.64 network and 192.168.1.95 broadcast)
I have bidirectional ping between to/from any station located in my LANS.
All stations from LAN1 and LAN2 are WindowsXP(SP2) and has firewall 
disabled.
Booth Routers (A and B - RHEL 3.0) has samba installed and Router A is 
used as VPN server (tunel address 10.1.0.1) and RouterB is used as VPN 
client (tunel address 10.1.0.2).
Here comes my smb.conf file from RouterA which i want to be used as 
WINS server by all my windows clients:
[global]
workgroup = LAN1
netbios name = router-LAN1
server string = Samba

interfaces = 192.168.1.49/28 192.168.1.95/27 127.0.0.1/8 10.1.0.1/24
bind interfaces only = yes
remote announce = 192.168.1.49/LAN1 192.168.1.65/LAN2
remote browse sync = 192.168.1.63 192.168.1.95 #broadcast address LAN1 
and LAN2
public = yes
browseable = yes
browse list = yes
auto services = yes

announce as = NT
os level = 200
local master = yes
prefered master = yes
domain master = yes
name resolve order = wins
wins support = yes
Here comes my smb.conf file from RouterB (WINS client and Local Master 
Browser for LAN2).
[global]
workgroup = LAN2
netbios name = router-LAN2
server string = Samba

interfaces = 192.168.1.65/27 192.168.1.63/28 127.0.0.1/8 10.1.0.2/24
bind interfaces only = yes
remote announce = 192.168.1.65/LAN2 192.168.1.49/LAN1
remote browse sync = 192.168.1.63 192.168.1.95 #broadcast address LAN1 
and LAN2

#politica de browsing si metoda de translatie ip-nume
announce as = NT
os level = 200
local master = yes
prefered master = yes
domain master = yes
name resolve order = wins
wins server = 192.168.1.49
Each Windows XP station from LAN2, has configured manually WINS server 
at 192.168.1.49.
Also, on each LAN workgroup, i can see and access router-LAN1 and 
router-LAN2 which is not exactly what i really want (router-LAN1 
should be present in WORKGROUP LAN1 and router-LAN2 should be present 
in WORKGROUP LAN2)
More then that, if i'm tring to access from router-LAN2 a station 
located in LAN2, i get this error:
# smbclient -L an13
Connection to an13 failed
...but browsing list is returned ok by router from LAN2:
# smbclient -L router-LAN2
Password:
Domain=[LAN2] OS=[Unix] Server=[Samba 3.0.9-1.3E.1]

  Server   Comment
  ----
  AN12
  AN13
  AN14
  AN15
  AN16
  ROUTER-LAN1 Samba
  ROUTER-LAN2 Samba
  WorkgroupMaster
  ----
  LAN1ROUTER-LAN1
  LAN2ROUTER-LAN2
Please help me...
Regards,
Alex

--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


Re: [Samba] samba WINS problem on 2 networked LANS using a VPN connection

2005-03-08 Thread Alex Post
Why? Do you have some arguments?
192.168.1.48/240 and 192.168.1.64/224 are not subnets?
Regards,
Alex
Tom Skeren wrote:
Your VPN looks problematic.  You probably want a different subnet.
Pml wrote:
Hello Samba experts,
Please read all email because i'm desperate!
I have problem on joining to LAN-s using Samba. Finally i got a 
solution to see booth workgroups on Entire Network, but i'm 
having problem with stations located in LAN2. From any station 
located in LAN1, I can see LAN2 workgroup and the browse list with 
stations located in LAN2, but when i'm tring to access and station in 
it, i get connection refused. I want to mention that acces by IP 
address is working (eg: \\192.168.1.72)!!! It seems to be a probelm 
related to browse list and my wins server.
From any station located in LAN2, i can access by name each networked 
station in LAN1.
My networks scheme is printed below:
(LAN1=192.168.1.48 network and 192.168.1.63 broadcast)
--LAN1 (192.168.1.48/240)--
  |
  |
  |
  |
(192.168.1.49)
Gateway/RouterA
(83.84.85.86)
  |
  |
Internet
  |
  |
(83.84.85.87)
Gateway/RouterB
(192.168.1.65)
  |
  |
  |
  |
--LAN2 (192.168.1.64/224)--
(LAN2=192.168.1.64 network and 192.168.1.95 broadcast)
I have bidirectional ping between to/from any station located in my 
LANS.
All stations from LAN1 and LAN2 are WindowsXP(SP2) and has firewall 
disabled.
Booth Routers (A and B - RHEL 3.0) has samba installed and Router A 
is used as VPN server (tunel address 10.1.0.1) and RouterB is used as 
VPN client (tunel address 10.1.0.2).
Here comes my smb.conf file from RouterA which i want to be used as 
WINS server by all my windows clients:
[global]
workgroup = LAN1
netbios name = router-LAN1
server string = Samba

interfaces = 192.168.1.49/28 192.168.1.95/27 127.0.0.1/8 10.1.0.1/24
bind interfaces only = yes
remote announce = 192.168.1.49/LAN1 192.168.1.65/LAN2
remote browse sync = 192.168.1.63 192.168.1.95 #broadcast address 
LAN1 and LAN2
public = yes
browseable = yes
browse list = yes
auto services = yes

announce as = NT
os level = 200
local master = yes
prefered master = yes
domain master = yes
name resolve order = wins
wins support = yes
Here comes my smb.conf file from RouterB (WINS client and Local 
Master Browser for LAN2).
[global]
workgroup = LAN2
netbios name = router-LAN2
server string = Samba

interfaces = 192.168.1.65/27 192.168.1.63/28 127.0.0.1/8 10.1.0.2/24
bind interfaces only = yes
remote announce = 192.168.1.65/LAN2 192.168.1.49/LAN1
remote browse sync = 192.168.1.63 192.168.1.95 #broadcast address 
LAN1 and LAN2

#politica de browsing si metoda de translatie ip-nume
announce as = NT
os level = 200
local master = yes
prefered master = yes
domain master = yes
name resolve order = wins
wins server = 192.168.1.49
Each Windows XP station from LAN2, has configured manually WINS 
server at 192.168.1.49.
Also, on each LAN workgroup, i can see and access router-LAN1 and 
router-LAN2 which is not exactly what i really want (router-LAN1 
should be present in WORKGROUP LAN1 and router-LAN2 should be present 
in WORKGROUP LAN2)
More then that, if i'm tring to access from router-LAN2 a station 
located in LAN2, i get this error:
# smbclient -L an13
Connection to an13 failed
...but browsing list is returned ok by router from LAN2:
# smbclient -L router-LAN2
Password:
Domain=[LAN2] OS=[Unix] Server=[Samba 3.0.9-1.3E.1]

  Server   Comment
  ----
  AN12
  AN13
  AN14
  AN15
  AN16
  ROUTER-LAN1 Samba
  ROUTER-LAN2 Samba
  WorkgroupMaster
  ----
  LAN1ROUTER-LAN1
  LAN2ROUTER-LAN2
Please help me...
Regards,
Alex



--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] WINS problem?

2003-11-21 Thread Chad Morgan
I'm exeriencing a problem with about 10 Windows 2000 Professional clients connecting 
to Samba server on Solaris.

When connecting to the Solaris box, each of the clients gets a duplicate name exists 
on the network error. 

There are no duplicate names on the network and this affects all computers. The 
problem is temporarily resolved by unplugging the Solaris box from the network, 
booting all Win 2k boxes, then plugging the Solaris box back in.  This fix allows all 
clients to properly connect to the shares, but is not really a viable long-term 
solution.

This is a new problem that hasn't occured on a network that has been working properly 
until now, with one caviat.

The Solaris box is maintained by an outside vendor. I doubt they have changed anything 
in the Samba configuration, but I don't know for sure. Additionally, I do not have 
access to that machine.

All of the other information I've found so far relates to Win 2k servers and is in 
some way related to WINS. Also, all of the Microsoft information relates to servers. I 
haven't seen any solutions on the client side. So far the admin for the Solaris 
machine has been unwilling to look into the problem and is trying to shift blame.

I'm hoping someone here can provide some insight that I can pass along to the other 
admin that will hopefully cause him to look into the situation on his end. I would 
probably start by making sure the hostname (NetBIOS name) is not the same as the 
Workgroup/Domain name and possibly disabling WINS (if enabled). From there, I'm kind 
of at a loss of ideas. Also, if anyone has any ideas to fix this on the client side, 
your input would be appreciated.

Thanks
Chad Morgan
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] WINS problem for road warriors

2003-10-23 Thread Anthony Oganesian
Hello everybody,

I am new to the list, so please forgive me if I break any rules
in my message. I searched everywhere I could to find the answer and
this is my last resort.

I have the following problem, which is bothering me very much:

I am using Samba as a WINS server and it works fine for everybody,
except for road warriors who work with their laptops on
local LAN, but also connect with the same laptop through VPN.

Once a road warrior connects through VPN, Samba caches VPN IP
address in wins.dat file and when same laptop is connected back
to our LAN, Samba fails to update it's IP and keeps returning VPN IP.

The only way I can solve this is: stop Samba server, manually delete
VPN IP from wins.dat, start Samba server.

OS: RedHat Linux 7.3
Samba Version: 3.0.0


-- 
Best regards,
 Anthony  mailto:[EMAIL PROTECTED]

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] WINS problem browsing subnets

2003-08-18 Thread David Kruger
Hi,

I am having some trouble with browsing accross subnets using WINS.  Each subnet has a 
RedHat 9 box running Samba 2.2.7a which is configured as the LMB.  WINs support is 
enabled on one of the systems which is configured as the DMB.  I have browse list sync 
enabled on each of the LMB computers to sync with the DMB.  When browsing using 
Network neighborhood I am able to see in the list of computers all of the computers on 
the 3 subnets that have shared resources, but when trying to connect to any of these 
computers I get a network path not found.  I checked the DMB browse.dat file which is 
where all of the computer names are showing up, but in the wins.dat file it has only 
the computers listed that are on the same subnet as the DMB.  If I manually add the IP 
and NetBIOS name of the computers to the hosts file on the DMB then I am able to 
browse the computer.  Is there a way to get all of the browse list entries to be added 
to the WINS list automatically?

Thanks,

David Kruger

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] WINS problem browsing subnets

2003-08-18 Thread John H Terpstra
On Mon, 18 Aug 2003, David Kruger wrote:

 Hi,

 I am having some trouble with browsing accross subnets using WINS.
 Each subnet has a RedHat 9 box running Samba 2.2.7a which is configured
 as the LMB.  WINs support is enabled on one of the systems which is
 configured as the DMB.  I have browse list sync enabled on each of the
 LMB computers to sync with the DMB.  When browsing using Network
 neighborhood I am able to see in the list of computers all of the
 computers on the 3 subnets that have shared resources, but when trying
 to connect to any of these computers I get a network path not found.  I
 checked the DMB browse.dat file which is where all of the computer names
 are showing up, but in the wins.dat file it has only the computers
 listed that are on the same subnet as the DMB.  If I manually add the IP
 and NetBIOS name of the computers to the hosts file on the DMB then I am
 able to browse the computer.  Is there a way to get all of the browse
 list entries to be added to the WINS list automatically?

Have you set the IP address of the WINS server in the WINS address in
TCP/IP configuration on everyy Windows client?

- John T.
-- 
John H Terpstra
Email: [EMAIL PROTECTED]
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] WINS problem browsing subnets

2003-08-18 Thread David Kruger
I have the IP of the WINS address configured on a few computers at each location for 
testing, but these computers are constantly running, so the problem should not be 
anything with the client being shut down.

The following is the global configuration from the DMB/WINS

[global]
netbios name = Name
workgroup = workgroup
security = user
smb passwd file = /etc/samba/smbpasswd
encrypt passwords = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n 
*passwd:*all*authentication*tokens*updated*successfully*
wins support = yes
local master = yes
preferred master = yes
domain master = yes
interfaces = {IP of NIC}/{Subnet}

This is from one of the LMB:

[global]
netbios name = NBName
workgroup = workgroup
security = user
smb passwd file = /etc/samba/smbpasswd
encrypt passwords = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n 
*passwd:*all*authentication*tokens*updated*successfully*
wins server = {WINS IP Here}
wins support = no
local master = yes
preferred master = yes
domain master = no
name resolve order = wins lmhost host bcast
remote browse sync = {WINS/DMB IP}

I am guessing that I am missing some sort of entries in the smb.conf files that are 
needed.  I did check the firewalls and UDP 137, 138 and TCP 139 are open.

Any help or suggestions are greatly appreciated.

Thanks,

David Kruger

 John H Terpstra [EMAIL PROTECTED] 08/18/03 03:35PM 
On Mon, 18 Aug 2003, David Kruger wrote:

 Hi,

 I am having some trouble with browsing accross subnets using WINS.
 Each subnet has a RedHat 9 box running Samba 2.2.7a which is configured
 as the LMB.  WINs support is enabled on one of the systems which is
 configured as the DMB.  I have browse list sync enabled on each of the
 LMB computers to sync with the DMB.  When browsing using Network
 neighborhood I am able to see in the list of computers all of the
 computers on the 3 subnets that have shared resources, but when trying
 to connect to any of these computers I get a network path not found.  I
 checked the DMB browse.dat file which is where all of the computer names
 are showing up, but in the wins.dat file it has only the computers
 listed that are on the same subnet as the DMB.  If I manually add the IP
 and NetBIOS name of the computers to the hosts file on the DMB then I am
 able to browse the computer.  Is there a way to get all of the browse
 list entries to be added to the WINS list automatically?

Have you set the IP address of the WINS server in the WINS address in
TCP/IP configuration on everyy Windows client?

- John T.
-- 
John H Terpstra
Email: [EMAIL PROTECTED] 
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Samba wins problem

2003-02-01 Thread %%jrrs

  hello gil.

[  nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(358)
 find_domain_master_name_query_fail:
 Unable to find the Domain Master Browser name WGNAME1b for the 
   workgroup WGNAME.
 Unable to sync browse lists in this workgroup. ]
 
  pardon me if i'm not perfectly correct here, but my impression is that
  it might be needed to add the following settings to the [global] of
  smb.conf:

netbios name = SERVERNAME
domain master = yes

  if i'm assuming correctly, it would look like you don't have a 
  netbios name set...  the error saying unable to find the DMB name
  WGNAME1b for the workgroup WGNAME might be saying that it can't
  find the DMB for the workgroup because the samba server doesn't have
  a netbios name ( to go by ) set?

- 'domain master' will make it so that it can assemble browsing lists
   ( nethood ) for WORKGROUPs, in despite of being on different subnets.

  that seems to be at least a quasi-accurate interpretation of the
  manpage.. ?

  so those are a few things to look for -- unless you've already tried 
  them..

  jared.

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba



[Samba] Samba wins problem

2003-01-30 Thread Gil Disatnik
Hello there,

From digging the archive - it looks as if this was discussed here earlier 
however I could not find a decent solution to my problem.

The problem is that I keep seeing the following errors on my nmbd.log:
[2003/01/30 09:34:34, 0] 
nmbd/nmbd_browsesync.c:find_domain_master_name_query_fail(358)
  find_domain_master_name_query_fail:
  Unable to find the Domain Master Browser name WGNAME1b for the 
workgroup WGNAME.
  Unable to sync browse lists in this workgroup.

smb.conf:
[global]
workgroup = WGNAME
server string = wins server
log level = 2
lock directory = /var/lock/samba
security = user
encrypt passwords = Yes
hosts allow = xxx.xxx.xxx.
wins support = Yes
os level = 65
lm announce = No
preferred master = Yes
local master = yes
dns proxy = No

SNIP  SNIP

Any idea what am I doing wrong?

Slackware 8.1 with latest current updates (running samba 2.2.7)



Regards

Gil Disatnik
UNIX system/security administrator.

GibsonLP@EFnet
http://www.disatnik.com
_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
Windows NT has detected mouse movement, you MUST restart
your computer before the new settings will take effect, [ OK ]

Windows is a 32 bit patch to a 16 bit GUI based on a 8 bit operating
system, written for a 4 bit processor by a 2 bit company which can
not stand 1 bit of competition.
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_- 

--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba