LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Enterprise (https://www.linuxquestions.org/questions/linux-enterprise-47/)
-   -   samba issue (https://www.linuxquestions.org/questions/linux-enterprise-47/samba-issue-780743/)

manoj.linux 01-07-2010 10:11 PM

samba issue
 
Hi,

I have created local user test for using samba and done below configuration in smb.conf file

[test Extract Files]
comment = test
path = /home/test
valid user = test
public = no
writable = yes
printable = no
write list = +test


and restarted the smb services, but it seems there is some problem , while trying from windows system \\<ip address>, it is giving access is denied,

I am able to ping that system.

Please suggest if some configuration still needs to be done.

kirukan 01-07-2010 10:44 PM

Which samba user account that you have used when open it on windows? is that "test" account

Quote:

[root@centos home]# ll
drwxr-xr-x 2 root root 4096 Jan 8 20:39 sample
drwx------ 3 test test 4096 Jan 8 20:33 test
here you can see test user only having read,write and execute permission so other users cant access this test directory

rkski 01-08-2010 12:43 AM

Firewall issue? Are you allowing samba traffic on the server?

manoj.linux 01-08-2010 01:23 AM

Quote:

Originally Posted by kirukan (Post 3818387)
Which samba user account that you have used when open it on windows? is that "test" account



here you can see test user only having read,write and execute permission so other users cant access this test directory

Thanks Kirukan for quick response the user "test" is on Linux box and I am accessing on windows using \\<Ip address>


It is asking for user name and password and I have given the user and and password which I have set on Linux Box.

As per my knowledge the use who is owner of his home directory can access his home directory. but in this case it is giving error, wheather any other file needs to be changed apart from smb.conf?


All times are GMT -5. The time now is 05:45 PM.