History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: GRAILS-2958
Type: Bug Bug
Status: Resolved Resolved
Resolution: Duplicate
Priority: Major Major
Assignee: Graeme Rocher
Reporter: Jakub W. Jozwicki
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Grails

[grails-acegi] Missing 'searchSubtree = conf.ldapSearchSubtree' inside ldapAuthoritiesPopulator

Created: 16/May/08 04:44 AM   Updated: 16/May/08 01:05 PM
Component/s: Plugins
Affects Version/s: 1.0.1
Fix Version/s: None

Time Tracking:
Not Specified

Environment: W2K3 AD


 Description  « Hide
Code setting searchSubtree for ldapAuthoritiesPopulator is missing, so it is not possible to get groups for LDAP user.
The file is AcegiGrailsPlugin.groovy.


if (conf.ldapRetrieveGroupRoles) {
ldapAuthoritiesPopulator(DefaultLdapAuthoritiesPopulator, ref('contextSource'), conf.ldapGroupSearchBase) { groupRoleAttribute = conf.ldapGroupRoleAttribute groupSearchFilter = conf.ldapGroupSearchFilter + searchSubtree = conf.ldapSearchSubtree }
ldapAuthProvider(LdapAuthenticationProvider, ref('ldapAuthenticator'), ref('ldapAuthoritiesPopulator')) { userDetailsContextMapper = ref('ldapUserDetailsMapper') }
}



 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Jakub W. Jozwicki - 16/May/08 01:05 PM
Moved to GRAILSPLUGINS-372 in Grails-Plugins -> Grails Acegi