LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-15-2011, 02:50 AM   #1
greatcyrus
Member
 
Registered: Mar 2011
Posts: 33

Rep: Reputation: 0
Question 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?
 
Old 03-15-2011, 04:34 AM   #2
Noway2
Senior Member
 
Registered: Jul 2007
Distribution: Gentoo
Posts: 2,125

Rep: Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781Reputation: 781
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.
 
Old 03-16-2011, 12:34 AM   #3
greatcyrus
Member
 
Registered: Mar 2011
Posts: 33

Original Poster
Rep: Reputation: 0
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
 
Old 03-16-2011, 12:45 AM   #4
greatcyrus
Member
 
Registered: Mar 2011
Posts: 33

Original Poster
Rep: Reputation: 0
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
 
Old 03-16-2011, 05:08 AM   #5
brak44
Member
 
Registered: Aug 2010
Location: Brisbane Australia
Distribution: Centos, Fedora
Posts: 87

Rep: Reputation: 24
/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.
 
Old 03-16-2011, 07:21 AM   #6
greatcyrus
Member
 
Registered: Mar 2011
Posts: 33

Original Poster
Rep: Reputation: 0
Thanks a lot boy i did it
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
samba problem: tree connect failed: NT_STATUS_BAD_NETWORK_NAME DarkSlayer Linux - Newbie 8 04-28-2010 03:39 AM
win95 connect Samba problem nelnel Linux - Networking 4 04-06-2006 02:44 AM
Minor Samba problem -- Connect fails during boot fstab processing, works later PTrenholme Linux - Networking 11 03-24-2006 01:59 AM
Samba: can't connect to my local linux machine but can connect to windows. Royle Linux - Networking 3 01-18-2005 05:32 PM
Samba problem..-tree connect failed.. cobrichka Red Hat 2 01-04-2004 12:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration