[solved] samba "Access is denied" problem
Code:
[root@fedoravmhelm samba]# vim smb.conf Code:
[root@fedoravmhelm samba]# cp /var/log/samba/log.smbd /var/log/samba/log.smbd_after_try_to_acces Code:
[root@fedoravmhelm samba]# uname -a |
|
Quote:
192.168.1.204 fedoravmhelm.workgroup fedoravmhelm C:\Windows\System32\drivers\etc\lmhosts.sam 192.168.1.204 fedoravmhelm.workgroup fedoravmhelm #PRE /etc/hosts 192.168.1.111 edik-pc-vista.workgroup edik-pc-vista /etc/samba/lmhosts 192.168.1.111 edik-pc-vista.workgroup edik-pc-vista #PRE But problem still here. |
Does anybody knows is this problem related to following lines in log?
Code:
[2009/07/19 07:22:56, 10] passdb/pdb_smbpasswd.c:getsmbfilepwent(501) These lines appears in log immediately after samba starts (before i try to access share). |
The Lan Manager password for eduard is not valid.
When you create a Samba user you need to create a Samba user password. You do this with smbpasswd. Code:
smbpasswd |
Quote:
Code:
[root@fedoravmhelm samba]# smbpasswd eduard |
If you have SELinux runing, you might want to check that its not blocking access to your shared folder, also i notice this in the log when the start to process and after the srv folder is been process
Quote:
|
[solved] samba "Access is denied" problem
Quote:
I think you are right, important point is selinux. Now i know that in fedora it is absolutely REQUIRED to follow SELINUX NOTES section of smb.conf. Even in share mode is need to do chcon -t samba_share_t /share_folder_path for every directory you want to share. So old rule works - read manuals first:) Thanks for all for help! |
All times are GMT -5. The time now is 05:22 PM. |