[GeoNetwork-devel] cannot assign user to group

Hi all,

I have followed the privileges configuration here http://geonetwork-opensource.org/manuals/2.10.0/eng/users/admin/authentication/index.html#ldap

ldapUserContextMapper.mapping[privilege]=groups,sample

and when we sign in as a new user from LDAP they are not added to any groups. Is this a bug? Does anyone have the same problem?

Cheers,
Petula Lau
Software Developer
NIWA Auckland

Please consider the environment before printing this email.
NIWA is the trading name of the National Institute of Water & Atmospheric Research Ltd.

Hi,

2013/9/25 Petula Lau <Petula.Lau@anonymised.com>

Hi all,

I have followed the privileges configuration here http://geonetwork-opensource.org/manuals/2.10.0/eng/users/admin/authentication/index.html#ldap

ldapUserContextMapper.mapping[privilege]=groups,sample

and when we sign in as a new user from LDAP they are not added to any groups. Is this a bug? Does anyone have the same problem?

I’ve tested ldap config in a number of LDAP structures without trouble so far, so it should work.
You should turn on debug in
https://github.com/geonetwork/core-geonetwork/blob/2.10.x/web/src/main/webapp/WEB-INF/log4j.cfg
for
log4j.logger.geonetwork.ldap
log4j.logger.org.springframework.security
log4j.logger.org.springframework.security.ldap
and see what the output is.

Cheers.

Francois

Cheers,
Petula Lau
Software Developer
NIWA Auckland

Please consider the environment before printing this email.
NIWA is the trading name of the National Institute of Water & Atmospheric Research Ltd.


October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk


GeoNetwork-devel mailing list
GeoNetwork-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-devel
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork