Good day, I have next problem...
I assign drupal role to group from AD e.g.
when user login in site, with special group from and - his granted role to drupal

next...

if I add net mapping role drupal to ad, and user refresh page of site, his not assign to drupal role, and if him close browser and open it again and visit site roles too not assign.

Only when user is visit user/logout and login again - only when he assign drupal role.

How may solve my problem, maybe authorize force when opening the browser

I try change ini_set('session.cookie_lifetime', 2000000); to ini_set('session.cookie_lifetime', 0);
in settings.php but nothing change

pls hlp

sorry for bad english

Comments

andreystrelkov created an issue. See original summary.

grahl’s picture

Hi there

The solution you were working on with the cookie lifetime should solve your problem. Could you try that again and verify that you set that rule setting before logging the user in? Normally, the cookie is only set at login. Could you also verify with developer tools in your browser that the Drupal cookie is indeed set to expire at session?

While it doesn't address your issue directly, you could also write a few lines of custom code which deletes the users session from the sessions table. It's a bit crude but does the trick if you have get rid of a cookie and no control over the end-user.

grahl’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.