[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Samba share problem



Hello,
hope someone can help me. I´m using debian 3.0 with latest service packs.
Since i switched my workstation to w2k, my network drives get regulary
disconnected. I can´t find out why. I´m using samba as PDC.
I´m using Shorewall 1.4.2 with so needed rules to access samba shares on it.
The firewall has 3 interfaces, eth0 for pppoe, eth1 for lan and ippp1 for
isdn.
eth0 = 192.168.0.254
eth1 = 192.168.100.254
ippp1 = 10.0.0.1

I tried to also "interfaces = eth1 or 192.168.100.0/24" (local lan), to only
allow
my local network and "bind interfaces = yes" without success.

I found these entries in /var/log/samba/nmbd.log.

[2003/12/26 20:18:55, 0] libsmb/nmblib.c:send_udp(756)
  Packet send failed to 192.168.0.1(137) ERRNO=Operation not permitted
[2003/12/26 20:18:55, 0] nmbd/nmbd_packets.c:reply_netbios_packet(987)
  reply_netbios_packet: send_packet to IP 192.168.0.1 port 137 failed
[2003/12/26 20:18:57, 3]
nmbd/nmbd_incomingrequests.c:process_node_status_request(342)
  process_node_status_request: status request for name *<00> from IP
192.168.0.1 on subnet REMOTE_BROADCAST_SUBNET.
[2003/12/26 20:18:57, 0] libsmb/nmblib.c:send_udp(756)
  Packet send failed to 192.168.0.1(137) ERRNO=Operation not permitted
[2003/12/26 20:18:57, 0] nmbd/nmbd_packets.c:reply_netbios_packet(987)
  reply_netbios_packet: send_packet to IP 192.168.0.1 port 137 failed

I don´t have an workstation with 192.168.0.1

Hope someone can help.

Thanks in advance.

P.S. Here is my smb.conf:

[global]
   server string = %h server (Samba %v
   netbios name = borg
   netbios aliases = unimatrix01
   time server = yes
   message command = /usr/bin/mail -s 'Winpopup Nachricht von %f auf %m '
root < %s; rm %s
   printer driver file = /etc/samba/prndrv/printers.def
   printing = cups
   guest account = nobody
   invalid users = root
   interfaces = eth1
   bind interfaces only = yes
   domain admin group = user administrator

   log file = /var/log/samba/log.%m
   max log size = 1000

   syslog = 0
   security = user
   encrypt passwords = true
   socket options = TCP_NODELAY, SO_KEEPALIVE
   local master = yes
   os level = 20
   domain master = yes
   preferred master = yes
   wins support = yes
   dns proxy = no
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .
   obey pam restrictions = yes

   logon script = netlogon.bat
   domain logons = yes
   domain master = yes
; %L = Rechnername, profiles = Share Profiles, %U = Username
   logon path = \\%L\profiles\%U

  add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /bin/false -M
%u

[homes]
   comment = Home Directories
   path = /home/samba/%u
   browseable = yes
   writable = yes
   create mask = 0700
   directory mask = 0700

[netlogon]
   comment = Network Logon Service
   path = /etc/samba/netlogon
   guest ok = yes
   writable = no
   share modes = no

[DATA]
  comment = DATA
  path = /home/data
  browseable = yes
  read only = no
  create mode = 0740
  directory mode = 0750

[cdrom]
   comment = CD-ROM
   writable = no
   locking = no
   path = /cdrom
   public = yes
   preexec = /bin/mount /cdrom
   postexec = /bin/umount /cdrom



Reply to: