Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] plus signs in email addresses

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] plus signs in email addresses


Chronological Thread 
  • From: "Black, Carey M." <>
  • To: Ben Beecher <>, "" <>
  • Subject: RE: [grouper-users] plus signs in email addresses
  • Date: Wed, 14 Jun 2017 14:23:11 +0000
  • Accept-language: en-US
  • Authentication-results: spf=pass (sender IP is 128.146.163.16) smtp.mailfrom=osu.edu; columbia.edu; dkim=none (message not signed) header.d=none;columbia.edu; dmarc=pass action=none header.from=osu.edu;
  • Ironport-phdr: 9a23:M9MjtxZJ2CY68eW9Mm/dYID/LSx+4OfEezUN459isYplN5qZpsyyYx7h7PlgxGXEQZ/co6odzbGH7Oa/BCdfvt6oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCzbL52Lhi6twfcu8kZjYZgKKs61wfErGZPd+lK321jOEidnwz75se+/Z5j9zpftvc8/MNeUqv0Yro1Q6VAADspL2466svrtQLeTQSU/XsTTn8WkhtTDAfb6hzxQ4r8vTH7tup53ymaINH2QLUpUjms86tnVBnlgzocOjUn7G/YlNB/jKNDoBKguRN/xZLUYJqIP/Z6Z6/RYM8WSXZEUstXSidPAJ6zb5EXAuQBI+hWspX9qVUNoxuwBwasBf/gxTBTi3DswaE31/4sHR3a0AEiGd8FrXTarM/yNKcXSe25wrTFzTHZYPxK2jfx8JXDfw47rvGWQ71xcdfax041Gw/Lk16drpfqPzeP2esRsGiX9fdsWfyhhmM8rAFxuSWvyt0yhYbUm4IY01bJ/jh3zoYyIN23Uk97Ydi8HZpetiGaNIp2Qts8TG51uSY10KcKuZmhfCgF0JgnyATfa/uac4iQ/B3jTvydLi1ghHJ9YL6/hRGy/lO6yu3hUMm0y1ZKoTRBktnIrHwNzQHT6s6fRvt84EihxTiP2xrU6uFeLkA5k7fQJZ05wrMoi5YfrUvOEjX5lUj0lqObeEcp9vK15+j5Y7jqvp2ROoBuhg3jPakihtazDOomPgQUW2WX5/yw1LP98kD6XLlHi/g7n6nFv5/GK8QWo7C1DgBU34k+7huyADer3dYWkHQCMF1KYwmIgJLvNlrTOv73F+2/jE6pkDpzx/DJILnhApLVI3bbjLrveqpx51BFxActz99T+otYCrYaL/3tQEPxs8HYDgMiPAyz3ubnDshy2pkGWWKVBa+ZLL3dvkOU5uIuJOmMYpUZuDHgK/g54/7uing5mVwHcaa12psXbWi0HvVgI0qHfXrhmsoNHXsFswYkQ+HnikeOXDBRanqoQq4w+DA2BJqjDYjZR4CthLKB3D28Hp1Tfm1JEVSMHm30eIWHQfsAdTyeL8F6nzwDTrihVpUt2g+zuw/n07ZnNPbb+jUEtZL/09h4/+LTlQs19TxpF8SSzXuNQ3hpnmMTWTA2xrt/rFd5yleCyqh4n+dYGcJJ6/NIVAc6KYDTz/Z8C9/sRgLNYM2FR0i7TdW7UnkNSYcbztlGSUtwENWvlFiX1SenCL8YjZSAA5gp96jd1j78K9srjz6M27MmkkErWI5SLmC8nYZ+8RTeHYjEjx/fmqq3P+xI0zTK6X+O1y+Tp0xCSyZxV7nIR3YSehGQoNjksBDsVbirXP4NNgJKyorKAaJQZ8yhqBMMDKPpPN3VYCTowTyYAg2VgL6Acdy5KC0mwCzBBR1cwEgo9nGcOF17X3/5rg==
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

I would express this as:

 

Bug: “Grouper” (all components) may not support the RFC for email addresses properly.

 

                Which to be fair, can be a surprisingly difficult task. Given the complexity in the definition of the allowed data formats/content rules.

                But one that I always think is “doing it the right way”. J

 

                REF: https://tools.ietf.org/html/rfc5322#section-3.4.1

                REF: https://en.wikipedia.org/wiki/Email_address#Local-part

 

( so +1 for fixing it so that all valid email addresses a useable.)

 

 

 

But to pick at your report a bit… ( I know next to nothing about PSP / NGPSP yet )

 

The error I see is this:  “[LDAP: error code 21 - member: value #0 invalid per syntax]},

                The value that is being sent appears to be “Reference[toPsoID=PSOIdentifier[id='mail=',targetID=ldap,containerID=<null>],type=member]'

                                That “[id='mail=” part looks “odd” to me. NOTE there is not a comma between the “id=” and ‘mail=   So the id value starts with ‘mail= . Which seems wrong to me.

                Which is also returning “={[LDAP: error code 32 - No Such Object]}”.

 

It sounds like your LDAP system is refusing to add a membership to an object that it cannot find.

Is the problem with how the membership is being resolved to the ldap user?

 

--

Carey Matthew

 

From: [mailto:] On Behalf Of Ben Beecher
Sent: Wednesday, June 14, 2017 9:59 AM
To:
Subject: [grouper-users] plus signs in email addresses

 

We have external users who are identified by email address. If the email address contains a plus sign we have two problems:

 

(1) The user interface gives "Error: cannot find subject" when we click on the external user. To fix this Grouper would need to URL encode the plus sign in the HREF link (change plus to %2B).

 

(2) PSP gives an error code 21 when it tries to write this group member to the LDAP database:

 

2017-06-09 13:47:00 ERROR PspChangeLogConsumer:504 - PSP Consumer 'psp' - An error occurred processing sequence number 300278513

edu.internet2.middleware.psp.PspException: SyncResponse[id=cu:app:maillist:slate-inbox,status=failure,error=customError,errorMessages={[LDAP: error code 21 - member: value #0 invalid per syntax]},requestID=2017/06/09-13:47:00.066,AddResponse[pso=<null>,status=failure,error=customError,errorMessages={[LDAP: error code 21 - member: value #0 invalid per syntax]},requestID=2017/06/09-13:47:00.162]]

        at edu.internet2.middleware.psp.grouper.PspChangeLogConsumer.executeSync(PspChangeLogConsumer.java:305)

        at edu.internet2.middleware.psp.grouper.PspChangeLogConsumer.processGroupAdd(PspChangeLogConsumer.java:665)

        at edu.internet2.middleware.psp.grouper.PspChangeLogConsumer$EventType$3.process(PspChangeLogConsumer.java:103)

        at edu.internet2.middleware.psp.grouper.PspChangeLogConsumer.processChangeLogEntry(PspChangeLogConsumer.java:572)

        at edu.internet2.middleware.psp.grouper.PspChangeLogConsumer.processChangeLogEntries(PspChangeLogConsumer.java:499)

        at edu.internet2.middleware.grouper.changeLog.ChangeLogHelper.processRecords(ChangeLogHelper.java:245)

        at edu.internet2.middleware.grouper.app.loader.GrouperLoaderType$4.runJob(GrouperLoaderType.java:652)

        at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.runJob(GrouperLoaderJob.java:418)

        at edu.internet2.middleware.grouper.app.loader.GrouperLoaderJob.execute(GrouperLoaderJob.java:318)

        at org.quartz.core.JobRunShell.run(JobRunShell.java:202)

        at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:573)

2017-06-09 13:48:00 ERROR PspChangeLogConsumer:504 - PSP Consumer 'psp' - An error occurred processing sequence number 300278528

edu.internet2.middleware.psp.PspException: edu.internet2.middleware.psp.PspNoSuchIdentifierException: Psp 'psp' - Has reference from 'PSOIdentifier[id='cn=cu:app:maillist:slate-inbox,ou=Groups,ou=Grouper,o=Columbia University,c=US',targetID=ldap,containerID=<null>]' to 'Reference[toPsoID=PSOIdentifier[id='mail=',targetID=ldap,containerID=<null>],type=member]' SearchResponse[psos=0,status=failure,error=noSuchIdentifier,errorMessages={[LDAP: error code 32 - No Such Object]},requestID=2017/06/09-13:48:00.092]

 

 

Can these problems be fixed so that plus signs are handled correctly in the email address or do we need to remove these external users from our Grouper database?

 

Ben




Archive powered by MHonArc 2.6.19.

Top of Page