This question about LDAP: Answered
Some users not having user profiles created
Hi Guys
I've got a bit of a conundrum. There's about 4 users who can't create user-profiles for themselves in the wiki, so they can't log in. I'm checking the Users web and I can see that other users are able to be created without a problem.
I'm using the LDAPContrib to synchronise with AD. There doesn't seem to be any errors in the error.log relating to his, apart from a repeating "Max recursive depth reached: %NOREGISTRATION%", however that has been occurring for some time without causing a problem. I've done some comparisons of AD user accounts and I can't see any major differences between those who can log in and those who can't.
Not sure where to go from here - can you make any suggestions?
--
WilliamMorgan - 22 Feb 2015
To fix the max recursion problem you will have to set
$Foswiki::cfg{Register}{AllowLoginName} = 1;
.
In a setting using
LdapContrib you'd normally also install
NewUserPlugin so that they get created automatically the first time they log in.
A user profile should never be the reason why people are blocked from being logged in. There simply is no code to "achieve" this.
The only case when a user profile page won't be created automatically using NewUserPlugin is when their WikiName - as configured via
$Foswiki::cfg{Ldap}{WikiNameAttribute}
won't make up a proper
WikiWord.
--
MichaelDaum - 23 Feb 2015
Thanks Michael. We have the
NewUserPlugin installed as well and it's working for most people, but I can't figure out why it's not working for these few.
Can you tell me where I'd to to set $Foswiki::cfg{Register}{AllowLoginName} = 1;.
--
WilliamMorgan - 23 Feb 2015
Actually... don't worry I just found it.
--
WilliamMorgan - 23 Feb 2015
To be a good community member: It's under the Configure page- Security and Authentication - Registration tab. : )
--
WilliamMorgan - 23 Feb 2015