Red Hat Bugzilla – Bug 250743
Permissions are wrong
Last modified: 2007-11-30 17:12:12 EST
Description of problem:
I have the following samba configuration:
Users: thesource, Dmitry, smbguest
Guest account enabled: smbguest
Disk_D - for everyone, read-only
Disk_C - for Dmitry, thesource - read-write
Disk_E - for Dmitry, thesource - read-write
So everyone has access to Disk_D as guest. But when someone tries to enter other
shares server should ask for password to change visitor's login to valid user
rather than smbguest but it allows access to those shares without any restrictions.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Created attachment 160605 [details]
my smb config
Sorry I can't reproduce this problem with 3.0.25b, can you please rasie your log
level to 10 and provide a log file showing the problem ?
Correction. Samba asks for password, but only when write operation attempt is
made. Reading is allowed to everyone. How to raise log level?
set log level = 10
and also max log size = 0
also please report the output of the command /usr/sbin/smbd -V
Strange. In latest tests server allowed to write to Disk_C without any questions
but denied writing to Disk_E to everyone.
Command output is "Version 3.0.25b-2.fc7"
Created attachment 172402 [details]
These logs are empty, in any case, I can't reproduce the problem, and I suspect
that you simply forgot to restert samba after changing the security features.
New security options are not applied until the client is disconnected and
reconnected to the server (a restart would force this).
Closing this one, please reopen if you can reproduce the problem after you
restart the server with the final configuration and please attach logs at level
10 in that case.