LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Best place to start with SAMBA (https://www.linuxquestions.org/questions/linux-networking-3/best-place-to-start-with-samba-4175432729/)

ichase 10-23-2012 05:10 AM

Seems like I am so close I can taste it. Have been reading a ton of info and here is were I am now. I see the server in Windows 7. The only thing it is loading is the printer. BUT, when I try to print to it from a network client computer it does not print nor does it give me an error stating why. But the strange thing is, I have my storage hard drive set to /home/storage the printer is showing up under storage on the network and not the HDD.

Here is my current smb.conf, hopefully this helps shed some light.

Code:

[root@HomeServer ichase]# cat /etc/samba/smb.conf
#======================= Global Settings =====================================
[global]

  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 ==============================
;[homes]
;  comment = Home Directories
;  browseable = no
;  writable = yes

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

[Storage]
  comment = Home Data Storage
  path = /home/storage
  valid users = user user user #I have 3 users all in which have samba accounts
  public = yes
  writable = yes
  printable = yes
  create mask = 0777
  directory mask = 0777

[printers]
  comment = All Printers
  path = /var/spool/samba
  browseable = yes
  Set public = yes
  guest ok = yes
  writable = yes
  printable = yes

Thanks for looking and thanks for the help.

All the best,

Ian

ichase 10-26-2012 02:16 PM

Just wanted to say thank you to all that provided guidance in my learning of SAMBA. Right now, all of my Windows machines have read/write to the share drive, and each Windows machine is set with the default printer attached to the server. Right now I still need to figure out how to set up my Linux machines to see the share and printer but I know there is additional configurations that need to be perform in order to see the network drive in either Thunar or PCManFM.

But the server is now servining it's purpose well and though Arch Linux was never intended to be a server host, it does a very fine job.

All the best and thank you all again,

Ian


All times are GMT -5. The time now is 07:36 PM.