Hi, just testing the LDAP integration on a development build (head). I do manage to authenticate against my LDAP server and I'm logged in afterwards, but the username is not displayed (only: $docuser.display("first_name", "view", $objuser)) and somehow I'm not really "logged in". I don't have the permissions I normally have, when I'm a logged in user. Do I have to do anything extra for the LDAP integration? Do I have to create each user which exists in ldap also in the xwiki db? (this apparently works..) Below my xwiki.cfg Christian xwiki.cfg for ldap: xwiki.authentication.ldap=1 xwiki.authentication.ldap.server=enron xwiki.authentication.ldap.check_level=1 xwiki.authentication.ldap.base_DN=dc=LogicUnited,dc=Com xwiki.authentication.ldap.bind_DN=cn=Manager,dc=logicunited,dc=com xwiki.authentication.ldap.bind_pass=**** xwiki.authentication.ldap.UID_attr=uid xwiki.authentication.ldap.fields_mapping=name=uid,last_name=sn,first_name=givenName,fullname=cn,mail=mail,ldap_dn=dn -- ------------------------------------------ Logic United GmbH Email: leeden@logicunited.com Tel: +49-89-189488-66
It seems the authentication works but the create new user fails.. You should turn debug on in log4j.properties and see what happens in the log file Ludovic Christian van der Leeden a écrit :
Hi,
just testing the LDAP integration on a development build (head). I do manage to authenticate against my LDAP server and I'm logged in afterwards, but the username is not displayed (only: $docuser.display("first_name", "view", $objuser)) and somehow I'm not really "logged in". I don't have the permissions I normally have, when I'm a logged in user.
Do I have to do anything extra for the LDAP integration? Do I have to create each user which exists in ldap also in the xwiki db? (this apparently works..) Below my xwiki.cfg
Christian
xwiki.cfg for ldap:
xwiki.authentication.ldap=1 xwiki.authentication.ldap.server=enron xwiki.authentication.ldap.check_level=1 xwiki.authentication.ldap.base_DN=dc=LogicUnited,dc=Com xwiki.authentication.ldap.bind_DN=cn=Manager,dc=logicunited,dc=com xwiki.authentication.ldap.bind_pass=**** xwiki.authentication.ldap.UID_attr=uid xwiki.authentication.ldap.fields_mapping=name=uid,last_name=sn,first_name=givenName,fullname=cn,mail=mail,ldap_dn=dn
------------------------------------------------------------------------
-- You receive this message as a subscriber of the xwiki-users@objectweb.org mailing list. To unsubscribe: mailto:xwiki-users-unsubscribe@objectweb.org For general help: mailto:sympa@objectweb.org?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
-- Ludovic Dubost XPertNet: http://www.xpertnet.fr/ Blog: http://www.ludovic.org/blog/ XWiki: http://www.xwiki.com Skype: ldubost AIM: nvludo Yahoo: ludovic
participants (2)
-
Christian van der Leeden -
Ludovic Dubost