LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 11-05-2009, 12:21 AM   #1
odin06
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, 07:58 AM   #2
jstephens84
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. http://www.redhat.com/docs/manuals/e...ity-modes.html
 
Old 11-05-2009, 08:03 AM   #3
chiragrk
Member
 
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
user.
 
  


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


All times are GMT -5. The time now is 07:00 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration