if using web-server authentification runs infinitive loop
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OCS Inventory: OCSReports |
Invalid
|
Medium
|
Erwan |
Bug Description
i setup ocs server (2.0.4.0) on linux box (ubuntu server 10.04). configured apache to check user in windows AD + group membership (mod_auth_kerb for user and mod_authnz_ldap for group).
configured ocs gui settings in LDAP tab. when tries to togin - run in infinite loop of "http 401" from apache and sending auth from browser.
i tested - auth by web-server correct.
i think problem is in file "ocsinventory-
this fragment:
}elseif(
$login=
$mdp='NO_PASSWD';
}
should look like this:
}elseif(
$login=
$mdp='NO_PASSWD';
}
after first browser request to apache i had variables $_SERVER[
this fix allowed me to login transparently to ocsreports interface with windows domain login without typing it.
Changed in ocsinventory-ocsreports: | |
importance: | Undecided → Medium |
sorry for my hurry. browser cache make me wrong.
transparent login - i'm working on it.
HTML form works fine
as for loop, checked my variables. after web-server authentification over ldap - i have REMOTE_USER and PHP_AUTH_USER, but don't have HTTP_AUTH_USER, as used in SSO section in mentioned upper file auth.php.
in transparent scheme i see only error about not defined roles.
i'll check more and post here