LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Problem to connect samba (https://www.linuxquestions.org/questions/linux-server-73/problem-to-connect-samba-868650/)

greatcyrus 03-15-2011 02:50 AM

Problem to connect samba
 
Dear all,

I setup samba on CentOS,I added one share directory(/home).The security is for everyone.but when I try to connect to server the uname&password is requied,but does`nt accept my uname&pass.

username: centos\root
password: xxxxxxxxxx

what can i do?

Noway2 03-15-2011 04:34 AM

Did you add the users to samba with smbpasswd? Samba has its own user list that is separate from Linux. If you don't want passwords at all, consider using the Guest account.

greatcyrus 03-16-2011 12:34 AM

Thank guy,
I did it but now I cant browse samba from my windows

Gives me this error:The network path was not found.
But I can ping my samba server

greatcyrus 03-16-2011 12:45 AM

I solved the problem,now i can see the share resource(The share name is adm),but i cant enter that directory.
This error appears:
\\192.168.200.30\adm is not accessible.you might not have permision to use this network resource!

But in samba i gave permission to everyone.

help me please

brak44 03-16-2011 05:08 AM

/home is already set up for each user - you should not use this as a common access directory.
Create a directory /data and set the permissions using chmod 777
Now configure this as a samba share and point it to /data then set the samba permission for everyone.

greatcyrus 03-16-2011 07:21 AM

Thanks a lot boy i did it;)


All times are GMT -5. The time now is 02:16 AM.