+ Post New Thread
Page 3 of 3 FirstFirst 123
Results 31 to 37 of 37
*nix Thread, Apache with Winbind Authentication in Technical; Geoff when I got to it I gat an internal server error. After checking the apache logs I can see ...
  1. #31
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    62
    Geoff when I got to it I gat an internal server error.

    After checking the apache logs I can see that LDAP auth is working for me but the script itself is crashing out with an error the module pkpgpdls does not exist.

    The other two scripts work fine and report correctly.

    hence my question.

  2. #32

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    You must install 'pkpgcounter' from the pykota site.

  3. #33
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    62
    oooo I thought this was installed as standard, hmmm let me get to it and let you know.....

  4. #34
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    62
    OK have successfully extracted and installed pkpgcounter-3.50.tar.gz and I can access pkotme.cgi without it crashing

    This page as far as I can see alows you to get quote on how much a document would cost to print, I cannont see anywhere to get a balance for me, I should have 1.57 left.

    Any ideas??

    Do i need to pass something else to the script.

  5. #35

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    If you look at the README in '/usr/share/pykota/cgi-bin' it explains hows it works.

    If you protect access to printquota.cgi or dumpykota.cgi with
    username+password authentication, the REMOTE_USER CGI environment variable
    is honored, so an user can only see his own datas, but not
    other users' datas. However, the special REMOTE_USER value 'root'
    is allowed an unrestricted access.

    If no username+password authentication takes place, then access
    is completely unrestricted.

    If you don't protect access to pykotme.cgi with username+password
    authentication, then only the job's size will be displayed
    to you. This is due to the cost of a print job on a particular printer
    depending on the user because of the overcharging factor's value.
    So if you want pykotme.cgi to produce complete web quotes, you must
    ensure that the user logs in from his web browser whenever he uses
    this CGI script.

  6. #36
    ICTNUT's Avatar
    Join Date
    Jul 2005
    Location
    Hereford
    Posts
    1,419
    Thank Post
    196
    Thanked 249 Times in 122 Posts
    Rep Power
    62
    Hmmm this means that authentication is not working... hmm i am gonna need to look into this then.

    I'll let you know how I get on.

  7. #37

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224
    You can verify in the apache access.log if authentication is working. As the username will be logged.

SHARE:
+ Post New Thread
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Replies: 70
    Last Post: 13th November 2009, 01:51 PM
  2. Ubuntu 6.06 and winbind/getent
    By webman in forum *nix
    Replies: 6
    Last Post: 21st September 2007, 03:05 PM
  3. Apache passthrough AD group authentication
    By CyberNerd in forum *nix
    Replies: 3
    Last Post: 14th September 2007, 09:19 AM
  4. Apache + IIS On the same box?
    By in forum Windows
    Replies: 25
    Last Post: 7th March 2006, 03:12 PM
  5. Replies: 4
    Last Post: 14th November 2005, 05:05 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •