grouper-users - RE: [grouper-users] Multiple searchSubjects in sources.xml
Subject: Grouper Users - Open Discussion List
List archive
- From: Philip Harle <>
- To: "" <>
- Subject: RE: [grouper-users] Multiple searchSubjects in sources.xml
- Date: Mon, 7 Nov 2016 11:48:30 +0000
- Accept-language: en-GB, en-US
- Authentication-results: spf=none (sender IP is ) ;
- Ironport-phdr: 9a23:dFjvhBPFrhkil3bcuiIl6mtUPXoX/o7sNwtQ0KIMzox0KPT7rarrMEGX3/hxlliBBdydsKMezbuK+PqxEUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6anHS+4HYoFwnlMkItf6KuS9SU3pj8jbH60qaQSj0AvCC6b7J2IUf+hiTqne5Sv7FfLL0swADCuHpCdrce72ppIVWOg0S0vZ/or9YwuxhX7rgu7cldSajgOrkjQKZDJDUgL20v4sD371/OQRbFri8TSGILihdSRhXe4Qvhdpb3ribgsOdhgm+XMdCgHp4uXjH316dqTB7wwAcOLTo0uDXPis10jbodoBu7oxFXxYPLa4iOKP5zOKrWO84ZEzkSFv1NXjBMV9vvJ7AECPAMaL5V
- Spamdiagnosticmetadata: NSPM
- Spamdiagnosticoutput: 1:99
I’ve attempted to specify the base as 'DC=campus,DC=ncl,DC=ac,DC=uk’ but this leads to the following error when adding users either
in ‘Campus Users’ or ‘Other Users’ 2016-11-07 10:21:34,882: [main] ERROR LdapSourceAdapter.getLdapResultsHelper(773) - - Ldap NamingException: Unprocessed Continuation
Reference(s) javax.naming.PartialResultException: Unprocessed Continuation Reference(s); remaining name 'DC=campus,DC=ncl,DC=ac,DC=uk' at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2866) at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2840) at com.sun.jndi.ldap.LdapCtx.searchAux(LdapCtx.java:1849) at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1772) at com.sun.jndi.ldap.LdapCtx.c_search(LdapCtx.java:1789) at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(ComponentDirContext.java:412) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:394) at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(PartialCompositeDirContext.java:376) at edu.vt.middleware.ldap.AbstractLdap.search(AbstractLdap.java:215) at edu.vt.middleware.ldap.Ldap.search(Ldap.java:431) at edu.vt.middleware.ldap.Ldap.search(Ldap.java:347) …. For reference
sources.xml was changed to reflect below: <search> <searchType>searchSubject</searchType> <param> <param-name>filter</param-name> <param-value> (&(cn=%TERM%)(objectclass=person)) </param-value> </param> <param> <param-name>scope</param-name> <param-value>SUBTREE_SCOPE</param-value> </param> <param> <param-name>base</param-name> <param-value>DC=campus,DC=ncl,DC=ac,DC=uk</param-value> </param> </search> <search> <searchType>searchSubjectByIdentifier</searchType> <param> <param-name>filter</param-name> <param-value> (&(cn=%TERM%)(objectclass=person)) </param-value> </param> <param> <param-name>scope</param-name> <param-value>SUBTREE_SCOPE</param-value> </param> <param> <param-name>base</param-name> <param-value>DC=campus,DC=ncl,DC=ac,DC=uk</param-value> </param> </search> And ‘OU=Campus Users,’ was removed from
ldap.properties to give the peopleBaseDN as below: edu.internet2.middleware.psp.peopleBaseDn=dc=campus,dc=ncl,dc=ac,dc=uk When the line above is reverted to ‘edu.internet2.middleware.psp.peopleBaseDn=ou=Campus Users,dc=campus,dc=ncl,dc=ac,dc=uk’ the following
expected error is shown in the log when trying to provision users contained in the ‘Other Users’ OU: 2016-11-07 11:38:01,291: [DefaultQuartzScheduler_Worker-6] INFO Psp.execute(983) - - Psp 'psp' - Calc CalcRequest[id=sma11,requestID=<null>,returnData=identifier,schemaEntityRef=SchemaEntityRef[targetID=ldap,entityName=member,isContainer=false]] 2016-11-07 11:38:01,291: [DefaultQuartzScheduler_Worker-6] INFO Psp.execute(987) - - Psp 'psp' - Calc XML: <psp:calcRequest xmlns:psp='http://grouper.internet2.edu/psp' returnData='identifier'> <psp:id ID='sma11'/> <psp:schemaEntity targetID='ldap' entityName='member'/> </psp:calcRequest> Has anyone else tried specifying the peopleBaseDN as the root domain rather than an OU? Thanks, From:
If AD behaves like other LDAP servers, you could specify the base as 'DC=campus,DC=ncl,DC=ac,DC=uk' and change the ACI for the LDAP/AD account you configured Grouper with so that it only has access to the two
branches you want (OU=Campus Users and OU=Other Users) Julio Polo On Fri, Nov 4, 2016 at 1:33 AM, Philip Harle <> wrote:
|
- [grouper-users] Multiple searchSubjects in sources.xml, Philip Harle, 11/04/2016
- [grouper-users] RE: Multiple searchSubjects in sources.xml, Hyzer, Chris, 11/04/2016
- Re: [grouper-users] Multiple searchSubjects in sources.xml, Julio Polo, 11/04/2016
- RE: [grouper-users] Multiple searchSubjects in sources.xml, Philip Harle, 11/07/2016
Archive powered by MHonArc 2.6.19.