Aha! Figured it out after reading your email. It's a case sensitivity thing.
I logged into XWiki as "pgardell". LDAP returned "Pgardell". XWiki
created the entry in XWikiAllGroup as "XWiki.Pgardell". I guess it
was comparing "Pgardell" with "pgardell" and some of the code worked,
while some did not. When I log in as "Pgardell", everything works
perfectly. Does this ring a bell with any of the developers?
I verified this with another user, and it worked perfectly the first
time. They logged in with the first letter capitalized, it created
the account and added it once to the XWikiAllGroup.
Short term fix on my part would be to put in JavaScript to capitalize
the first letter. Long term fix will be to look at the source code
and figure this out. That may be a while, unfortunately.
Thanks for the help everyone!
Patrick
On Nov 16, 2007 11:33 AM, Paul Grodt <pgrodt(a)tecore.com> wrote:
I can confirm that I had this same symptom when I was
trying to use
LDAP. I didn't bother to check debug logs, but users with LDAP accounts
could not log in until I explicitly added their user name to the
XWikiAllGroup. I had assumed this was due to turning up the Access
control such that a Guest user did not have permission to do anything
but login. But I was too busy to investigate further.
Unfortunately, for the time being, I've been forced to give up on LDAP
authentication. I'm now manually registering users.