episerver - AD role provider - caching

Vote:
 

Hi, I am using episerver cms 6 R2 with  AD role provider. I removed certain groups in AD but they are still existing in my episerver site. Seems, there is some caching issue. I even specified like the following my web.config file but didn't help. 

<add name="ActiveDirectoryRoleProvider"
type="EPiServer.Security.ActiveDirectoryRoleProvider, EPiServer"
connectionStringName="ActiveDirectoryProviderConnection"
connectionUsername="xxxx"
connectionPassword="xxxx"
attributeMapUsername="sAMAccountName" cacheTimeout="0:00:10" />

Any help would be appreciated !!

#72680
Jun 26, 2013 15:38
Vote:
 

Hi! Where are they showing up? If they've been added as Access Rights rows in the page tree for instance they will remain there even if they are removed from your Role store (AD in this case). If you look at the group listing in Admin mode they should be gone though.

#72710
Edited, Jun 26, 2013 19:03
Vote:
 

Hi, I checked in the Admin mode, they are not gone. Could there be any caching ?

#72808
Jul 01, 2013 1:16
Vote:
 

What I know the ActiveDirectoryRoleProvider is not caching anything. The only thing involved out of the box is cacheRolesInCookie but that's only in play for the authenticated user. I've once had to implement my own caching in a RoleProvider that inherited most of everything from ActiveDirectoryRoleProvider.

Maybe there's some caching in the other end?

I'd recommend to use the same details and check if you see the groups using a LDAP browsing tool such as Softerra LDAP Browser  http://www.ldapadministrator.com/softerra-ldap-browser.htm

#72814
Jul 01, 2013 9:20
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.