Tags:
create new tag
view all tags

SID-01120: Cant login if users have identical name and surname

Status: Answered 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

      Change status to:
ALERT! 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.
SupportForm
Status Answered
Title Cant login if users have identical name and surname
SupportCategory LdapContrib
TWiki version 5.0.1
Server OS CentOS 5.5
Web server Apache 2.2.3
Perl version Perl 5.8.8
Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r2 - 2011-03-02 - TomaszWalaszek
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.