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 07-05-2007, 08:50 PM   #1
SlowCoder
Senior Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Debian based
Posts: 1,250

Rep: Reputation: 164Reputation: 164
Samba Printer Share = no permission


I've configured Samba to share files and my printer with Windows clients. File shares are working fine. When I view the printer shares through XP, I can install the driver, but am thereafter unable to access the printer share, and am denied permission to access the printer.

I'm using F7, and have disabled selinux.
Other than changing the netbios name in smb.conf, the file is default.
Here is my printer config:
Code:
[printers]
        comment = All Printers
        path = /var/spool/samba
        browseable = no
        guest ok = no
        writable = no
        printable = yes
Thank you.

Last edited by SlowCoder; 07-05-2007 at 08:54 PM.
 
Old 07-05-2007, 09:02 PM   #2
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
"guest ok = no"

Are you using an ID that's valid to Samba on your Linux machine?
 
Old 07-05-2007, 09:21 PM   #3
SlowCoder
Senior Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Debian based
Posts: 1,250

Original Poster
Rep: Reputation: 164Reputation: 164
I have authenticated and matching user accounts for samba and XP, if that's what you're asking.

Edit: I decided to try setting guest to yes, and that had no effect.

Last edited by SlowCoder; 07-05-2007 at 09:47 PM.
 
Old 07-05-2007, 10:21 PM   #4
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
Well, it was just a thought. I haven't done the "print from a Linux Samba share" yet, as my printer is connected to the MS machine. But, I did go far enough in messing with Samba to watch a movie from a DVD share. Of course, in that case, I had to login to Samba to open the shared drive. Wish I could be of some *real* help. Good luck!
 
Old 07-06-2007, 08:52 PM   #5
SlowCoder
Senior Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Debian based
Posts: 1,250

Original Poster
Rep: Reputation: 164Reputation: 164
Quake, thanks for your assistance.

Here is my testparm output. Can anyone tell me if there's anything wrong with it?
Code:
root [/var/log/samba] $ testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions

[global]
        workgroup = HOME
        netbios name = RED
        server string = Samba Server Version %v
        passdb backend = tdbsam
        log file = /var/log/samba/log.%m
        max log size = 50
        cups options = raw

[homes]
        comment = Home Directories
        valid users = %S
        read only = No
        browseable = No

[printers]
        comment = All Printers
        path = /var/spool/samba
        printable = Yes
        browseable = No
 
Old 07-06-2007, 09:26 PM   #6
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
slowcoder,
I've just had another thought. I have a second Linux machine that I setup to use the CUPS server on my main one. Here's my CUPS config on that one, if it helps. It was a real nuisance to figure this crap out. It's from http://localhost:631/ on my second machine. Note the URI below:
Quote:
Description: SamsungM
Location: Location Unknown
Make and Model: Samsung ML-1740 Foomatic/gdi (recommended) on 192.168.0.6
Printer State: idle, accepting jobs, published.
Device URI: ipp://192.168.0.6:631/printers/SamsungM
Also, I've found a link that might help, if you haven't seen it yet:
http://www.faqs.org/docs/Linux-mini/...-Printing.html
 
Old 07-06-2007, 09:31 PM   #7
Quakeboy02
Senior Member
 
Registered: Nov 2006
Distribution: Debian Linux 11 (Bullseye)
Posts: 3,407

Rep: Reputation: 141Reputation: 141
FWIW, here's the printers section of my smb.conf on the CUPS "server".
Code:
[printers]
   comment = All Printers
   browseable = no
   path = /tmp
   printable = yes
   public = no
   writable = no
   create mode = 0700
 
Old 07-09-2007, 08:23 PM   #8
SlowCoder
Senior Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Debian based
Posts: 1,250

Original Poster
Rep: Reputation: 164Reputation: 164
Ok, the only differences in your config and mine were the "create mode", and the "path". I tried both of them without success. Thank you, though.

Anyone else wanna give me a shot? Pretty pretty please ... grovel ... (licking shoes) ...
 
  


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
Samba - dont have permission to browse samba share. Scrag Linux - Software 4 11-28-2006 01:42 AM
Can't get RW permission on a mounted samba share darkangel12613 Linux - Software 6 08-31-2006 07:04 AM
Permission issue when accessing share using Samba hishii Linux - Software 4 01-01-2006 11:01 PM
Samba share permission issue cbekannan Linux - Security 4 03-11-2005 03:52 AM
Samba Share Write permission Issues Colossus610 Linux - Software 4 08-12-2004 05:20 PM

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

All times are GMT -5. The time now is 12:39 PM.

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