Samba

Dan Shelstad shelstad at brainerd.net
Tue Apr 4 13:01:11 UTC 2006


Roger,

I changed the shares directory from /home/?username? to /temp off the
root. For some reason it would not allow me to go into the /home area. I
CAN NOW see a file that I put into /temp. However, I can not change the
name of that file or copy new ones to the /temp directory from my XP
machine. It says "Cannot rename filename: access denied". Do I have to
have permissions for the /temp directory on the FC5 machine set to
something else?

The entry in /var/log/messages last entry is:

Apr 4 07:36:45 Fedora5 kernel: audit(1144154205.415:334): avc: denied {
write } for pid=12165
Comm.="smbd" name=Temp" dev=dm-0 ino51380225
scontext=system_u:system_r:smbd_t:s0
Tcontext=system_u:object_r:root_t:s0 tclass=dir


Also in the logs every time a /home area is tried I see permission
denied that is why I made a /temp directory off the root. I just cannot
add or change a file name with my XP machine. 

I did execute "As root execute
'setenforce permissive' - does this help?" and I can now change file
names and add items to the /temp directory. I still can not add or
change files to anything in the /home directory. Almost there!! What did
setenforce permissive do?

Thanks!

Dan
 

-----Original Message-----
From: Roger Grosswiler [mailto:roger at gwch.net] 
Sent: Tuesday, April 04, 2006 12:39 AM
To: shelstad at brainerd.net
Cc: fedora-list at redhat.com
Subject: RE: Samba

> Roger,
>
> I have a RH7.3 server set up and Samba works great. I access it from
my
> Windows XT machine via my network places.
>
> I have set up Samba on FC5. Workgroup is supervisor (For some reason
it
> will not take caps for supervisor) Security authentication mode is
User.
> Encrypt passwords yes with no guest account. I set a user as Unix name
> dps2300 windows username dps2300 samba password 12345678. I did do a
> smbpasswd for dps2300 as 12345678 also...
>
> On the windows machine in my network places I can see Samba Server
> (Fedora5). When I click on it, it shows me a list of directories
> available. I click on it and it asks for user name and password I put
in
> dps2300 and 12345678 and it does not allow me in. States it is not
> accessible.
>
> I can click on my RH7.3 and get right in...
>
> Thanks!
>
> Dan Shelstad
> Birchdale Fire & Security, LLP.
> 218.838.1359
>
>
> -----Original Message-----
> From: Roger Grosswiler [mailto:roger at gwch.net]
> Sent: Monday, April 03, 2006 12:40 AM
> To: shelstad at brainerd.net; For users of Fedora Core releases
> Subject: Re: Samba
>
>> Hello,
>>
>> Looking for help with Samba. I can see the shares on the Fedora
> machine
>> from my windows machine. It asks for a user name and pw and does not
>> allow me to access it. Any help would be greatly appreciated.
>>
>> Thanks!
>>
>> Dan Shelstad
>>
>> --
>> fedora-list mailing list
>> fedora-list at redhat.com
>> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>
> I assume your Fedora machine is the samba-server.
> How do you authenticate? smbpasswd? if yes, is your user in smbpasswd?
> is
> your machine also in smbpasswd?
>
> Roger
>
>
Dan,
do you have any entries in /var/log/messages that say that selinux
disallows mounting samba-shares?

look for {avc denied} messages which have samba in their lines. You can
try it is selinux, if you set selinux permissive. As root execute
'setenforce permissive' - does this help?

HTH
Roger





More information about the users mailing list