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 12-04-2010, 09:15 AM   #1
meandsushil
Member
 
Registered: Feb 2010
Posts: 143

Rep: Reputation: 14
How can I limit printer usage by SAMBA server?


How can I limit printer usage by SAMBA server?
 
Old 12-04-2010, 01:01 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,788

Rep: Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162
Quote:
Originally Posted by meandsushil View Post
How can I limit printer usage by SAMBA server?
Ask a clear question, and maybe you can get help, but since you've not ever provided good information in any of your other posts, this one is no different.

Limit usage HOW?? Based on user? IP address? Number of print jobs? Print job size? What kinds of clients? How are they authenticated? Version/distro of Linux? Samba version?
 
Old 12-05-2010, 09:10 AM   #3
meandsushil
Member
 
Registered: Feb 2010
Posts: 143

Original Poster
Rep: Reputation: 14
Ok!
I want to limit print usage by IP and by user I want to do it on RHEL5.
SAMBA is normal which comes by default with Linux OS.
 
Old 12-05-2010, 09:50 AM   #4
meandsushil
Member
 
Registered: Feb 2010
Posts: 143

Original Poster
Rep: Reputation: 14
Just like what I do with a directory to share across XP OS or other linux samba users.
like
[sambashare]
name=sambashare
comment=share my data
read list = ram ,sham
write list = ram
hosts allow = 192.168.0.56,192.168.0.69

that means only fron 56 and 69 machine users ram and sham can access sambashare directory according to their rights.
Can I do same with printer?
 
Old 12-05-2010, 10:35 AM   #5
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,788

Rep: Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162
Quote:
Originally Posted by meandsushil View Post
Just like what I do with a directory to share across XP OS or other linux samba users.
like
[sambashare]
name=sambashare
comment=share my data
read list = ram ,sham
write list = ram
hosts allow = 192.168.0.56,192.168.0.69

that means only fron 56 and 69 machine users ram and sham can access sambashare directory according to their rights.
Can I do same with printer?
Yes, and if you read the Samba documentation, you'd see that. And since you're using RHEL, CALL REDHAT SUPPORT, since you're paying for it, right???
 
Old 12-05-2010, 11:15 AM   #6
meandsushil
Member
 
Registered: Feb 2010
Posts: 143

Original Poster
Rep: Reputation: 14
What?
 
Old 12-05-2010, 12:48 PM   #7
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 18,788

Rep: Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162Reputation: 4162
Quote:
Originally Posted by meandsushil View Post
What?
Which word in my reply did you have trouble with?? The part where I told you that yes, doing the same "hosts allow" would work, or the part about calling RedHat support???
 
  


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
Limit memory usage vinaytp Linux - Newbie 1 11-30-2009 11:45 PM
Report of file usage from Samba server? chromei386 Linux - Newbie 1 01-01-2009 10:21 PM
Limit CPU usage slantoflight Linux - General 5 02-23-2006 03:37 AM
How to limit the account usage. prabhatsoni Linux - Security 5 01-18-2006 02:19 AM
limit usage? mifan Linux - Newbie 4 04-18-2004 06:05 AM


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