<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2180" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Georgia color=#000080 size=2>Hello to All,</FONT></DIV>
<DIV><FONT face=Georgia color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Georgia color=#000080 size=2> I have installed
Fedora Core 6 (Zod) on a machine meant to sustain the WinMentor database for an
internal network.</FONT></DIV>
<DIV><FONT face=Georgia color=#000080 size=2>I have configured smb.conf and
tested it with testparm and everything went OK.</FONT></DIV>
<DIV><FONT face=Georgia color=#000080 size=2>
[root@CIEmentor usr]# testparm<BR>
Load smb config files from
/etc/samba/smb.conf<BR> Processing section
"[CIEWinMentor]"<BR> Loaded services file
OK.<BR> Server role:
ROLE_STANDALONE<BR> Press enter to see a
dump of your service definitions</FONT></DIV>
<DIV><FONT face=Georgia color=#000080 size=2>
[root@CIEmentor usr]#</FONT></DIV>
<DIV><FONT face=Georgia color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Georgia color=#000080 size=2>Here is my smb.conf
file:</FONT></DIV>
<DIV><FONT face=Georgia color=#000080 size=2>#======================= Global
Settings =====================================<BR>[global]</FONT></DIV>
<DIV><FONT face=Georgia color=#000080 size=2> workgroup =
MATRICON<BR> server string = Mentor Server<BR> security
= share<BR> hosts allow = 192.168.0.<BR> guest account =
root<BR> log file = /var/log/samba/%m.log<BR> max log
size = 50<BR> local master = no<BR> os level =
33<BR> preferred master = no<BR> dns proxy = no</DIV>
<DIV> add machine script = /usr/sbin/adduser -n -g machines -c Machine -d
/dev/null -s /bin/false %u</DIV>
<DIV>#============================ Share Definitions
==============================</DIV>
<DIV> [CIEWinMentor]<BR> comment = CIE WinMentor
Databases<BR> path = /usr/mentor<BR> guest ok =
yes<BR> writable = yes<BR> create mask =
777<BR> sync always = yes<BR> hosts allow = 192.168.0.9
192.168.0.10 <BR> public = yes</FONT></DIV>
<DIV><FONT face=Georgia color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Georgia color=#000080 size=2>The problem is that when i try to
create a new file or folder from the browser, my acces is denied.</FONT></DIV>
<DIV><FONT face=Georgia color=#000080 size=2>I am able to see and access
the folders/files that i have already copied on the Hdd, i am able to copy
data and create new directories via ssh connection, but i have no write
access from the browser.</FONT></DIV>
<DIV><FONT face=Georgia color=#000080 size=2>The error that i receive
is:</FONT></DIV>
<DIV><FONT face=Georgia color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Georgia color=#000080 size=2>[root@CIEmentor usr]# tail -f
/var/log/messages</FONT></DIV>
<DIV><FONT face=Georgia color=#000080 size=2>Feb 6 15:54:49 CIEmentor
kernel: audit(1170770089.930:70): avc: denied { write } for
pid=12486 comm="smbd" name="mentor" dev=dm-0 ino=7791439
scontext=root:system_r:smbd_t:s0 tcontext=root:object_r:usr_t:s0
tclass=dir<BR>Feb 6 15:54:49 CIEmentor kernel: audit(1170770089.934:71):
avc: denied { write } for pid=12486 comm="smbd" name="mentor"
dev=dm-0 ino=7791439 scontext=root:system_r:smbd_t:s0
tcontext=root:object_r:usr_t:s0 tclass=dir<BR>Feb 6 15:54:49 CIEmentor
kernel: audit(1170770089.934:72): avc: denied { write } for
pid=12486 comm="smbd" name="mentor" dev=dm-0 ino=7791439
scontext=root:system_r:smbd_t:s0 tcontext=root:object_r:usr_t:s0
tclass=dir<BR>Feb 6 15:54:49 CIEmentor kernel: audit(1170770089.938:73):
avc: denied { write } for pid=12486 comm="smbd" name="mentor"
dev=dm-0 ino=7791439 scontext=root:system_r:smbd_t:s0
tcontext=root:object_r:usr_t:s0 tclass=dir<BR></FONT></DIV>
<DIV><FONT face=Georgia color=#000080 size=2>What can go wrong?</FONT></DIV>
<DIV><FONT face=Georgia color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Georgia color=#000080
size=2>..............................................<BR> Andrada
Meda Felegean<BR>
.....................<BR> IT Specialist - CIE
Matricon<BR>mailto: <A
href="mailto:afelegean@ciematricon.ro">afelegean@ciematricon.ro</A></FONT></DIV>
<DIV><FONT face=Georgia color=#000080 size=2> <A
href="http://www.cieautomotive.com">www.cieautomotive.com</A><BR>
........</FONT></DIV></BODY></HTML>