LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-10-2017, 08:13 PM   #1
wave2453
LQ Newbie
 
Registered: May 2017
Posts: 5

Rep: Reputation: Disabled
Samba share help.


Hi All,
I have a server with SMB mounts. All the SMB mounts are working fine except for one which is the users home drive. When myself or anyone else tries to access this home drive share it appears as a printer. Below is the config in /etc/samba/smb.conf . I can access the home folder from SSH but not from the share from my windows machine.

Edit: This is a RHEL 4.0 box

Any thoughts are appreciated.

Thanks!

Tried resolutions:
Restarting smb service



[homes]
comment = Home Directories
path = /home/%S
browseable = yes
writable = yes
valid users = %S
create mode = 0664
directory mode = 0775
# If you want users samba doesn't recognize to be mapped to a guest user
; map to guest = bad user

Last edited by wave2453; 05-11-2017 at 11:08 AM.
 
Old 05-11-2017, 11:06 AM   #2
wave2453
LQ Newbie
 
Registered: May 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
I don't want to bump but I could really use some help on this since I am really stumped.
 
Old 05-11-2017, 11:31 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,533

Rep: Reputation: 3139Reputation: 3139Reputation: 3139Reputation: 3139Reputation: 3139Reputation: 3139Reputation: 3139Reputation: 3139Reputation: 3139Reputation: 3139Reputation: 3139
What version of samba are you running? This basic homes share should work.

Code:
[homes]
	comment = Home Directories
	browseable = yes
	writable = yes
 
Old 05-11-2017, 01:41 PM   #4
wave2453
LQ Newbie
 
Registered: May 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
What version of samba are you running? This basic homes share should work.

Code:
[homes]
	comment = Home Directories
	browseable = yes
	writable = yes
Version: 3.0.33-0.35.el4
The basic home shares the Homes is also showing it as a printer.
 
Old 05-11-2017, 01:59 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,533

Rep: Reputation: 3139Reputation: 3139Reputation: 3139Reputation: 3139Reputation: 3139Reputation: 3139Reputation: 3139Reputation: 3139Reputation: 3139Reputation: 3139Reputation: 3139
Might as well post the the entire smb.conf file.
Did you restart samba?
 
Old 05-11-2017, 02:20 PM   #6
wave2453
LQ Newbie
 
Registered: May 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
smb conf.txt
I attached the file

also i did restart samba
 
Old 05-11-2017, 02:30 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 19,533

Rep: Reputation: 3139Reputation: 3139Reputation: 3139Reputation: 3139Reputation: 3139Reputation: 3139Reputation: 3139Reputation: 3139Reputation: 3139Reputation: 3139Reputation: 3139
Quote:
#[printers]
# comment = All Printers
# path = /var/spool/samba
# browseable = no
# Set public = yes to allow user 'guest account' to print
guest ok = no
writable = no
printable = yes
You did not comment out the entire printers share so printable = yes becomes part of homes.
 
Old 05-11-2017, 02:46 PM   #8
wave2453
LQ Newbie
 
Registered: May 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by michaelk View Post
You did not comment out the entire printers share so printable = yes becomes part of homes.
Wow i did not notice that. I will change that and let you know how it goes.
 
  


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
Why is the SAMBA share option 'grayed out' in the share dialog? Atari911 Slackware 1 03-18-2011 08:00 PM
can't mount samba share and then write to the share calbazon Linux - Software 8 10-10-2010 02:35 AM
mount windows share export to samba share -> improve network performance tuning newuser77 Linux - Server 1 07-23-2008 12:28 PM
searching samba share breaks connection to share Elomis Linux - Server 1 05-11-2007 01:28 AM
Simple Samba Setup, Share & Not Share timmywo Linux - Software 4 07-30-2004 08:27 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:07 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration