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: "Hyzer, Chris" <>
  • To: Liam Hoekenga <>, "" <>
  • Subject: RE: [grouper-users] nullPointerExeption on LDAP_GROUPS_FROM_ATTRIBUTES group
  • Date: Tue, 3 Jan 2017 17:16:09 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:i8fulRYkP1KXHNQm5+WqELr/LSx+4OfEezUN459isYplN5qZrs6zbnLW6fgltlLVR4KTs6sC0LuK9fm7Ej1eqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjSwbLd9IRmssAncuMYajI9jJ60s1hbHv3xEdvhMy2h1P1yThRH85smx/J5n7Stdvu8q+tBDX6vnYak2VKRUAzs6PW874s3rrgTDQhCU5nQASGUWkwFHDBbD4RrnQ5r+qCr6tu562CmHIc37SK0/VDq+46t3ThLjlTwKPCAl/m7JlsNwjbpboBO/qBx5347Ue5yeOP5ncq/AYd8WWW9NU8BMXCJDH4y8dZMCAeofM+hFs4nzqVgArRW8CgmtGOzgxSRFhmXq0aEmyektDR3K0Q4mEtkTsHrUttL1NKIKXOy7zqfJzTTCYO1M2Tvl9YPFbBAhoeuNXbJrf8ba1E4iFwbZgVWQqY3kPi2a1v4Wvmia9OpvSfiji3M/qw5vpDivwN0ghZfUiYII013J8zhyzoUtJdCgVkJ3fN+pHIFeui2ELYd6X8AvT31ytCs1zrAKoYO3cSYWxJg9wxPTduaLf5aV7h/nTuqdPDV1iXNjdbminRi961Kgxff5VsSs0FZFsC5Fkt7Uu34VyxHd7dSLR/Vk8kq82zmDyRnf6uZfLk8qj6bbLIMhwqIrmZoUrETDGDL5lF/ujK+McUUk5van5Pj7YrXnoZ+cMZV4igbjMqQynsy/BuM4MgsUU2eH/uS80aXv/Uz/QLpUkv07irfVvI3bKMgBqKO1HRVZ3psg5hqjFTur39AVkWECLF1feRKHi4bpO0vJIPD9Ffq/hkijkDdrxvHHILLhGI7ALnnYkLj9Z7p99lZcxxQ1zdBZ/Z5bFKwOIO/rVk/rqNPYFgM5MxCzw+v/B9V9zIQeWX+XAqCHKqPeqEKI5vkxLOmWf48YozL9K/k+5/7yln81h0URfaiv3ZsLdn+4BPJmLFuFYXbymNsOD3oFvhdtBNDt3XmDWDsbR3G/XK866ThzXIanBILZbp2ogbeBmiq3A8sSLipJEFeRCXryMpifVu0XQCOUPsJ7lDEYD/6sR5JrnUWhrgjn07d9a/fP9zcDnZPlyNVv4eDPz1c/+SEiXOqH1GTYBUFljG4SA3cd3Lp+ugY1nlKI0blqjuZwFMdYoe5RXwE8c5PQ0ropWJjJRgvdc4LRGx6dSdK8DGR0F4ppzg==
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

Do all entities have the attribute “entityid”   ?   seems like one doesn’t…

 

From: [mailto:] On Behalf Of Liam Hoekenga
Sent: Tuesday, January 03, 2017 12:02 PM
To:
Subject: Re: [grouper-users] nullPointerExeption on LDAP_GROUPS_FROM_ATTRIBUTES group

 

 

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




Archive powered by MHonArc 2.6.19.

Top of Page