Have you tried this? or are you just guessing as to the behaviour?
smb_auth and ncsa_auth use the same client side protocol - they both pop
up the "ncsa_auth username/password" box.
You may _mean_ NTLM. NTLM is a very different thing. And NTLM _will_
behave the way you want _by default_.
Rob
----- Original Message -----
From: "Richard Greaney" <greaneyr@inspire.net.nz>
To: <squid-users@squid-cache.org>
Sent: Thursday, March 22, 2001 4:54 AM
Subject: [squid-users] smb_auth + ncsa_auth together
> Hi all
> I am currently trying to set up a proxy server which uses squid and
works in
> the following way:
>
> A user is looked up against the NT server with smb_auth. If this
accepts their
> access, then they are granted permission to use the internet.
>
> However, if the user is NOT able to access the proxyauth file (due to
> permissions) I would like them to THEN be given the standard ncsa_auth
> username/password box. Why? Because if the user is not a member of a
group who
> is able to use the internet, BUT someone with the authority (and who
also knows
> the password) is around, they can type this in without having to log
off and
> log in themselves.
>
> My line of work is such that all authentication needs to be done at
user level
> and virtually none at machine level.
>
>
> As far as I know, smb_auth works on a "grant/deny" basis, and does not
prompt
> for a password if it fails.
>
>
>
> My question is, is there a way to use these two authentication modules
> together? I would like to have the knowledge of C/C++ to merge the
source code
> together so they become one module, but this is not a skill of mine.
>
> Any help (or directions to places I may find help) is greatly
appreciated
>
> Regards
> Richard
>
Received on Tue Mar 20 2001 - 23:52:29 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:58:45 MST