grouper-users - [grouper-users] RE: LDAP Loader and AD ranged attributes
Subject: Grouper Users - Open Discussion List
List archive
- From: "Hyzer, Chris" <>
- To: "Redman, Chad Eric" <>, grouper-users <>
- Subject: [grouper-users] RE: LDAP Loader and AD ranged attributes
- Date: Thu, 26 Jan 2017 07:38:19 +0000
- Accept-language: en-US
- Authentication-results: spf=none (sender IP is ) ;
- Ironport-phdr: 9a23:jIBtPxWp9Ao96DkRIGKAp5ZTbyDV8LGtZVwlr6E/grcLSJyIuqrYZRSHuadThVPEFb/W9+hDw7KP9fuxBSpdvd3Y6S1KWacPfidNsd8RkQ0kDZzNImzAB9muURYHGt9fXkRu5XCxPBsdMs//Y1rPvi/6tmZKSV3wOgVvO+v6BJPZgdip2OCu4Z3TZBhDiCagbb9oIhi7qQrcutMWjIZtJao91wbFr3tVcOlK2G1kIk6ekQzh7cmq5p5j9CpQu/Ml98FeVKjxYro1Q79FAjk4Km45/MLkuwXNQguJ/XscT34ZkgFUDAjf7RH1RYn+vy3nvedgwiaaPMn2TbcpWTS+6qpgVRHlhDsbOzM/7WrakdJ7gr5Frx29phx/24/Ub5+TNPpiZaPWYNcWSXNcUspNSyBNB4WxZJYNAeUcJ+ZVt4nzqUUToxuiCweiB+3vxT1JhnDq0qI3yP4uHR3a0AE6A94CrGrYodPoP6kSS+C1y6zIwC3NY/1U2Tb86ZbHcgo5rfqRQ79wcdDRyUg0Fw/Lk16dronlMC+V1uUNsmmU8fBgWPmui248tw59uCWvxt8yhYnPgIIZ0E7L+jhkwIssI9CzVUB1YdmhEJRKtiGaMZN7QswlQ2FvtyY6zqMJtYSncygNzZQqwQPUZf+fc4WQ/B7sTvqdLSp9iX54Zb6zmhO/8Uavx+HgSsW51VRHoTRKn9TDs30A0gLf5tSGR/dl40us1yqD2xrX5+1ZO0w4i7fXJpo7zrItlJcesELOFTLslkrslq+ZbEAk9/Co6+v5ZrXmoYeROZdohw/5LqgihNWzD/kgPAQTRmSb/v+z26P58U3+XbVKkuY5kq7EsJDcOMsXvLa5AxVS0oY/9RmwEyum0NUfnXkBNl5Ffw+Hj5TtO1HJJ/D4Du2zjEirkDdu3/zGP7vhDYvRLnXbjrvuZ6px51NZxQYu0NxT+pdZCr8OLf7vRkP8sd7VAQE2PgG7xuvqDctx2p8fVG6XB6+WKqLSsVuG5uI1JOmMYZcYuDPhJPgl5//vjGE2mUUGcKmoxpsYdGq0Hul+I0qHZ3rshM0NHnkXsQojVODqkkGNUSZPZ3auWKIx/j47CJihDYfeXoCinqaB0D6mHp1NeG9GEEuMHGzsd4WFQPcMdDmSLtF7njwFU7ihV5Eu1QuotADk17prMPDY9TMFupL+h5BJ4LiZrxw+8DVyS4y202iBB0xun2hCD2s93KlzllZwxlKK14BlhfceGNBOsbcBXR09KIbR1alnEN3oQUqVcc2OVU6rWJC7GjwrVfowxcMDeUBwB4/kgxzeiXmEGbgQwvarFY456OaU9HjrJt03gyLD36kwnVQ8aspUPiu7nqN58U7eC5OfwBbRrLqjaalJhH2Fz2yE12fb+RgACAM=
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Thanks for the contribution Chad. I modified it slightly (please review), and put it in patch api 2.3.0 #50 Regards Chris From: [mailto:]
On Behalf Of Hyzer, Chris Yes please for pull request From: []
On Behalf Of Redman, Chad Eric Hi, We have some LDAP loader jobs that query AD for subjects. An issue we found when going to production was that our AD source returns a ranged attribute for a membership fields when there are over 1500 members. What this means is that the
attribute returned from the query is not "member" but "member;range=0-1499". The client is then expected to do further queries to get the rest of the members, e.g. "member;range=1500-*" and so on. The closest mention I could find for this problem was a 2009 post mentioning a custom result handler for LDAPPC that could handle ranged results. We applied a similar solution to the LDAP Loader. We created a custom RangeSearchResultHandler
class (based on the one from
https://code.google.com/archive/p/vt-middleware/wikis/vtldapAD.wiki#Range_Attributes) to handle the non-standard attribute label and the loop to get the results. The vt-ldap config has an option (searchResultHandlers) for a multi-valued list of search result
handler classes. However, we needed to patch the Grouper code so that it could handle a new ldap.*.searchResultHandlers property in the grouper-loader.properties file and pass it on the LDAP config. Has anyone come across the same issue in getting large result sets from AD? Has this already been solved? I tried the other recommended methods of setting pagedResultsSize, referral, and/or batchSize, with no success. From a debug session,
it looks like they all fail to account for "member;range=0-1499" really being the member field. I can put a pull request together, if this is something useful outside of our own installation. -Chad |
- [grouper-users] LDAP Loader and AD ranged attributes, Redman, Chad Eric, 01/24/2017
- Re: [grouper-users] LDAP Loader and AD ranged attributes, Rob Gorrell, 01/24/2017
- [grouper-users] RE: LDAP Loader and AD ranged attributes, Hyzer, Chris, 01/24/2017
- [grouper-users] RE: LDAP Loader and AD ranged attributes, Hyzer, Chris, 01/26/2017
- [grouper-users] RE: LDAP Loader and AD ranged attributes, Redman, Chad Eric, 01/26/2017
- [grouper-users] RE: LDAP Loader and AD ranged attributes, Redman, Chad Eric, 01/26/2017
- [grouper-users] RE: LDAP Loader and AD ranged attributes, Hyzer, Chris, 01/26/2017
- [grouper-users] RE: LDAP Loader and AD ranged attributes, Redman, Chad Eric, 01/26/2017
- [grouper-users] RE: LDAP Loader and AD ranged attributes, Hyzer, Chris, 01/26/2017
Archive powered by MHonArc 2.6.19.