LoadModule sspi_auth_module modules/mod_auth_sspi.so
AuthName "Local Intranet" AuthType SSPI SSPIAuth On SSPIAuthoritative On SSPIOfferBasic Off SSPIOmitDomain On Require valid-user
LoadModule sspi_auth_module modules/mod_auth_sspi.so
AuthName "Local Intranet" AuthType SSPI SSPIAuthoritative On SSPIOfferBasic On SSPIBasicPreferred Off SSPIAuth On require valid-user
$cred = explode('\\',$_SERVER['REMOTE_USER']); if (count($cred) == 1) array_unshift($cred, "(no domain info - perhaps SSPIOmitDomain is On)"); list($domain, $user) = $cred; echo "You appear to be user <B>$user</B><BR/>"; echo "logged into the Windows NT domain <B>$domain</B>";