Tema: Re: PHP + Active directory
Autorius: Ingodas Vytrastas
Data: 2009-08-10 14:24:10
dadada wrote:
> Su šita klase viskas gerai, jei vartotojas įvedinėja vartotojo vardą ir 
> slaptažodį, bet
> kaip padaryti, kad jei žmogus prisijungęs prie savo kompo accounto - jam 
> nereikėtų įvedinėti slaptažodžio?


Namų darbai:

Seamless authentication or Single Sign On (SSO) refers to where the 
browser does the authentication automatically for the user. No password 
is sent across the wire, they're all hashes (it's Samba voodoo). The 
protocol Microsoft uses to provide seamless browser authentation in a 
windows domain is called NTLM. More information on NTLM and the 
associated technologies are available at Wikipedia. Both Microsoft 
Internet Explorer and Mozilla Firefox readily support NTLM.

....

<Directory "/var/www/auth">
   AuthName "NTLM Authentication thingy"
   NTLMAuth on
   NTLMAuthHelper "/usr/bin/ntlm_auth --helper-protocol=squid-2.5-ntlmssp"
   NTLMBasicAuthoritative on
   AuthType NTLM
   require valid-user
</Directory>

-- 
  ejs