Skip to Content.
Sympa Menu

grouper-users - Re: [grouper-users] nullPointerExeption on LDAP_GROUPS_FROM_ATTRIBUTES group

Subject: Grouper Users - Open Discussion List

List archive

Re: [grouper-users] nullPointerExeption on LDAP_GROUPS_FROM_ATTRIBUTES group


Chronological Thread 
  • From: Liam Hoekenga <>
  • To: "" <>
  • Subject: Re: [grouper-users] nullPointerExeption on LDAP_GROUPS_FROM_ATTRIBUTES group
  • Date: Tue, 3 Jan 2017 11:01:33 -0600
  • Ironport-phdr: 9a23:BKtlNxeR8kqi5P9f8r/7/fgilGMj4u6mDksu8pMizoh2WeGdxcuyYB7h7PlgxGXEQZ/co6odzbGH7+a5AidRut6oizMrSNR0TRgLiMEbzUQLIfWuLgnFFsPsdDEwB89YVVVorDmROElRH9viNRWJ+iXhpTEdFQ/iOgVrO+/7BpDdj9it1+C15pbffxhEiCCzbL52Ixi6txjdu8cZjYZmJKs61wfErGZPd+lK321jOEidnwz75se+/Z5j9zpftvc8/MNeUqv0Yro1Q6VAADspL2466svrtQLeTQSU/XsTTn8WkhtTDAfb6hzxQ4r8vTH7tup53ymaINH2QLUpUjms86tnVBnlgzoBOjUk8m/Yl9ZwgbpZrxKvpxJxzY3abpyLOvViZa7deM8WSHBbU8pNSyBMAIWxZJYPAeobOuZYqpHwqV0PrRSkAAmnGeHhyjhWiX/1w6I61eshHhvb1wEnG9IOsW7brNDvNKoJTOC1yajIwinDb/9Mxzjy9ZXIfwknrPqRXrxwadLcxVcuGg/ZjFidrILlMjCO2egRtmWW4PZsWf6yhGMitw59vjyiy8Iph4XXmI4a1lbJ/jhjzokvP923Ukt7bMakEJROsyGaMJN7QsY4TGFpvCY206QGuZ2ncCQTx5Ur2QDTZOCdf4iH5RLjU+mRITNmi35/ZL2/gBOy/VChyu36SMa0zE5HojREn9XQtH0A0hLT58ucRfdh+0qs1iqD2xzO5exBPU84ia7WJpskz7IuiJYcrVzPHirsl0X3iK+WeF8k+u+t6+n/ZrXmp4WTN4puigzlL6Qun82/Dvg4MgQUQWeU5Pm82KX5/ULlWLVKkuE2kq7BvZDVP8QbobO5AxdL3YY58hq/Eiym38oCnXkcN19FfBOHj5P1O1HVPvz0F/a/g1KwkDh13fDGOKPuAonTInTZjrjuYKt9uAZgz195wspY+opZEPQcO//pQWfwssDVFBk0L1byzur6Qp0p2ZkZRHqCGOqEK67IqneJ4P4iOe+BeNVTtTrgfasL/fnr2Fs4kFpVXa6k3pYRZ3nwSvBnKkCDSWfpg9wBV2oGo1xtH6TRlFSeXGsLND6JVKUm62RjBQ==


On Tue, Jan 3, 2017 at 10:16 AM, Liam Hoekenga <> wrote:
I don't /think/ that that's likely?

I checked the LDAP logs and saw that it was set to use "guid" for the subject id (in the group attributes).  Guid is binary in eDirectory, so I see where that would have caused the problems you diagnosed:

2017-01-03 10:08:52,819: [pool-2-thread-12] ERROR LdapSourceAdapter.getLdapResultsHelper(773) -  - Ldap NamingException: unbalanced {: (& (ENTITYID=ÔøΩÔøΩÔøΩx{ÔøΩÔøΩFÔøΩÔøΩÔøΩÔøΩx{ÔøΩ) (OBJECTCLASS=umichPerson))
javax.naming.directory.InvalidSearchFilterException: unbalanced {: (& (ENTITYID=ÔøΩÔøΩÔøΩx{ÔøΩÔøΩFÔøΩÔøΩÔøΩÔøΩx{ÔøΩ) (OBJECTCLASS=umichPerson)); remaining name 'OU=PEOPLE,DC=UMICH,DC=EDU'

Here are the current attributes on the group in grouper:

Inline image 1

I've changed the subject id attribute from GUID to entityID, and when I sync the group, I see this in the LDAP log:

3154217280 LDAP: [2017/01/03 11:41:03.656] (xxx.xxx.xxx.xxx:57588)(0x0003:0x63) Search request:
base: "ou=People,dc=umich,dc=edu"
scope:2  dereference:3  sizelimit:0  timelimit:0  attrsonly:0
filter: "(|(umichInstRoles=FacultyAA)(umichInstRoles=StudentAA))"
attribute: "entityid"
attribute: "umichInstRoles"
attribute: "mail"
3154217280 LDAP: [2017/01/03 11:41:03.656] (xxx.xxx.xxx.xxx:57588)(0x0003:0x63) nds_back_search: Search Control OID 2.16.840.1.113730.3.4.2
3154217280 LDAP: [2017/01/03 11:41:03.677] (xxx.xxx.xxx.xxx:57588)(0x0003:0x63) Sending search result entry "uid=auser,ou=People,dc=umich,dc=edu" to connection 0x27c48000
3154217280 LDAP: [2017/01/03 11:41:03.677] (xxx.xxx.xxx.xxx:57588)(0x0003:0x63) Sending search result entry "uid=buser,ou=People,dc=umich,dc=edu" to connection 0x27c48000
...
3154217280 LDAP: [2017/01/03 11:41:03.677] (xxx.xxx.xxx.xxx:57588)(0x0003:0x63) Sending search result entry "uid=yuser,ou=People,dc=umich,dc=edu" to connection 0x27c48000
3154217280 LDAP: [2017/01/03 11:41:03.677] (xxx.xxx.xxx.xxx:57588)(0x0003:0x63) Sending search result entry "uid=zuser,ou=People,dc=umich,dc=edu" to connection 0x27c48000


But then get this error:

Error updating group via loader
java.lang.NullPointerException: Problem with ldap conection: mcommDir, Error querying ldap server id: mcommDir, searchDn: ou=People,dc=umich,dc=edu, filter: '(|(umichInstRoles=FacultyAA)(umichInstRoles=StudentAA))', returning subject attribute: entityid

I haven't made any changes to the sources.xml that I directly to Chris.  I've attached the trace log.

thanks!
Liam

Attachment: grouper_error.log.2.gz
Description: GNU Zip compressed data




Archive powered by MHonArc 2.6.19.

Top of Page