LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 10-11-2005, 11:37 AM   #1
cogs_bobv
LQ Newbie
 
Registered: Oct 2005
Posts: 5

Rep: Reputation: 0
Samba Config not working setting up user shares.


Hi all,

I'm running RH 9.0
Samba Config 1.0.4-1
Samba-2.2.7a-8.9.0

Here is the problem. I tried using Samba Config to set up Samba. It properly changed /etc/smb.conf for the server name.

When I set up the shares and added a user only to be allowed to access this share, it did not work. I could not access the share from my WinXP machine.

The user shows up in Samba Config (SConfig) utility as allowing this person to be the only one for the share, but it does not add this information to smb.conf.

I go out of SConfig and come back in and the user is still set up for the share.

So, where is SConfig getting this information if it is not in /etc/samba/smb.conf??
I searched my system for another smb.conf and nothing. I confirmed by changing the server name that SConfig is changing /etc/samba/smb.conf.

I went in an manually entered it in smb.conf and my share now works, testparm says everything is OK.

Any ideas?

I would really like to use Samba Config instead of vi.

Thanks in advance

-- Bob V.
 
Old 10-11-2005, 11:43 AM   #2
Gort32
Member
 
Registered: Sep 2004
Distribution: Slack!
Posts: 150

Rep: Reputation: 15
testparm might give you some additional insight
 
Old 10-11-2005, 11:47 AM   #3
cogs_bobv
LQ Newbie
 
Registered: Oct 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Hey Gort32,

Tried it. Told me everything was fine. Before and after I added the user to the share using vi.

-- Bob V.
 
Old 10-11-2005, 12:15 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,925

Rep: Reputation: 747Reputation: 747Reputation: 747Reputation: 747Reputation: 747Reputation: 747Reputation: 747
I am unfamilar with this utility. Was it installed with RH9?
 
Old 10-11-2005, 12:21 PM   #5
cogs_bobv
LQ Newbie
 
Registered: Oct 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Hi MichaelK,

Samba Config came with RH9.

It's installed under Add/Remove Applications or Pacakages.

Then under Server Configuration Tools, you choose redhat-config-samba.

On the desktop/start menu, it shows up as Samba Server.
The package installed is Redhat-Config-Samba-1.0.4-1

Take care,

-- Bob V.

Last edited by cogs_bobv; 10-11-2005 at 12:23 PM.
 
Old 10-11-2005, 12:35 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,925

Rep: Reputation: 747Reputation: 747Reputation: 747Reputation: 747Reputation: 747Reputation: 747Reputation: 747
Doh, I finally woke my brain up...

I assume you are running it as root?
 
Old 10-11-2005, 12:43 PM   #7
cogs_bobv
LQ Newbie
 
Registered: Oct 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Hi Michael,

Correct , running it as root.

-- Bob V.
 
Old 10-11-2005, 04:02 PM   #8
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,925

Rep: Reputation: 747Reputation: 747Reputation: 747Reputation: 747Reputation: 747Reputation: 747Reputation: 747
AFAIK the only configuration file is the /etc/samba/smb.conf. There could be bugs in this version. Make sure your using the ok button. I don't remember any bugs but it has been a long time since I've played with RH9.

BTW there are other GUI configuration utilities. swat, webmin and several others listed on the samba website.
 
Old 10-11-2005, 04:24 PM   #9
cogs_bobv
LQ Newbie
 
Registered: Oct 2005
Posts: 5

Original Poster
Rep: Reputation: 0
Hi Michael,

I saw them. Which GUI config tool/utility would you recomend?

Thanks in advance,

-- Bob V.
 
Old 10-11-2005, 08:58 PM   #10
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,925

Rep: Reputation: 747Reputation: 747Reputation: 747Reputation: 747Reputation: 747Reputation: 747Reputation: 747
swat is just for configuring samba.
webmin is for configuring the OS in general.

They are web based and both do a good job. If all you need is samba then go for swat. If you want more then go for webmin.
 
  


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
trouble setting shares so samba networked xp box can browse files mjewell Mandriva 4 11-13-2005 08:20 AM
Mounting Samba Shares ad user hobz Linux - Software 1 06-17-2005 10:10 PM
Samba -- XP user can log in to shares but smbclient user always gets password errors ejoe Linux - Software 3 04-18-2005 10:55 AM
Samba Shares not working EnigmaX Linux - Newbie 6 04-01-2004 12:02 PM
User Group and samba shares Sylhouette Linux - General 0 01-09-2002 03:26 PM


All times are GMT -5. The time now is 11:34 AM.

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