SID-01120: Cant login if users have identical name and surname
| Status: |
Answered |
TWiki version: |
5.0.1 |
Perl version: |
Perl 5.8.8 |
| Category: |
LdapContrib |
Server OS: |
CentOS 5.5 |
Last update: |
14 years ago |
Hello, I have a big problem with
LdapContrib module on twiki 5.0.1. If in the ldap database there are 2 users with the same Name and Surname (ldap attributes givenName and sn) but with different uid used for login, the login procedure fails, users cant login in. Maybe some would help me with this issue?
--
TomaszWalaszek - 2011-03-02
Discussion and Answer
Hello, I`ve solved the problem... This patch will solve this problem:
908,911c908,911
< #if (defined($wikiNames->{$wikiName})) {
< # $this->writeWarning("$dn clashes with wikiName $wikiNames->{$wikiName} on $wikiName");
< # return 0;
< #}
> if (defined($wikiNames->{$wikiName})) {
> $this->writeWarning("$dn clashes with wikiName $wikiNames->{$wikiName} on $wikiName");
> return 0;
> }
913,916c913,916
< #if (defined($loginNames->{$loginName})) {
< # $this->writeWarning("$dn clashes with loginName $loginNames->{$loginName} on $loginName");
< # return 0;
< #}
> if (defined($loginNames->{$loginName})) {
> $this->writeWarning("$dn clashes with loginName $loginNames->{$loginName} on $loginName");
> return 0;
> }
--
TomaszWalaszek - 2011-03-02
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.