LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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, 07: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 10:08 AM.
 
Old 05-11-2017, 10: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, 10:31 AM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,679

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
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, 12: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, 12:59 PM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,679

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
Might as well post the the entire smb.conf file.
Did you restart samba?
 
Old 05-11-2017, 01: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, 01:30 PM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,679

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
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, 01: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



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

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

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