Search squid archive

Re: Log 407-transactions when username is known

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20/02/2023 7:24 pm, Andrey K wrote:
Hello Amos,

Thank you for your recommendations.
I modified negotiate_wrapper_auth to parse NTLM tokens and to set the user attribute in AV-pairs,
so now I can configure the desired logging using acl note-type.

But I also have BASIC authentication type users.
Usernames of those users are known to the squid even if they type wrong passwords, but  the user-attribute is not set in the note-list in such transactions. Should I write a new wrapper script for the BASIC-authentication to set the user-attribute, or I can check if the username is known without using wrapper?


The username of Basic auth should be known and available with %un or %ul whenever the client provides one. If not, then yes you will have to add a wrapper there too to send user= on ERR responses.

HTH
Amos

_______________________________________________
squid-users mailing list
squid-users@xxxxxxxxxxxxxxxxxxxxx
http://lists.squid-cache.org/listinfo/squid-users




[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux