View Single Post
Old 23rd October 2012, 12:57
ichase ichase is offline
Junior Member
Join Date: Nov 2010
Location: Virginia Beach,VA
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts

Thanks again dalitso
I followed your guidance and now when I see HOMESERVER on the network in Windows, it is not showing the /home/storage folder. The only thing it is showing is a printer. (which I can not connect to) but it is not showing my /home/storage folder.
Here is my smb.conf, as this may help:
[root@HomeServer ichase]# cat /etc/samba/smb.conf
#======================= Global Settings =====================================

   workgroup = WORKGROUP

   server string = Samba Server

   security = user

   hosts allow = 192.168.0. 192.168.1. 192.168.2. 127.

   load printers = yes

;   printcap name = /etc/printcap

;   printcap name = lpstat

;   printing = cups

    guest account = nobody

   log file = /var/log/samba/%m.log

   max log size = 50

# These scripts are used on a domain controller or stand-alone 
# machine to add or delete corresponding unix accounts
;  add user script = /usr/sbin/useradd %u
;  add group script = /usr/sbin/groupadd %g
;  add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
;  delete user script = /usr/sbin/userdel %u
;  delete user from group script = /usr/sbin/deluser %u %g
;  delete group script = /usr/sbin/groupdel %g

#============================ Share Definitions ==============================
;   comment = Home Directories
;   browseable = no
;   writable = yes

;    path = /usr/local/samba/profiles
;    browseable = no
;    guest ok = yes

   comment = Home Data Storage
   path = /home/storage
   valid users = user user user
   public = yes
   writable = yes
   printable = yes
   create mask = 0777
   directory mask = 0777

   comment = All Printers
   path = /var/spool/samba
   browseable = yes
   Set public = yes 
   guest ok = yes
   writable = yes
   printable = yes
Under [Storage] valid users actually spells out the users with samba accounts.

Not sure if this will shed some light. It seems like I am following all the guidance I am reading but just not hitting the mark. Now granted, I am learning a ton so that is a good thing.

Thank you for your help and guidance dalitso

Always do right. This will gratify some people and astonish the rest.
Mark Twain

Registered Linux User # 526317
Reply With Quote