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

[MiNT] Samba client



Hi,

How many of us use samba to move files across their network ?
I have been using it for years but this morning I discovered a problem.

I have had a static ip on the Milan because I couldn't get dhcp working.
This morning I got it working with a one line change :-)

However, it seems that this breaks samba (nmb) Version 3.0.1-1

I had this line in smb.conf

   interfaces = 192.168.0.21/24 127.0.0.1/8

which I replaced with

   interfaces = rtk0

Now when I start samba, the nmb log shows:

[2010/08/23 15:38:55, 0] nmbd/nmbd_subnetdb.c:create_subnets(218)
  create_subnets: Waiting for an interface to appear ...
[2010/08/23 15:39:00, 0] lib/interface.c:load_interfaces(216)
  WARNING: no network interfaces found
[2010/08/23 15:39:05, 0] lib/interface.c:load_interfaces(216)
  WARNING: no network interfaces found

Googling shows there was an AMD64 bug with the same sort of issue
in samba 3.0.23 This is later than the samba we have which was built
in 2004. The current version 3.5.4

The samba docs hint that interface = 192.168.0.0/24 would work but it
doesn't.

Using a fixed ip in samba works but that defeats the object of dhcp.


>smbd -d 10 -i
...
file /etc/samba/smb.conf -> /etc/samba/smb.conf  last mod_time: Mon Aug 23 16:09:03 2010
added interface ip=192.168.0.251 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
Hash size = 521.
Netbios name list:-
my_netbios_names[0]="MILAN"
tdb(unnamed): tdb_brlock failed (fd=6) at offset 4 rw_type=1 lck_type=6: Permission denied
loaded services
fcntl_lock 7 6 0 1 0
fcntl_lock: fcntl lock gave errno 36 (Permission denied)
fcntl_lock: lock failed at offset 0 count 1 op 6 type 0 (Permission denied)
ERROR: smbd is already running. File /var/run/smbd.pid exists and process id 721 is running.