Skip to Content.
Sympa Menu

grouper-users - [grouper-users] Trouble adding to sources.xml

Subject: Grouper Users - Open Discussion List

List archive

[grouper-users] Trouble adding to sources.xml


Chronological Thread 
  • From: Bryan Wooten <>
  • To: "" <>
  • Subject: [grouper-users] Trouble adding to sources.xml
  • Date: Mon, 23 Apr 2018 18:08:53 +0000
  • Accept-language: en-US
  • Ironport-phdr: 9a23:FtSFwRZGPzrLOgSHqFW6z1T/LSx+4OfEezUN459isYplN5qZr8i6bnLW6fgltlLVR4KTs6sC17KN9fi4EUU7or+5+EgYd5JNUxJXwe43pCcHRPC/NEvgMfTxZDY7FskRHHVs/nW8LFQHUJ2mPw6arXK99yMdFQviPgRpOOv1BpTSj8Oq3Oyu5pHfeQpFiCazbL9oMBm6sRjau9ULj4dlNqs/0AbCrGFSe+RRy2NoJFaTkAj568yt4pNt8Dletuw4+cJYXqr0Y6o3TbpDDDQ7KG81/9HktQPCTQSU+HQRVHgdnwdSDAjE6BH6WYrxsjf/u+Fg1iSWIdH6QLYpUjmk8qxlSgLniD0fOjA57m/Zl9BwgqxYrhKguxNwzJXZYJuJOPd6ZK7RYc8WSXRHU81MVyJBGIS8b44XAuccJ+ZZr5Pyp10TphS+AgmsA//vxSFOhnTr2qA1yP4hEAHc0wwmBd4PvnPUrNLpNKgMV+C417TIzSnZYPNWwzvy9pXHcg04rPyKQLl+f83RyUw1GAPEiFWdsZHlPy+P2eQNqWSU8fdvVf+phmU6qA9xuiCiytosh4TJnI4YzlLJ+T9kzIs6KtC0UkF2bcC8HJdNtyyXN5F6Tt4+T211oio21LILtYChcCQUx5kqxwbTZ+GGfoWM+B7vSuacLDhiiH9lYr6yiBm//E69wePmTMa0ykxFri9dn9nMqH8N0xvT59CGSvtl+Ues2yyD2BzP5e1ePEA0ibDUK547zrEui5UTrFzPHi7wmErokK+bblgo9+io5uj9ZrjrpIWQO5J7hwzxKKgjldKzDfw9MgcUXmib/eq81Kfk/U38WLhFlec2k6nDv5DcP8gaqKm5AwhJ0ok97RayFCqm0MgCknkHNl5KZg+Ij5XxN1HUPP/4Feu/g0irkDpzyPDGJLrhAojVLnfdirftZKt961VCxwop1tBS/JZUCrAaIPLvQU/9qsbUDh4/Mwyo3ennEtN92Z0CWW6RGKOWLr7dsULbrt4odqODfogIoDvnbuU+6uT1pX4/hVIHe6S1h90aZG3yVqBpOUKEeXf2x8oaHH0Rlgs4UOHwjlCeC3hea2vkDIwm4TRuIpi3BIGLeYeqnLGHlHOxBIxfYCZZDVeQHHHAapmNW7EBZD/EcZwpqSANSbX0E9xp7hqprgKvk7c=

All,

 

I have installed Grouper using the installer with all the Demo data/groups. It works fine. We have been simply logging in as GrouperSystem. SSO is not implemented.

 

I am trying to add an LDAP source in sources.xml so I can demo creating groups with our users.

 

But when I make the change (in both the API conf dir and the UI classes dir) I get this error when I login as GrouperSystem (this account does exist in our LDAP):

 

Error:

  • problem in sources.xml source: sourceId, sql: select some_id,name,description,description_lower,pennname,penn_id from person_source_v where some_id in (?), Cant find subject from login id: GrouperSystem
  • If you continue to encounter errors, please contact technical support

I bumped up log levels on UI side but I don’t see anything that helps. Both the API and UI load without errors.

Here is my sanitized source xml for LDAP if this helps.

Thanks for any pointers.

-Bryan

<!-- UofU config for Test LDAP -->

    546

    547   <source adapterClass="edu.internet2.middleware.grouper.subj.GrouperJndiSourceAdapter">

    548     <id>UofU</id>

    549     <name>UofU Person</name>

    550     <type>person</type>

    551     <init-param>

    552       <param-name>INITIAL_CONTEXT_FACTORY</param-name>

    553       <param-value>com.sun.jndi.ldap.LdapCtxFactory</param-value>

    554     </init-param>

    555     <init-param>

    556       <param-name>PROVIDER_URL</param-name>

    557       <param-value>ldap://ldaptest</param-value>

    558     </init-param>

    559     <init-param>

    560       <param-name>SECURITY_AUTHENTICATION</param-name>

    561       <param-value>simple</param-value>

    562     </init-param>

    563     <init-param>

    564       <param-name>SECURITY_PRINCIPAL</param-name>

    565       <param-value>cn= </param-value>

    566     </init-param>

    567     <init-param>

    568       <param-name>SECURITY_CREDENTIALS</param-name>

    569       <param-value> </param-value>

    570     </init-param>

    571      <init-param>

    572       <param-name>SubjectID_AttributeType</param-name>

    573       <param-value>unid</param-value>

    574     </init-param>

    575      <init-param>

    576       <param-name>SubjectID_formatToLowerCase</param-name>

    577       <param-value>false</param-value>

    578     </init-param>

    579     <init-param>

    580       <param-name>Name_AttributeType</param-name>

    581       <param-value>cn</param-value>

    582     </init-param>

    583     <init-param>

    584       <param-name>Description_AttributeType</param-name>

    585       <param-value>description</param-value>

    586     </init-param>

    587 <!-- UofU ClasNotFound on load?

    588     <init-param>

    589       <param-name>VTLDAP_VALIDATOR</param-name>

    590       <param-value>ConnectLdapValidator|CompareLdapValidator</param-value>

    591     </init-param>

    592     <init-param>

    593       <param-name>VTLDAP_VALIDATOR_COMPARE_DN</param-name>

    594       <param-value>ou=people,o=utah.edu</param-value>

    595     </init-param>

    596     <init-param>

    597       <param-name>VTLDAP_VALIDATOR_COMPARE_SEARCH_FILTER_STRING</param-name>

    598       <param-value>ou=people,o=utah.edu</param-value>

    599     </init-param>

    600     End UofU comment out -->

    601     /// Scope Values can be: OBJECT_SCOPE, ONELEVEL_SCOPE, SUBTREE_SCOPE

    602     /// For filter use

    603

    604     <search>

    605         <searchType>searchSubject</searchType>

    606         <param>

607             <param-name>filter</param-name>

    608             <param-value>

    609                 (&amp; (unid=%TERM%) (objectclass=person))

    610             </param-value>

    611         </param>

    612         <param>

    613             <param-name>scope</param-name>

    614             <param-value>

    615                 SUBTREE_SCOPE

    616             </param-value>

    617         </param>

    618         <param>

    619             <param-name>base</param-name>

    620             <param-value>

    621                 ou=people,o=utah.edu

    622             </param-value>

    623         </param>

    624

    625     </search>

    626     <search>

    627         <searchType>searchSubjectByIdentifier</searchType>

    628         <param>

    629             <param-name>filter</param-name>

    630             <param-value>

    631                 (&amp; (unid=%TERM%) (objectclass=person))

    632             </param-value>

    633         </param>

    634         <param>

    635             <param-name>scope</param-name>

    636             <param-value>

    637                 SUBTREE_SCOPE

    638             </param-value>

    639         </param>

    640         <param>

    641             <param-name>base</param-name>

    642             <param-value>

    643                 ou=people,o=utah.edu

    644             </param-value>

    645         </param>

    646     </search>

    647

    648     <search>

    649        <searchType>search</searchType>

    650          <param>

    651             <param-name>filter</param-name>

    652             <param-value>

    653                 (&amp; (|(|(unid=%TERM%)(cn=*%TERM%*))(sn=%TERM%))(objectclass=person))

    654             </param-value>

    655         </param>

    656         <param>

    657             <param-name>scope</param-name>

658             <param-value>

    659                 SUBTREE_SCOPE

    660             </param-value>

    661         </param>

    662          <param>

    663             <param-name>base</param-name>

    664             <param-value>

    665                 ou=people,o=utah.edu

    666             </param-value>

    667         </param>

    668     </search>

    669     <init-param>

    670       <param-name>subjectVirtualAttribute_0_searchAttribute0</param-name>

    671       <param-value>${subjectUtils.defaultIfBlank(subject.getAttributeValueOrCommaSeparated('unid'), "")},${subjectUtils.defaultIfBlank(subj        ect.getAttributeValueOrCommaSeparated('cn'), "")},${subjectUtils.defaultIfBlank(subject.getAttributeValueOrCommaSeparated('unid'), "")}</pa        ram-value>

    672     </init-param>

    673     <init-param>

    674       <param-name>sortAttribute0</param-name>

    675       <param-value>cn</param-value>

    676     </init-param>

    677     <init-param>

    678       <param-name>searchAttribute0</param-name>

    679       <param-value>searchAttribute0</param-value>

    680     </init-param>

 

Bryan Wooten

Tel: (801)585-9323

Email:

 

Identity & Access Management_combined centered

 

 




Archive powered by MHonArc 2.6.19.

Top of Page