LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 11-03-2009, 04:18 PM   #1
3phoenix
LQ Newbie
 
Registered: Oct 2009
Posts: 5

Rep: Reputation: 0
Wink CentOS /Samba server- XP Windows client file sharing issue


I have a CentOS + Samba server and Windows XP client machines. Users, passwords and permissions are entered on the server machine.
users and passwords ( same as on the server ) are entered in the XP client machine.
When attempting to access a public file on the server using a XP client machine and the IP address of my server, I am asked a user name and password and none of the already entered seem to work. I cannot access the server file (prompted again and again to enter user name and password). What did i miss^

3phoenix

Thanks you
 
Old 11-03-2009, 06:56 PM   #2
clayb226
Member
 
Registered: Sep 2007
Location: Missouri
Distribution: CentOS, and many others
Posts: 34

Rep: Reputation: 16
Do you have a firewall or selinux in place? You may need to allow samba through your firewall. Did you set this all up, how did you add the samba users? Can you see the user with pdbedit?
 
Old 11-03-2009, 07:59 PM   #3
tarakian
LQ Newbie
 
Registered: Jul 2003
Location: Florida
Distribution: Fedora
Posts: 6

Rep: Reputation: 0
What does you samba log (log.smbd in /var/log/samba perhaps) say if anything?
 
Old 11-03-2009, 09:22 PM   #4
rkski
Member
 
Registered: Jan 2009
Location: Canada
Distribution: CentOS 6.3, Fedora 17
Posts: 247

Rep: Reputation: 51
Did you use #smbpasswd on the server to enter the users ?
error
 
Old 11-06-2009, 09:30 AM   #5
3phoenix
LQ Newbie
 
Registered: Oct 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by clayb226 View Post
Do you have a firewall or selinux in place? You may need to allow samba through your firewall. Did you set this all up, how did you add the samba users? Can you see the user with pdbedit?

Hi clayb226;3743358,
I have no firewall in between- The pdbedit command shows only the first user introduced using samba gui) and the adm, of course. The others introduced also using samba gui are not there- Thank you for your help.

Regards
 
Old 11-06-2009, 09:33 AM   #6
3phoenix
LQ Newbie
 
Registered: Oct 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by rkski View Post
Did you use #smbpasswd on the server to enter the users ?
error
Hi rkski;3743497,
I used the pdbedit to see my users as suggested by clay- Only the first one is there. smbpasswd works only for this one.

Thank you for your help.
 
Old 11-06-2009, 09:37 AM   #7
3phoenix
LQ Newbie
 
Registered: Oct 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by tarakian View Post
What does you samba log (log.smbd in /var/log/samba perhaps) say if anything?
Hi tarakian;3743425],

it says: getpeername failed Error- Thank you for your help
 
Old 11-06-2009, 12:05 PM   #8
3phoenix
LQ Newbie
 
Registered: Oct 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by 3phoenix View Post
I have a CentOS + Samba server and Windows XP client machines. Users, passwords and permissions are entered on the server machine.
users and passwords ( same as on the server ) are entered in the XP client machine.
When attempting to access a public file on the server using a XP client machine and the IP address of my server, I am asked a user name and password and then the Share folder is seen. But Windows sends a message: Share is not accessible.


3phoenix

Thanks you
I found it! My samba config was not complete-
using the Administration- SERVER Settings - Samba sub-menu - choosing Preferences -Samba Users tab, Also I had to choose 'user' in the server setting sub-menu - BASIC tag- All windows users can now access the server- But now i have another issue: Accessing my Share folder from a XP windows client machine is now possible- All users can see the share but clicking on it pops-up a windows message:
:Share is not accessible- You might not have permissions….’

. For test purpose, I gave all permissions to my Share for all users using Samba gui. Still the message pops-up.
Can someone give me a hint- Thank you.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
file sharing from centos 5.2 with windows xp and vista zeus-dice Red Hat 6 08-21-2008 04:11 AM
Samba windows client sharing Linux.Learner Linux - Networking 11 02-20-2007 10:14 PM
file sharing with windows other than samba bruse Linux - Networking 7 05-09-2005 06:54 AM
Samba and Windows XP file sharing rattiane Linux - Networking 1 03-23-2005 10:47 AM
Samba as File & Printer Server with Windows XP Pro as client FrontRunner Linux - Newbie 0 08-17-2004 05:45 AM


All times are GMT -5. The time now is 12:39 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration