LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 10-23-2012, 05:10 AM   #16
ichase
Member
 
Registered: Jul 2010
Location: Virginia Beach, Virginia
Distribution: Arch
Posts: 66
Blog Entries: 4

Original Poster
Rep: Reputation: 3

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
 
Old 10-26-2012, 02:16 PM   #17
ichase
Member
 
Registered: Jul 2010
Location: Virginia Beach, Virginia
Distribution: Arch
Posts: 66
Blog Entries: 4

Original Poster
Rep: Reputation: 3
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
 
  


Reply

Tags
samba


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
It's THE BEST place to start with Linux! Ponchitto LinuxQuestions.org Member Intro 1 04-05-2012 07:55 AM
A good place to start? frznchckn Linux - Security 1 11-23-2008 11:52 PM
Need a place to start....... digitalmastermind Linux - Networking 1 11-12-2007 04:14 PM
Best place to start? SteveC33603 Linux - Newbie 2 01-06-2006 09:16 PM
The best place to start. Markness Linux - Newbie 12 04-27-2005 01:30 PM


All times are GMT -5. The time now is 09:13 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