LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 08-30-2005, 08:34 PM   #1
Tsarok
Member
 
Registered: Jun 2005
Distribution: Slackware 10.1
Posts: 31

Rep: Reputation: 15
Difficulty accessing SAMBA shares


My end goal is to learn how to get Samba working on a Slack machine on a domain with active directory. Right now, I'm trying to learn the basics of configuration and am using my home network for the test.

My /etc/samba/smb.conf file reads as follows in its entirety:

Code:
[global]
workgroup = MSHOME
netbios name = Slacker
security = SHARE

[shared]
comment = Shared directory
path = /home/sambashare/shared
force user = sambashare
force group = users
read only = No
guest ok = Yes

[wwwroot]
comment = WWW Root Directories
path = /home/sambashare/wwwroot
force user = sambashare
force group = users
read only = No
guest ok = Yes
This is copied directly from a post in a thread dealing with different issues.

I CAN see the "Samba 3.0.14a (Slacker)" in my network places as well as a "shared" and "wwwroot" folder when I explore my network but I get an error reading "\\Slacker\shared is not accessible. ....blah blah may not have permissions... blah blah contact your administrator."

The system I'm trying access the samba server with is running Windows XP Pro with SP2. I'm familiar with Windows and NT credentials but not with how to pass those credentials to a Linux machine. Besides, I thought the "security = SHARE" line removed the need for user accounts.

Anyhow, please help!

EDIT: I should have mentioned that my home network is a simple workgroup named MSHOME.

Last edited by Tsarok; 08-30-2005 at 08:43 PM.
 
Old 08-30-2005, 09:16 PM   #2
Tsarok
Member
 
Registered: Jun 2005
Distribution: Slackware 10.1
Posts: 31

Original Poster
Rep: Reputation: 15
Er... it seems I fixed it.

As it turns out, you have to actually create the user account "sambashare" for it to work. The force commands were apparently forcing logins to an account that doesn't exist.

(hangs head in shame)
 
  


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
Problem while accessing Samba Shares. duffmckagan SUSE / openSUSE 16 09-22-2005 02:49 PM
Accessing samba shares from a windows machine lacitpo Linux - Software 2 12-13-2004 06:47 AM
Problem accessing windows shares using samba Tinku Linux - Software 6 08-05-2004 07:47 PM
Accessing Samba Shares The_Q DamnSmallLinux 2 02-05-2004 04:36 AM
accessing samba shares is slow! kudos Linux - Software 2 11-26-2003 02:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:22 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
Open Source Consulting | Domain Registration