SID-02370: LdapContrib, One username not importing correctly
| Status: |
Asked |
TWiki version: |
6.0.2 |
Perl version: |
5.16.3 |
| Category: |
LdapContrib |
Server OS: |
CentOS 7, 3.10.0-514.16.1.el7.x86_64 |
Last update: |
7 years ago |
Hello,
LdapContrib has been working great with the exception of one user. For some reason, when this users name gets cached, it gets messed up.
Their username format is
firstname.three_part_lastname@domainPLEASENOSPAM.com
We have other users with
firstname.twopart_lastname@domainPLEASENOSPAM.com and those ones work fine.
However, the user with the 3 part last name gets corrupted when cached. When i do a db_dump of cache.db and grep the users name i find a bad entry firstname.three\part_lastname@domain.com under "UNKNOWNGROUPS". Notice the slash in that one. I'm assuming this is somehow blocking her access.
When i check the TWiki warning logs, i find the below warnings. There is an odd symbol replacing the _par part of their name.
| 2018-08-06 - 21:27:05 | (TWiki::Contrib::LdapContrib)
LdapContrib - no result looking for group <b>firstname.threeÞr_lastname@domain.com</b> in LDAP (groupAttribute cn). Adding group to ignore list. (10.252.3.7/ssoid/Main.TWikiGroups/LdapContrib.pm:2184)
I've deleted the cache.db and rebuilt it, but the results are the same.
However, if I create an ldap query on a topic to pull users and groups her name shows up correctly there.
Note, that this was a conversion from using
TWikiUsers to LDAP. I've
PreserveTWikiUserMapping and Normalized the Wiki Names.
--
Christopher Crowe - 2018-08-06
Discussion and Answer
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.