[Samba] Re: Workgroup Browsing Issue and wins on 3.0.6
Carl Matthews
cmatthews at myrealbox.com
Tue Sep 14 09:46:00 GMT 2004
To add to what i said before the second server (that cant register to
the first servers wins) has these errors in its log file :
Sep 14 08:37:36 fedora2 nmbd[2389]: [2004/09/14 08:37:36, 0]
nmbd/nmbd_nameregister.c:register_name_response(130)
Sep 14 08:37:36 fedora2 nmbd[2389]: register_name_response: WINS
server at IP 192.168.123.241 rejected our name registration of
WORKGROUP<00> IP 192.168.1
Sep 14 08:37:36 fedora2 nmbd[2389]: [2004/09/14 08:37:36, 0]
nmbd/nmbd_workgroupdb.c:fail_register(215)
Sep 14 08:37:36 fedora2 nmbd[2389]: fail_register: Failed to register
name WORKGROUP<00> on subnet UNICAST_SUBNET.
Sep 14 08:37:36 fedora2 nmbd[2389]: [2004/09/14 08:37:36, 0]
nmbd/nmbd_namelistdb.c:standard_fail_register(283)
Sep 14 08:37:36 fedora2 nmbd[2389]: standard_fail_register: Failed to
register/refresh name WORKGROUP<00> on subnet UNICAST_SUBNET
Sep 14 08:37:36 fedora2 nmbd[2389]: [2004/09/14 08:37:36, 0]
nmbd/nmbd_nameregister.c:register_name_response(130)
Sep 14 08:37:36 fedora2 nmbd[2389]: register_name_response: WINS
server at IP 192.168.123.241 rejected our name registration of
WORKGROUP<1e> IP 192.168.1
Sep 14 08:37:36 fedora2 nmbd[2389]: [2004/09/14 08:37:36, 0]
nmbd/nmbd_workgroupdb.c:fail_register(215)
Sep 14 08:37:36 fedora2 nmbd[2389]: fail_register: Failed to register
name WORKGROUP<1e> on subnet UNICAST_SUBNET.
Sep 14 08:37:36 fedora2 nmbd[2389]: [2004/09/14 08:37:36, 0]
nmbd/nmbd_namelistdb.c:standard_fail_register(283)
Sep 14 08:37:36 fedora2 nmbd[2389]: standard_fail_register: Failed to
register/refresh name WORKGROUP<1e> on subnet UNICAST_SUBNET
Sep 14 08:46:30 fedora2 smbd[2414]: [2004/09/14 08:46:30, 0]
lib/util_sock.c:get_peer_addr(1000)
Sep 14 08:46:30 fedora2 smbd[2414]: getpeername failed. Error was
Transport endpoint is not connected
Sep 14 08:46:30 fedora2 smbd[2414]: [2004/09/14 08:46:30, 0]
lib/util_sock.c:read_socket_data(384)
Sep 14 08:46:30 fedora2 smbd[2414]: read_socket_data: recv failure for
4. Error = Connection reset by peer
Sep 14 08:58:01 fedora2 nmbd[2389]: [2004/09/14 08:58:01, 0]
nmbd/nmbd_nameregister.c:register_name_response(130)
Sep 14 08:58:01 fedora2 nmbd[2389]: register_name_response: WINS
server at IP 192.168.123.241 rejected our name registration of FC2<00>
IP 192.168.123.252
Sep 14 08:58:01 fedora2 nmbd[2389]: [2004/09/14 08:58:01, 0]
nmbd/nmbd_namelistdb.c:standard_fail_register(283)
Sep 14 08:58:01 fedora2 nmbd[2389]: standard_fail_register: Failed to
register/refresh name FC2<00> on subnet UNICAST_SUBNET
Sep 14 08:58:01 fedora2 nmbd[2389]: [2004/09/14 08:58:01, 0]
nmbd/nmbd_nameregister.c:register_name_response(130)
Sep 14 08:58:01 fedora2 nmbd[2389]: register_name_response: WINS
server at IP 192.168.123.241 rejected our name registration of FC2<03>
IP 192.168.123.252
Sep 14 08:58:01 fedora2 nmbd[2389]: [2004/09/14 08:58:01, 0]
nmbd/nmbd_namelistdb.c:standard_fail_register(283)
Sep 14 08:58:01 fedora2 nmbd[2389]: standard_fail_register: Failed to
register/refresh name FC2<03> on subnet UNICAST_SUBNET
Sep 14 09:00:47 fedora2 smbd[2417]: [2004/09/14 09:00:47, 0]
lib/util_sock.c:get_peer_addr(1000)
Sep 14 09:00:47 fedora2 smbd[2417]: getpeername failed. Error was
Transport endpoint is not connected
Sep 14 09:00:47 fedora2 smbd[2417]: [2004/09/14 09:00:47, 0]
lib/util_sock.c:read_socket_data(384)
Sep 14 09:00:47 fedora2 smbd[2417]: read_socket_data: recv failure for
4. Error = Connection reset by peer
Sep 14 10:34:02 fedora2 smbd[2468]: [2004/09/14 10:34:02, 0]
lib/util_sock.c:get_peer_addr(1000)
Sep 14 10:34:02 fedora2 smbd[2468]: getpeername failed. Error was
Transport endpoint is not connected
Sep 14 10:34:02 fedora2 smbd[2468]: [2004/09/14 10:34:02, 0]
lib/util_sock.c:read_socket_data(384)
Sep 14 10:34:02 fedora2 smbd[2468]: read_socket_data: recv failure for
4. Error = Connection reset by peer
Sep 14 10:40:25 fedora2 smbd[2476]: [2004/09/14 10:40:25, 0]
lib/util_sock.c:get_peer_addr(1000)
Sep 14 10:40:25 fedora2 smbd[2476]: getpeername failed. Error was
Transport endpoint is not connected
Sep 14 10:40:25 fedora2 smbd[2476]: [2004/09/14 10:40:25, 0]
lib/util_sock.c:read_socket_data(384)
Sep 14 10:40:25 fedora2 smbd[2476]: read_socket_data: recv failure for
4. Error = Connection reset by peer
> Hi,
>
> I am having an issue browsing my work group, i have made the samba
> server the master browser and it wins the elections. As far as i can
> tell from the nmbd.logs it is also collecting hosts for the workgroup
> but when you try to list the workgroup this error is recorded in the
> messages log :
>
> nss_wins[7417]: [2004/09/14 09:54:23, 0]
> smbd/service.c:make_connection_snum(570)
>
> nss_wins[7417]: Can't become connected user!
>
> Now all users can use \\server and list the shares and access them all,
> so all users and passwords are correct.
>
> windows gives the error "Workgroup is not accessible, you might not have
> permission to use the network resource"
>
> The server is running Fedora Core 1 and samba version : 3.0.6-2.FC1
>
> Also i had a problem the other day where some wins entries were wrong so
> i deleted the wins.dat and restarted the server, but the wrong wins
> entries reappeared. after rebooting the server it seems to be working
> now, apart from another samba server doesnt add it self to the wins
> server list. It has win support = false and win server = xxx.xxx.xxx.xxx
> in its config.
>
> The best bits of my smb.conf is below, thanks for any help.
>
> Carl Matthews
>
> # Samba config file created using SWAT
> # from 0.0.0.0 (0.0.0.0)
> # Date: 2004/06/23 10:15:40
>
> # Global parameters
> [global]
> log file = /var/log/samba/%m.log
> loglevel = 1
> load printers = No
> security = user
> encrypt passwords = yes
> guest ok = yes
> dos filemode = Yes
> ldap ssl = no
> name resolve order = wins lmhosts host bcas
> socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
> deadtime = 15
> create mask = 0775
> encrypt passwords = yes
> oplock break wait time = 100
> wins support = Yes
> dns proxy = No
> netbios aliases = FC1
> server string = -Server- FC1
> #unix password sync = yes
> local master = yes
> mangle prefix = 8
> os level = 255
> directory mask = 0775
> valid users = @MLE-ALL
> preferred master = yes
> max log size = 500
>
> [www]
> comment = Mandrake Webserver
> path = /var/www
> valid users = carl
> admin users = carl
> read list = carl
> write list = carl
> read only = No
>
>
> [homes]
> comment = Home Directories
> path = /home/%u
> read only = No
>
> [printers]
> comment = All Printers
> path = /var/spool/samba
> printable = Yes
> browseable = No
>
> [NET-Eng]
> comment = Product Design By Genius
> path = /mnt/mle-net/MLE-NET/MLE-NET-Eng
> write list = @MLE-ALL
> force user = mleall
> read only = No
>
>
>
>
More information about the samba
mailing list