LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-05-2003, 07:30 PM   #1
hemp4fuel
Member
 
Registered: Jun 2003
Location: Topeka, KS
Distribution: Slackware
Posts: 192

Rep: Reputation: 45
can't access samba shares from xp


From what I can tell from reading various sources I have my smb.conf set up right and when i do a testparm it doesn't give me any errors yet when I try to access the samba share from my xp box it gives me an error saying I don't have permission to access. Is there some other config file I need to check or change? Any other ideas on what I need to do? I'm running slackware 9. Thanks for any help.
 
Old 07-05-2003, 07:36 PM   #2
hemp4fuel
Member
 
Registered: Jun 2003
Location: Topeka, KS
Distribution: Slackware
Posts: 192

Original Poster
Rep: Reputation: 45
I just wanted to add that I've read most people who have problems similar to this mention being able to at least give their username/password but I get the error before this. I can also access my xp box from my linux box so I know something is going right. Thanks again.
 
Old 07-05-2003, 07:40 PM   #3
angelrod
Member
 
Registered: Oct 2002
Location: Mexico
Distribution: RedHat 9.0 and SuSE 8.1
Posts: 229

Rep: Reputation: 30
if you're using user security level then you have to add users to your smbpasswd.

The user you add has to be already on the system (i.e. the username you use to login everyday)

Use the command:

smbpasswd -a "username"

just change "username" for whatever you're user name is.
 
Old 07-05-2003, 09:24 PM   #4
hemp4fuel
Member
 
Registered: Jun 2003
Location: Topeka, KS
Distribution: Slackware
Posts: 192

Original Poster
Rep: Reputation: 45
thanks for reply, I tried what you recommended and it still won't even get to where it will prompt for a user/pass, it just gives an error that I dont have permission to access. The icon for the samba share is visible on the xp box, just can't open it. From reading many different sources I haven't seen anyone else with a problem like this, most people get prompted for the user/pass at least and thats where their problem exists. Any other input would be much appriciated.
 
Old 07-05-2003, 09:26 PM   #5
angelrod
Member
 
Registered: Oct 2002
Location: Mexico
Distribution: RedHat 9.0 and SuSE 8.1
Posts: 229

Rep: Reputation: 30
Do you have a firewall running??
 
Old 07-05-2003, 09:33 PM   #6
hemp4fuel
Member
 
Registered: Jun 2003
Location: Topeka, KS
Distribution: Slackware
Posts: 192

Original Poster
Rep: Reputation: 45
no i dont
 
Old 07-05-2003, 09:37 PM   #7
angelrod
Member
 
Registered: Oct 2002
Location: Mexico
Distribution: RedHat 9.0 and SuSE 8.1
Posts: 229

Rep: Reputation: 30
Can you ping your linux box form xp?
Have you tried setting security level to "share"?
Are you able to mount a xp share from linux?
 
Old 07-05-2003, 09:40 PM   #8
hemp4fuel
Member
 
Registered: Jun 2003
Location: Topeka, KS
Distribution: Slackware
Posts: 192

Original Poster
Rep: Reputation: 45
yeah i can ping it from xp and i can mount the xp share on linux, ill try setting the sec. level to share. thanks again.
 
Old 07-05-2003, 10:10 PM   #9
hemp4fuel
Member
 
Registered: Jun 2003
Location: Topeka, KS
Distribution: Slackware
Posts: 192

Original Poster
Rep: Reputation: 45
when i use "security = share" i can get to a user/pass prompt but the user line is grayed out and all my known passwords don't work for a pass. Still stumped.
 
Old 07-05-2003, 10:32 PM   #10
hemp4fuel
Member
 
Registered: Jun 2003
Location: Topeka, KS
Distribution: Slackware
Posts: 192

Original Poster
Rep: Reputation: 45
i found something about using security = share that you need to use 'smbusers' file, does anyone know where this should go on slackware? the example i saw put it /usr/local/etc/smbusers
 
Old 07-05-2003, 11:21 PM   #11
hemp4fuel
Member
 
Registered: Jun 2003
Location: Topeka, KS
Distribution: Slackware
Posts: 192

Original Poster
Rep: Reputation: 45
it really stumps me that i can ping each box from the other, i can access the xp box from my linux box, but the security = user option wont work like it seems to so easily in most cases. the security = share doesnt seem to be working either. I am pretty new to linux, only been using it for a little over a week but this is the first real hurddle ive ran into.
 
Old 07-07-2003, 12:21 AM   #12
excel28
Member
 
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 72

Rep: Reputation: 15
Here is my smb.conf file. I didn't have to set anything up in smbusers.

[global]
workgroup = WORKGROUP
server string = Samba Server
security = SHARE
ssl CA certDir = /etc/ssl/certs
log file = /var/log/samba.%m
max log size = 50
dns proxy = No

[personal]
path = /personal
read only = No
guest ok = Yes

Then in XP, I right clicked on network neighborhood then to search for computer. I looked for my linux box and it worked without any user/pass prompts.
 
Old 07-07-2003, 09:57 AM   #13
angelrod
Member
 
Registered: Oct 2002
Location: Mexico
Distribution: RedHat 9.0 and SuSE 8.1
Posts: 229

Rep: Reputation: 30
Have you tried installing the latest samba??
 
Old 07-07-2003, 02:34 PM   #14
hemp4fuel
Member
 
Registered: Jun 2003
Location: Topeka, KS
Distribution: Slackware
Posts: 192

Original Poster
Rep: Reputation: 45
thanks for the replies, I will try a similar config as yours excel28. angelrod: I have been using the newest samba. thanks again
 
Old 07-07-2003, 03:56 PM   #15
zos
LQ Newbie
 
Registered: Jun 2003
Posts: 6

Rep: Reputation: 0
You probably already did this but just in case you might also check the group policy on the xp box using start->run->gpedit.msc

Local computer->windows settings->security settings->domain member digitally encript (always): Disabled
 
  


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
can't access samba shares [goldy] Linux - Software 14 08-21-2004 08:42 PM
Samba and MS Access Shares oneiltj Linux - Software 13 08-08-2004 08:11 PM
Can't access samba shares from xp ralupien Linux - Software 11 12-16-2003 01:12 PM
Access denied XP samba shares djtsa Linux - Software 0 10-02-2003 06:26 AM
Samba and MS Access Shares oneiltj Linux - Software 3 03-18-2003 11:32 AM


All times are GMT -5. The time now is 01:38 PM.

Main Menu
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