[Pkg-samba-maint] Bug#545960: samba: Samba don't see local computers

root seobmen at gmail.com
Thu Sep 10 09:40:21 UTC 2009


Package: samba
Version: 2:3.2.5-4lenny6
Severity: normal

Hello!

When the system boot I can see computers in my local network. But after 5 minutes and more the computer with Lenny dosen't see WORKGROUP and any computers (and dosent's see yourself).
When I do reboot Debian can see computers in the local network only several minutes.

I have several machines (with WinXP, Kubuntu) with router, with Kubuntu the local network works good.

This issue only with Lenny.

In the log.nmbd I see
[2009/09/10 12:17:42,  0] libsmb/nmblib.c:send_udp(839)
  Packet send failed to 192.168.1.255(137) ERRNO=Invalid argument
[2009/09/10 12:17:42,  0] nmbd/nmbd_packets.c:retransmit_or_expire_response_records(1626)
  retransmit_or_expire_response_records: Failed to resend packet id 22953 to IP 192.168.1.255 on subnet 192.168.1.4
[2009/09/10 12:17:42,  0] libsmb/nmblib.c:send_udp(839)
  Packet send failed to 192.168.1.255(137) ERRNO=Invalid argument
[2009/09/10 12:17:42,  0] nmbd/nmbd_packets.c:retransmit_or_expire_response_records(1626)
  retransmit_or_expire_response_records: Failed to resend packet id 22954 to IP 192.168.1.255 on subnet 192.168.1.4
[2009/09/10 12:17:42,  0] libsmb/nmblib.c:send_udp(839)
  Packet send failed to 192.168.1.255(137) ERRNO=Invalid argument
[2009/09/10 12:17:42,  0] nmbd/nmbd_packets.c:retransmit_or_expire_response_records(1626)
  retransmit_or_expire_response_records: Failed to resend packet id 22955 to IP 192.168.1.255 on subnet 192.168.1.4

192.168.1.4 - my computer with Lenny.

In the log.smbd - all ok

Here my smb.conf


[global]
realm =
netbios name = MyDebian
server string = Debian Samba file and print server
workgroup = WORK777
security = share
#hosts allow = 127. 192.168.1.
interfaces = 127.0.0.1/8 eth0
#bind interfaces only = yes
#remote announce = 192.168.0.255
#remote browse sync = 192.168.0.255
printcap name = cups
load printers = yes
cups options = raw
printing = cups
guest account = nobody
log file = /var/log/samba/samba.log
max log size = 1000
null passwords = no
username level = 6
password level = 6
encrypt passwords = yes
unix password sync = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

local master = no
domain master = no
preferred master = no
domain logons = no
os level = 33

#time server = yes
#name resolve order = wins lmhosts bcast
#wins support = yes
wins proxy = no
dns proxy = no
#preserve case = yes
#short preserve case = yes
#client use spnego = no
#client signing = no
#client schannel = no
#server signing = no
#server schannel = no
#nt pipe support = yes
#nt status support = yes
#allow trusted domains = no
#obey pam restrictions = yes
#enable spoolss = yes
#client plaintext auth = no
#disable netbios = no
#follow symlinks = no
#update encrypted = yes
#pam password change = no
#passwd chat timeout = 120
#hostname lookups = no
#username map = /etc/samba/smbusers
#smb passwd file = /etc/samba/smbpasswd
#passwd program = /usr/bin/passwd '%u'
#passwd chat = *New*password* %n\n *ReType*new*password* %n\n *passwd*changed*\n
#add user script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null '%u'
#add user to group script = /usr/sbin/useradd -d /dev/null -c 'Samba User Account' -s /dev/null -g '%g' '%u'
#add group script = /usr/sbin/groupadd '%g'
#delete user script = /usr/sbin/userdel '%u'
#delete user from group script = /usr/sbin/userdel '%u' '%g'
#delete group script = /usr/sbin/groupdel '%g'
#add machine script = /usr/sbin/useradd -d /dev/null -g sambamachines -c 'Samba Machine Account' -s /dev/null -M '%u'
#machine password timeout = 120
#idmap uid = 16777216-33554431
#idmap gid = 16777216-33554431
#template shell = /dev/null
#winbind use default domain = yes
#winbind separator = @
#winbind cache time = 360
#winbind trusted domains only = yes
#winbind nested groups = no
#winbind nss info = no
#winbind refresh tickets = no
#winbind offline logon = no

[1Debtest]
path = /home/torin/test
comment = No comment
read only = yes
available = yes
browseable = yes
writable = no
guest ok = yes
public = yes
printable = no
share modes = yes
locking = no


I did local master=yes and domain master = yes but it didn't fix the issue.

Please, help me.



-- System Information:
Debian Release: 5.0.3
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=ru_UA.UTF-8, LC_CTYPE=ru_UA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages samba depends on:
ii  adduser         3.110                    add and remove users and groups
ii  debconf [debcon 1.5.24                   Debian configuration management sy
ii  libacl1         2.2.47-2                 Access control list shared library
ii  libattr1        1:2.4.43-2               Extended attribute shared library
ii  libc6           2.7-18                   GNU C Library: Shared libraries
ii  libcomerr2      1.41.3-1                 common error description library
ii  libcups2        1.3.8-1+lenny6           Common UNIX Printing System(tm) - 
ii  libgnutls26     2.4.2-6+lenny1           the GNU TLS library - runtime libr
ii  libkrb53        1.6.dfsg.4~beta1-5lenny1 MIT Kerberos runtime libraries
ii  libldap-2.4-2   2.4.11-1                 OpenLDAP libraries
ii  libpam-modules  1.0.1-5+lenny1           Pluggable Authentication Modules f
ii  libpam-runtime  1.0.1-5+lenny1           Runtime support for the PAM librar
ii  libpam0g        1.0.1-5+lenny1           Pluggable Authentication Modules l
ii  libpopt0        1.14-4                   lib for parsing cmdline parameters
ii  libtalloc1      1.2.0~git20080616-1      hierarchical pool based memory all
ii  libwbclient0    2:3.2.5-4lenny6          client library for interfacing wit
ii  logrotate       3.7.1-5                  Log rotation utility
ii  lsb-base        3.2-20                   Linux Standard Base 3.2 init scrip
ii  procps          1:3.2.7-11               /proc file system utilities
ii  samba-common    2:3.2.5-4lenny6          Samba common files used by both th
ii  update-inetd    4.31                     inetd configuration file updater
ii  zlib1g          1:1.2.3.3.dfsg-12        compression library - runtime

samba recommends no packages.

Versions of packages samba suggests:
pn  ldb-tools                   <none>       (no description available)
ii  openbsd-inetd [inet-superse 0.20080125-2 The OpenBSD Internet Superserver
ii  smbldap-tools               0.9.4-1      Scripts to manage Unix and Samba a

-- debconf information:
  samba/run_mode: daemons
  samba/generate_smbpasswd: true





More information about the Pkg-samba-maint mailing list