Hi,
I am fairly new to Samba but I have read most of the documentation. I am trying to set up a small home network between a laptop running Fedora 9 (i386)and a dual boot desktop running Fedora 9 (i386) and Windows XP Pro Sp2.
If I exclude the "interfaces" line in the smb.conf file it is possible to see the shares on the Windows XP from the Fedora laptop. I cannot however access shares when both computers are running Fedora.
I looked in the smbd and nmbd logs and it gave a message that "no local interfaces" were found and that permission was denied connecting to cups. I tried modifying the smb.conf to bind it to wlan0 but this didn't help. It says "no interfaces available to bind to" in the log. I then tried to specify the ip address and subnet mask in the interfaces line, but had similar results.
My smb.conf (with comments removed) reads:
[global]
workgroup = HOME
netbios name = DELL LAPTOP
server string = Inspiron
interfaces = 10.1.1.52/255.255.255.0
bind interfaces only = Yes
security = SHARE
passdb backend = tdbsam
cups options = raw
[homes]
comment = Home Directories
[inspiron]
comment = Inspiron Laptop
path = /home/tonymj/Public
read only = No
The smbd.log reads:
Copyright Andrew Tridgell and the Samba Team 1992-2008
[2008/08/28 12:16:13, 0] printing/print_cups.c:cups_connect(68)
Unable to connect to CUPS server localhost:631 - Connection refused
[2008/08/28 12:16:13, 0] printing/print_cups.c:cups_connect(68)
Unable to connect to CUPS server localhost:631 - Connection refused
[2008/08/28 12:16:13, 0] lib/util_str.c:safe_strcpy_fn(709)
ERROR: string overflow by 1 (16 - 15) in safe_strcpy [10.1.1.50/255.255.255.0]
[2008/08/28 12:16:14, 0] lib/util_sock.c
pen_socket_in(1267)
bind failed on port 445 socket_addr = 10.1.1.50.
Error = Cannot assign requested address
[2008/08/28 12:16:14, 0] lib/util_sock.c
pen_socket_in(1267)
bind failed on port 139 socket_addr = 10.1.1.50.
Error = Cannot assign requested address
[2008/08/28 12:16:14, 0] smbd/server.c
pen_sockets_smbd(547)
open_sockets_smbd: No sockets available to bind to.
The nmbd log reads:
Copyright Andrew Tridgell and the Samba Team 1992-2008
[2008/08/28 12:16:12, 0] lib/util_str.c:safe_strcpy_fn(709)
ERROR: string overflow by 1 (16 - 15) in safe_strcpy [10.1.1.50/255.255.255.0]
[2008/08/28 12:16:12, 0] lib/util_sock.c
pen_socket_in(1267)
bind failed on port 137 socket_addr = 10.1.1.50.
Error = Cannot assign requested address
[2008/08/28 12:16:12, 0] nmbd/nmbd_subnetdb.c:make_subnet(99)
nmbd_subnetdb:make_subnet()
Failed to open nmb socket on interface 10.1.1.52 for port 137. Error was Cannot assign requested address
[2008/08/28 12:16:12, 0] nmbd/nmbd.c:main(951)
ERROR: Failed when creating subnet lists. Exiting.
So basically, if I do not include an interfaces line I can see the shares but they refuse to mount and if I do include one it refuses to bind the ip address and both smbd and nmbd close down.
Hope somebody can help,
Thanks in advance for any assistance.
Eoin.