grouper-users - Re: [grouper-users] Re: PSPNG issue [DN-Searching, PSPNG Patch #16]
Subject: Grouper Users - Open Discussion List
List archive
- From: "Bee-Lindgren, Bert A" <>
- To: "" <>
- Cc: Grouper Users <>
- Subject: Re: [grouper-users] Re: PSPNG issue [DN-Searching, PSPNG Patch #16]
- Date: Sun, 3 Sep 2017 02:19:32 +0000
- Accept-language: en-US
- Authentication-results: spf=none (sender IP is ) ;
- Ironport-phdr: 9a23:qP4AvBSkoN0w20mnsDmf6Zr2rdpsv+yvbD5Q0YIujvd0So/mwa67ZhGDt8tkgFKBZ4jH8fUM07OQ6PGwHzRYqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjSwbLdxIRmssQndqtQdjJd/JKo21hbHuGZDdf5MxWNvK1KTnhL86dm18ZV+7SleuO8v+tBZX6nicKs2UbJXDDI9M2Ao/8LrrgXMTRGO5nQHTGoblAdDDhXf4xH7WpfxtTb6tvZ41SKHM8D6Uaw4VDK/5KpwVhTmlDkIOCI48GHPi8x/kqRboA66pxdix4LYeZyZOOZicq/Ye94RWGhPUdtLVyFZAo2ycZYBD/YPM+hboYnypVoOogexCgS3Huzj1iNEi2Xq0aEmzugsFxzN0gw6H9IJtXTZtNv5OboMXu+r1aXGyzTDb/VL1jfy8ojHbBYhremRVr9tb8XR01UvHB7Zg1metIfoOCia2foXs2iH9eZvTvyghHA+pwF1ozivwNojiobTho0LzFDJ7iJ5wIcpJdGiR050e8KkH4VMuCGaLYd5XN4tQ3xxtSs817YIt5m7fC0Qx5QmwR7Sc/6Hc4+T7RL5SeaRJyx4hHJ7d7K7gxa+61KgyvDkWsm7ylZKqTdFksHSuXAXzRDc8NCHSuNl8keg3zaPyx7c6vtCIU8qiarXNYQtzaAtmZoOqUjDGC/3mFjsgKCIa0ok5/Ck6/n9brr4u5CcKpd4ig7kMqQph8y/Gfo3MhIUU2id4+u80aPs8VX2QLVLkv02krTZv4vAKcsHoa65BhdZ0ok56xa4EjemyM4UnX8dI1JAZh2Ll47pOlHTIPziF/uwnUmjkCpzy/HGI73tGIvCIWXekLrnYL1z6FZcxRItwd9F+55YF7QMLO/uVkPssdHYABA0PxCoz+viBtVyyIwTVGaKD6KcMq7er12F6voxL+SNeYMZpDPwJ+Uq6vPtiHI1hFEdcbW30ZYSdXy1EOhqL1icbHfinNsMHmQHsw8+QeHoiFCPUTteanmwUq8z+z02DZ+qDYneSo2phrGKwT21EYdMZm9cD1CBCXfoeJuAW/cLcC+cOtNsnDsYWbWvUoMv2xaguQHjx7pgNeXb5DcUtZX+1Nhp/OLTkgwy9TppAMiHy2GNVWZ0nn8WSDAqwKB/oEt9ylGZ3ah/nvxYCdhT5/ROUgc5L5LT0+t6C9XqVgLAeNeGVkqmT824DT4rUt493toDb1tgF9m/ix3D0SWnD6MJm7GOCpw77K3R0nz0Kst4yXvKyqssg0EjQsRVNG2mgqB/9xLUB47Mi0iWjLildb4A3CLX72iM03SBsFhcUA5xV6XKQH8fZlHIotT//U7CSL6uCag9PgtO08GCNrVFZcHpjVlcWvjsJcneb3qrm2isHRaI2q+MbI3ydmUSxiXdD1UEkxgN8nacLAQ+GzyhrHzEDDx1Dl/vZ0Ls8fJiqHOgUEM41QCKb0t917Wr4B4Vg+KTS+8N0r4epigutih0Tx6B2IecCceEpg1JerRBJ94x/R0PgWDEsw16FpqxMuZvikNIICptuEa7nT96B8BkkM4mo2knyk46A6+CzBtoPXvM153qJvvdJ2S3+BGpZ6HM11f219eKvKgG9PkzqxPusBz/RRlqyGluz9QAiyjU3Z7NFgdHFMupCks=
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
Julio, Thanks again for the logging details!
PSPNG Patch #16 adds some optional parameters to utils.bushyDn( ):
Old parameters (that continue to work, of course):
utils.bushyDn(group.name,"cn","ou")
New parameters:
utils.bushyDn(group.name,"cn","ou", performRdnEscaping, performLdapEscaping)
(The default values for these are performRdnEscaping=true, performLdapEscaping=false)
I think that your NYU configuration will benefit from false/false for these settings, particularly if the second ldap search I asked about earlier works.
Please let us know what happens!
--Bert
From: <> on behalf of Bee-Lindgren, Bert A <>
Sent: Saturday, September 2, 2017 7:28 PM To: Cc: Grouper Users Subject: Re: [grouper-users] Re: PSPNG issue Julio,
I've been racking my brain and test harness on this. My best idea is that the entrydn search filter on your ldap server flavor is actually looking to match the backslash in the dn.
To verify this, I could use your help in trying a couple ldap searches:
[Theoretically, this duplicates what pspng is doing and will not return the group]
and (without escaping)
entryDN=cn=This_-_is_Not,_Vanilla20,ou=test,o=nyu.edu,o=nyu
[My idea is that this will work]
Now, running the first search from a command-line ldapsearch command will require the filter to be in quotes to protect the backslash from the shell.
In the meantime, I'm going to package a patch with a bushyDn function that will enable escaping controls.
Thank you, Bert
From: Julio Macavilca <>
Sent: Thursday, August 17, 2017 10:42 AM To: Bee-Lindgren, Bert A Cc: Grouper Users Subject: Re: [grouper-users] Re: PSPNG issue I ended up turning the log level to debug as some of the debugging lines applied in the patch are set at this level. When I grep for "enableBulkGroupSearching" in grouper_error.log, I see that the config is being read:
Or
The debug lines added in GRP-1588 display when I create a "vanilla" group (without the need for scape chars) then I can see these lines, with or without members in int.
Here I create a group with no members in it that requires escape characters and it is successful:
But this debug line below did not print out in the logs as is the case above:
So, creating a group with no members requiring escape chars is successful but when I go back 10 minutes later to add a member, that's when it fails as it tries to create the group again, see below before it throws LDAP 68 and changelog consequently stuck.
2017-08-16 15:16:52,161: [DefaultQuartzScheduler_Worker-10] DEBUG Provisioner.shouldGroupBeProvisioned(1318) - - pspng_ldap: Group test:This_-_is_Not,_Vanilla21 matches group-selection filter.
thanks,
On Thu, Aug 10, 2017 at 4:32 PM, Julio Macavilca
<> wrote:
|
- Re: [grouper-users] Re: PSPNG issue, Bee-Lindgren, Bert A, 09/02/2017
- Re: [grouper-users] Re: PSPNG issue [DN-Searching, PSPNG Patch #16], Bee-Lindgren, Bert A, 09/03/2017
- Re: [grouper-users] Re: PSPNG issue [DN-Searching, PSPNG Patch #16], Julio Macavilca, 09/06/2017
- Re: [grouper-users] Re: PSPNG issue [DN-Searching, PSPNG Patch #16], Bee-Lindgren, Bert A, 09/06/2017
- Re: [grouper-users] Re: PSPNG issue [DN-Searching, PSPNG Patch #16], Julio Macavilca, 09/06/2017
- Re: [grouper-users] Re: PSPNG issue [DN-Searching, PSPNG Patch #16], Bee-Lindgren, Bert A, 09/06/2017
- Re: [grouper-users] Re: PSPNG issue [DN-Searching, PSPNG Patch #16], Julio Macavilca, 09/06/2017
- Re: [grouper-users] Re: PSPNG issue [DN-Searching, PSPNG Patch #16], Bee-Lindgren, Bert A, 09/06/2017
- Re: [grouper-users] Re: PSPNG issue [DN-Searching, PSPNG Patch #16], Julio Macavilca, 09/06/2017
- Re: [grouper-users] Re: PSPNG issue [DN-Searching, PSPNG Patch #16], Bee-Lindgren, Bert A, 09/17/2017
- Re: [grouper-users] Re: PSPNG issue [DN-Searching, PSPNG Patch #16], Julio Macavilca, 09/19/2017
- Re: [grouper-users] Re: PSPNG issue [DN-Searching, PSPNG Patch #16], Julio Macavilca, 09/06/2017
- Re: [grouper-users] Re: PSPNG issue [DN-Searching, PSPNG Patch #16], Bee-Lindgren, Bert A, 09/06/2017
- Re: [grouper-users] Re: PSPNG issue [DN-Searching, PSPNG Patch #16], Julio Macavilca, 09/06/2017
- Re: [grouper-users] Re: PSPNG issue [DN-Searching, PSPNG Patch #16], Bee-Lindgren, Bert A, 09/06/2017
- Re: [grouper-users] Re: PSPNG issue [DN-Searching, PSPNG Patch #16], Julio Macavilca, 09/06/2017
- Re: [grouper-users] Re: PSPNG issue [DN-Searching, PSPNG Patch #16], Bee-Lindgren, Bert A, 09/03/2017
Archive powered by MHonArc 2.6.19.