>
>>Yes it is asking and working.
>>I have tried this in my Cache server for authentication type and it is
>working
>>there.
>>
>>> Cache Access Denied.
>>>    http://www.google.com/
>>>
>>
>>It seems your http_access rule is not allowing to access cache there.
>
>
>>
>>> auth_param basic program /usr/src/null_auth
>>
>>Are you having the authenticator in this location with executable permission
>>there?
>>Try on command line as,
>>/usr/src/null_auth
>>test test
>>OK
>>OK
>>......
>>
>
>On command line, the authenticator works.
>

The output of my authenticator seems to be buffered. I changed the source
to:

#include <stdio.h>

char buffer[256];

int main()
{

   while (fgets(buffer,256,stdin)!=NULL)
   {
       fprintf(stdout,"OK\n");
       fflush(stdout);
       fprintf(stderr,"OK\n");
   }
}


Now it works as expected.

Thanks,
   Udo Pokojski

________________________________________
http://www.epost.de - das Kommunikationsportal der Deutschen Post


Reply via email to