LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 06-14-2010, 03:39 AM   #1
meandsushil
Member
 
Registered: Feb 2010
Posts: 143

Rep: Reputation: 14
Question How to allow only 3 users from three diff network to use printer?


HOW TO ALLOW ONLY 3 USERS FROM THREE DIFF NETWORK TO USE PRINTER?


WE HAVE THREE NETWORK

192.168.0.0

172.16.99.0

10.28.250.0

I know samba will be use here, right?

but can configue this via samba?



and this has to be configured on machine where this printers drivers has been installed right?

Do I need to configure all in this "/etc/samba/smb.conf" file?


Printer name is HP Laser Jet M1005 MFP.

Last edited by meandsushil; 06-14-2010 at 04:01 AM.
 
Old 06-14-2010, 03:44 AM   #2
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Debian, OS X
Posts: 1,270

Rep: Reputation: 99
I believe in the hosts allow parameter in /etc/samba/smb.conf you can give the IP of all the networks.

And in the valid users parameter, you can give the names of the users.

Post your doubts and probable attach your smb.conf here for further help.
 
Old 06-14-2010, 11:00 AM   #3
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 15,088

Rep: Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716Reputation: 2716
Quote:
Originally Posted by meandsushil View Post
HOW TO ALLOW ONLY 3 USERS FROM THREE DIFF NETWORK TO USE PRINTER?

WE HAVE THREE NETWORK
192.168.0.0
172.16.99.0
10.28.250.0

I know samba will be use here, right? but can configue this via samba?
As others have asked in other threads, please stop using all capitals. It's considered very rude, and please write clearly. A brief Google search turns up:

http://www.linuxhomenetworking.com/w...es_Using_Samba

which walks you through how to set up and share a printer via Samba. These:
http://www.comptechdoc.org/os/linux/...4/smbconf.html
http://www.redhat.com/docs/manuals/l...s-sharing.html

show you how to restrict access. Again, a quick Google search could easily answer these questions, along with reading the information in the smb.conf file.
Quote:
and this has to be configured on machine where this printers drivers has been installed right?
No, the printer drivers need to be installed on the client machine. Samba just shares the printer to the network.
Quote:
Do I need to configure all in this "/etc/samba/smb.conf" file?
Printer name is HP Laser Jet M1005 MFP.
Obviously, since Samba is what's sharing the printer out to the rest of the world.
 
  


Reply

Tags
printer, samba, shared, via


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
[SOLVED] Viewing the entire(from all users) print queue of a network printer austinium Linux - Hardware 9 05-07-2010 12:06 AM
Permissions: Can regular users add their network printer, like in windows ? frenchn00b General 0 03-08-2008 05:29 AM
how to set diff fetchmail settings for different users? deepugopi Linux - Server 0 10-24-2007 08:47 AM
can you use diff across the network? dr_zayus69 Linux - Software 3 06-04-2006 10:45 AM
Connect to shared network printer on WinXP machine for all users (Slackware) a1flecke Linux - Newbie 12 05-03-2004 08:27 PM


All times are GMT -5. The time now is 06:26 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration