Hi all,
    I created a user with the same user name as LDAP user but different
password, when I log in again, it solves the problem.
    So the problem is no user group is assigned when LDAP user logged
in, which I guess is being addressed
(
http://jira.xwiki.org/jira/browse/XWIKI-1079). Thanks for the effort.
wyz wrote:
  Hi,
    I am a new user of xwiki and new to LDAP too. I modified the
 xwiki.cfg and created a few testing entries in LDAP. Then, I can log
 in with LDAP users and superroot. But with LDAP users, I always see an
 error, which is "You are not allowed to view this document or perform
 this action."
    I searched for solution for quite a while, and I found some others
 also suffer from the same issue. The only clue I get is MAYBE I need
 to import users from LDAP. But the import users from LDAP code from
 xwiki codebase give me another error. (If you want I can paste the
 complete error stack trace). So, could anyone advice on what I should do?
    Thanks a lot