LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How can I limit printer usage by SAMBA server? (https://www.linuxquestions.org/questions/linux-newbie-8/how-can-i-limit-printer-usage-by-samba-server-848323/)

meandsushil 12-04-2010 09:15 AM

How can I limit printer usage by SAMBA server?
 
How can I limit printer usage by SAMBA server?

TB0ne 12-04-2010 01:01 PM

Quote:

Originally Posted by meandsushil (Post 4180465)
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?

meandsushil 12-05-2010 09:10 AM

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.

meandsushil 12-05-2010 09:50 AM

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?

TB0ne 12-05-2010 10:35 AM

Quote:

Originally Posted by meandsushil (Post 4181277)
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???

meandsushil 12-05-2010 11:15 AM

What?

TB0ne 12-05-2010 12:48 PM

Quote:

Originally Posted by meandsushil (Post 4181344)
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???


All times are GMT -5. The time now is 06:58 AM.