Skip to Content.
Sympa Menu

grouper-users - RE: [grouper-users] Newbie help (LDAP)

Subject: Grouper Users - Open Discussion List

List archive

RE: [grouper-users] Newbie help (LDAP)


Chronological Thread 
  • From: Paul Huckins <>
  • To: "Hyzer, Chris" <>, "" <>
  • Subject: RE: [grouper-users] Newbie help (LDAP)
  • Date: Mon, 21 Nov 2016 19:59:04 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:N96EBxGmYHUg000l9E+Fr51GYnF86YWxBRYc798ds5kLTJ7ypc6wAkXT6L1XgUPTWs2DsrQf2rGQ6furADdYqb+681k6OKRWUBEEjchE1ycBO+WiTXPBEfjxciYhF95DXlI2t1uyMExSBdqsLwaK+i764jEdAAjwOhRoLerpBIHSk9631+ev8JHPfglEnjSwbLd8IRmsswncuMYajZZsJ6ot1xDEvmZGd+NKyG1yOFmdhQz85sC+/J5i9yRfpfcs/NNeXKv5Yqo1U6VWACwpPG4p6sLrswLDTRaU6XsHTmoWiBtIDBPb4xz8Q5z8rzH1tut52CmdIM32UbU5Uims4qt3VBPljjoMOjgk+2/Vl8NwlrpWrhK/qRJi347aboKbNPR8caPcYdwVSnFMUdxNWyBdGI6wc5cDA/QHMO1Fr4f9vVwOrR6mCAe2Huzv1ztIjWL0060nz+shEgDG3Ao7H9kTt3nats/6NLoWUeyvzqfI0CnMb/BX2Tf784jFaQ0uoeyWUb1ubMXR1FAiGgXYhVuerozlOima1uULs2WD7upgU/6vhHA9qwF3vDev2tkghpPXiY0I11DJ8zhyzoUtJdCgVUJ3fdGpHIFfuiyYLYd7Td4uT3tstSs50rEKpJC2cDQQxJg5xxPSZeaLf5WI7x75SeqdPCt0iXR4c7ylnRmy61KvyujkW8m0zllKqi1Fn8HUuH0R0BLf9saKRuJz8Emm1zuDzgfT5fpaLkwukqrbNoIhzaU3lpoOt0TMAzX6mF3sjK+RakUr5PSn6/jmYrXhoJ+QLYh0ihziMqQqncy/Buc4PhISUGic/OSwzLzj/UvnT7VWlvA6j7XVvZ/AKckUpKO1GQBY3ps55xu7DDqqyNEYkmMGLFJBdhKHlY/pO1TWLf7iF/i/nlCsnC1pyfDbIrLhAZTNLn7YkLr6YLl99lRQxxQuwtBC/55UEK0OIOrvWk/ts9zVFhA5Mxazw+b6ENVyyJkeVXuSAq+CLqzSq0SI6/krI+mNf48VpC39J+Y/6/7vi385hUESfbOv3ZQJdHC0AO5qLFuEbnrx0Z89FjJAnhssQfauwHaCSz9ILT7mWqk89yM2EqqnFoyFW5ighrrH0SumSNkeLG9cDU2UHG2tap6JQewkaSSOL9VnnyBeE7WtVsVpgR60sxLixqAiM/HZ4DYwtJT/2cJz6vGJ0xw+6GonId6a1jS1Rnxw1kMVTDw32rs39XR011PF8bVzgP1eDvRf+rVEXhpsZs2U9PBzF92nAlGJRdyOUlvzGtg=
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

 

 

Thanks Chris,

 

I will watch the video and see if I can get it from there. Honestly tho turkey day vacation starts in a few hours and I have 1 more meeting.

 

So it will be next week before I put any real time in it.

 

Have a nice holiday.

 

Paul

 

From: Hyzer, Chris [mailto:]
Sent: Saturday, November 19, 2016 8:02 AM
To: Paul Huckins;
Subject: RE: [grouper-users] Newbie help (LDAP)

 

Ok,

 

> In the current evolution of grouper the LDAP connector is configured here

>

> /opt/grouper/grouper.apiBinary-2.3.0/conf/grouper-loader.properties

 

That is the config for the loader the PSP.  The subject source(s) is still configured in the sources.xml.

 

>

> There are 2 config files

> /opt/grouper/grouper.apiBinary-2.3.0/conf/grouper-loader.base.properties

> /opt/grouper/grouper.apiBinary-2.3.0/conf/grouper-loader.properties

>

> The .base. file is read at startup and reload and the other (non-.base. file)

> is reloaded from time to time (configurable with gsh shell).

 

No, they are both read periodically but you should never edit the base file.

 

> The non-.base. file starts out blank.

> But if I cut and paste out the LDAP section of the .base. file and paste it

> into the non-.base. file and then edit it, it should work.

 

Well, copy and paste J

 

> I found this on the doc wiki:

> https://spaces.internet2.edu/display/Grouper/Grouper+Loader+LDAP+examples

>

> do I have to do all of this? And where does it go?  Config file (if so which one)

> or somewhere else???

 

The go in attributes currently though we are trying to make a UI to do this easier…

 

> (the problem is probably that I am not sure what “sources.xml in all groupers”

> means)

 

Look in the same dir as grouper-loader.properties, there is a sources.xml.  A copy of that file is in the API, UI, WS.

 

[mchyzer@i2midev1 installer]$ find | grep sources.xml

./grouper.ui-2.3.0/dist/grouper/WEB-INF/classes/sources.xml

./grouper.apiBinary-2.3.0/conf/sources.xml

./grouper.ws-2.3.0/grouper-ws/build/dist/grouper-ws/WEB-INF/classes/sources.xml

 

Please watch the subject API videos and the loader videos here:

 

https://spaces.internet2.edu/display/groupertrain/Grouper+Training#GrouperTraining-a

 

Thanks

Chris

 

From: Paul Huckins []
Sent: Friday, November 18, 2016 4:23 PM
To: Hyzer, Chris <>;
Subject: RE: [grouper-users] Newbie help (LDAP)

 

 

 

Ok,

 

So back to LDAP.

 

If I understand what I read correctly; the following is true.

 

In the current evolution of grouper the LDAP connector is configured here

 

/opt/grouper/grouper.apiBinary-2.3.0/conf/grouper-loader.properties

 

There are 2 config files

/opt/grouper/grouper.apiBinary-2.3.0/conf/grouper-loader.base.properties

/opt/grouper/grouper.apiBinary-2.3.0/conf/grouper-loader.properties

 

The .base. file is read at startup and reload and the other (non-.base. file) is reloaded from time to time (configurable with gsh shell).

 

So far – so good??

 

The non-.base. file starts out blank.

But if I cut and paste out the LDAP section of the .base. file and paste it into the non-.base. file and then edit it, it should work.

 

The only 3 things I have to add (minimum) are;

 

ldap.personLdap.url = "

ldap.personLdap.user = 

ldap.personLdap.pass = 

 

Yes??

 

I found this on the doc wiki:

https://spaces.internet2.edu/display/Grouper/Grouper+Loader+LDAP+examples

 

do I have to do all of this? And where does it go?  Config file (if so which one) or somewhere else???

(the problem is probably that I am not sure what “sources.xml in all groupers” means)

Common setup 

  • Setup an LDAP source, here is one I googled from the Internet (public unauthenticated).  Put this in the sources.xml in all groupers (WS, UI, loader, whatever)

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

    <id>cmuDirectory</id>

    <name>CMU Directory</name>

    <type>person</type>

 

Truncated===

 

 

 

 

 

 

 

 

 

From: Hyzer, Chris []
Sent: Friday, November 18, 2016 1:50 PM
To: Paul Huckins;
Subject: RE: [grouper-users] Newbie help (LDAP)

 

Another method for shutting down hsql is:

 

 




Archive powered by MHonArc 2.6.19.

Top of Page