Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 11-05-2009, 01:21 AM   #1
LQ Newbie
Registered: Oct 2009
Posts: 3

Rep: Reputation: 0
SAMBA Shared Printer

Hi! I'm using Ubuntu 9.04 and i've installed my HP Printer and SAMBA successfully. Windows XP clients on my network can successfully print through this shared printer.

My problem is, is there a way to put a security password or some sort of authentication before they can print? its because this printer is only dedicated to one department only. Pls help. Thanks!
Old 11-05-2009, 08:58 AM   #2
Senior Member
Registered: Sep 2004
Location: Nashville
Distribution: Manjaro, RHEL, CentOS
Posts: 2,098

Rep: Reputation: 102Reputation: 102
you can setup the security on the share to be for a specific group or user that way only certain people have access to it. while this article is from red hat it has helped me on other debian servers.
Old 11-05-2009, 09:03 AM   #3
Registered: Nov 2009
Location: India
Distribution: Xandros, Ubuntu
Posts: 74

Rep: Reputation: 16
Have you tried the config directive "valid users" ?

Here's an excerpt FROM man smb.conf:

valid users (S)
This is a list of users that should be allowed to
login to this service. Names starting with '@', '+'
and '&' are interpreted using the same rules as
described in the invalid users parameter.

If this is empty (the default) then any user can
login. If a username is in both this list and the
invalid users list then access is denied for that


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 shared printer doesn't allow multiple copies pljvaldez Linux - Server 2 05-12-2008 06:52 PM
Error when connection to to a samba shared printer muhammedsheri Linux - Newbie 2 01-23-2008 12:57 AM
Help printer from a samba shared printer from linux (using cups) epod69 Linux - Networking 3 12-04-2005 11:44 PM
Connecting to a Samba shared printer Sm1ler Linux - General 3 03-21-2005 02:31 PM
Samba... Printing to Win2k shared printer. buckinpgh Linux - Networking 1 10-15-2003 05:59 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:21 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration