Tema: Re: PHP + Active directory
Autorius: bertas
Data: 2009-08-11 00:52:15
Dėkui už naudingą info
Ingodas Vytrastas rašė:
> 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>
>