[Samba] Cant write to share (Fedora Core 6)

Ashvin Savani ashvin at avinashi.com
Sun Jan 7 00:00:04 GMT 2007


Samba Machine

2 ethernet interfaces, 1 is DHCP via ISP and another is 10.10.0.1

VPN (POPTOP) is installed on the server (Server IP: 10.10.0.1, Client IPs: 10.10.0.2-255) 

Trying to connect to samba server (as \\10.10.0.1\NetRender) from windows xp client connected to the server via VPN and received ip of 10.10.0.2

Here is smb.conf

[global]
workgroup = InverseForge
security = SHARE
browseable = yes
lm announce = yes
browse list = yes
auto services = yes

[NetRender]
writeable = yes
path = /NetRender
# write list = nobody
# force directory mode = 755
create mode = 755
# valid users = nobody
public = yes
read only = no
browseable = yes
mangle case = yes
revalidate = yes
force user = nobody
use client driver = yes

I tried to make it so simple with just few lines. Then I heard from somewhere that 2 subnet masks can cause some problem ... so added more parameters in smb.conf

Here are few lines of my system log which is giving more sensible hint:


Jan 6 18:50:37 user-0ccet6p nmbd[13329]: write_browse_list: Can't open file /var/lib/samba/browse.dat.. Error was Permission denied
Jan 6 18:50:37 user-0ccet6p nmbd[13329]: [2007/01/06 18:50:37, 0] nmbd/nmbd_serverlistdb.c:write_browse_list(339)
Jan 6 18:50:37 user-0ccet6p kernel: audit(1168127437.054:524): avc: denied { search } for pid=13329 comm="nmbd" name="lib" dev=dm-0 ino=72220674 scontext=root:system_r:nmbd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_lib_t:s0 tclass=dir
Jan 6 18:50:37 user-0ccet6p nmbd[13329]: write_browse_list: Can't open file /var/lib/samba/browse.dat.. Error was Permission denied
Jan 6 18:50:57 user-0ccet6p nmbd[13329]: [2007/01/06 18:50:57, 0] nmbd/nmbd_serverlistdb.c:write_browse_list(339)
Jan 6 18:50:57 user-0ccet6p kernel: audit(1168127457.055:525): avc: denied { search } for pid=13329 comm="nmbd" name="lib" dev=dm-0 ino=72220674 scontext=root:system_r:nmbd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_lib_t:s0 tclass=dir
Jan 6 18:50:57 user-0ccet6p nmbd[13329]: write_browse_list: Can't open file /var/lib/samba/browse.dat.. Error was Permission denied
Jan 6 18:51:07 user-0ccet6p nmbd[13329]: [2007/01/06 18:51:07, 0] nmbd/nmbd_serverlistdb.c:write_browse_list(339)
Jan 6 18:51:07 user-0ccet6p kernel: audit(1168127467.056:526): avc: denied { search } for pid=13329 comm="nmbd" name="lib" dev=dm-0 ino=72220674 scontext=root:system_r:nmbd_t:s0-s0:c0.c1023 tcontext=system_u:object_r:var_lib_t:s0 tclass=dir
Jan 6 18:51:07 user-0ccet6p nmbd[13329]: write_browse_list: Can't open file /var/lib/samba/browse.dat.. Error was Permission denied

This (/var/lib/samba/browse.dat) does not exists at all at expected location.

I also got some logs for unexpected package kind of errors.

I dont know whats going on with samba :) 

Any help from you is so much appericiated.

Regards,

Ashvin Savani - Arckid
Founder & CTO - Avinashi.com
Freelance Developer - Arckid.com
Adobe Community Expert - Flash


More information about the samba mailing list