Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: raem on November 24, 2005, 09:54:49 AM
-
Dear All
I have made a new HOWTO based on my own investigations & testing. It's a modification to allow users other than admin to access the print queue monitor.
LPRng print queue monitor user access HOWTO for sme server
http://mirror.contribs.org/smeserver/contribs//rmitchell/smeserver/howto/LPRng%20print%20queue%20monitor%20user%20access%20HOWTO%20for%20sme%20server.htm
-
I've found that every once in a while, for a variety of reasons, I need to clear the print queue. Initially, I was merely deleting the printer and reinstalling it. The deletion automatically erases the printer spool. However, there must be a straightforward way to do this.
So I searched, and found this link (thanks RayMitchell). However, it doesn't seem to work for me. I still get this message:
>You don't have permission to access /LPRng on this server.
>
>Additionally, a 403 Forbidden error was encountered while trying to use >an ErrorDocument to handle the request.
I've tried adding "everyone" to the require user list, and erased all of the lines that pertained to authentication, including deny all line. (of course this was only for testing purposes and to identify the source of the restriction).
Any further ideas? I just want a way to clear the print spooler without deleting/reinstalling the printer in server-manager.
p.s. I'm working on SME7
Thanks in advance!
-
mackayr
> I'm working on SME7
Exactly which version of LPRng monitor did you install ?
...and where did you download it from ?
That howto was for sme6 & an earlier version of LPRng monitor, I don't know if it is appropriate on sme7 as I have not tried it. A newer rpm may create a different template.
You should only need to edit 2 lines , those that start with
require user admin
Did you do all the steps including expand the template & restart httpd-e-smith ?
-
Version: saco-mitel-lprng-monitor-0.0.2-1.noarch
Location: http://mirror.contribs.org/smeserver/contribs/saco/contrib/saco-mitel-lprng-monitor/
Yes, I did all of the steps in the howto, including expanding httpd.conf and restarting httpd. (Though I had to restart httpd the "new" way).
Is there a newer version out there? This is the only one I could find with the forum search, and there's no contribs for it listed in the contrbs area.
Rob
-
Update: I removed the version that I had and installed a newer version, and all worked well.
smeserver-lprng-monitor-0.0.6-1.noarch
I suppose I should have followed the advice in the howto to install the latest version.
Thanks,
Rob
-
mackayr
> I ... installed a newer version, and all worked well.
> smeserver-lprng-monitor-0.0.6-1.noarch
That version had a bug in it.
There is a more recent version. I have
smeserver-lprng-monitor-0.0.7-1.noarch.rpm
> I should have followed the advice in the howto to install the latest version.
Always good policy
-
mackayr
>...and all worked well.
Do the steps in the howto still work correctly for you in sme7 ?
I'll update it if people give me feedback.
-
I'm not sure if they work. I believe that my access problem was related to the bug in the old version. If I understand correctly, the howto was intended to allow users (other than admin) to log into the user panel and access LPRng manager. Right? I thought it may have somehow authenticated the web access based on my workgroup login.
I'll try to make the changes and see if I can log in as another user and make changes.
BTW ... where can I get the 0.0.7-1 version that you have?
-
Seems to work fine. I never used the user-manager/user panel functionality before, since I'm the only admin on my system. But it does provide access to LPRng, whereas it otherwise would have required admin login.
Thanks,
Rob
-
mackayr
The version you now have still has a (different) bug in it, from memory to do with restarting httpd.
> If I understand correctly, the howto was intended to allow users
> (other than admin) to log into the user panel and access LPRng
> manager. Right?
Yes
> I thought it may have somehow authenticated the web access based on my workgroup login.
It does authenticate against logged in sme users, but only allows access to those listed in the template (as configured).
> I'll try to make the changes and see if I can log in as another user and make changes.
Thanks in advance for the report.
>... where can I get the 0.0.7-1 version that you have?
I was just searching again for the location (as I like to know where I get rpms from), a search at contribs forums found it
http://forums.contribs.org/index.php?topic=33297.0
-
mackayr
>> I thought it may have somehow authenticated the web access based on my workgroup login.
> It does authenticate against logged in sme users, but only allows access to those listed in the template (as configured).
I probably should add that this is not a problem if you access it using server manager as you login using admin. If you have user-manager installed and access configured, then you can allow some users to have certain admin access rights using their own login name & password, except that this particular LPRng monitor panel needed tweaking to allow other users (than admin) to access it via user-manager.