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: "Hyzer, Chris" <>
  • To: Paul Huckins <>, "" <>
  • Subject: RE: [grouper-users] Newbie help (LDAP)
  • Date: Sat, 19 Nov 2016 15:01:33 +0000
  • Accept-language: en-US
  • Authentication-results: spf=none (sender IP is ) ;
  • Ironport-phdr: 9a23:69tImxVSXp7NPFtwkJrrs7Bcw4zV8LGtZVwlr6E/grcLSJyIuqrYbRyHt8tkgFKBZ4jH8fUM07OQ6PG7HzZYqsnZ+Fk5M7V0HycfjssXmwFySOWkMmbcaMDQUiohAc5ZX0Vk9XzoeWJcGcL5ekGA6ibqtW1aFRrwLxd6KfroEYDOkcu3y/qy+5rOaAlUmTaxe71/IRG4oAnLqMUanYRuJ6QtxhDUvnZGZuNayH9yK1mOhRj8/MCw/JBi8yRUpf0s8tNLXLv5caolU7FWFSwqPG8p6sLlsxnDVhaP6WAHUmoKiBpIAhPK4w/8U5zsryb1rOt92C2dPc3rUbA5XCmp4ql3RBP0jioMKiU0+3/LhMNukK1boQqhpx1hzI7SfIGVL+d1cqfEcd8HWWZNQsNdWipcCY2+coQPFfIMM+ZGoYfgu1sAoxiwBQeuC+Pu1jBHiWT70rcm3+g9CwzKwBAsE8wIvX/JrNv1LqASUeWtwaXGzzvCb/JX1inn6ITQbxssv/GMXahxccrKx0UkCgTIjlCMpozlPzKU1/oCs3KA4uphTuKgl3QrqxxpojexwMcsjJPFiZwIxVDZ7Ch0xps+K9O/SE5+e9GkEZ1QujmbN4twXsMtXXtouCAkxb0ap5K3ZjYFx4k6xxPZdveJcJCI7wr9WOqMIDp0nnxodKylixqv8kWs1/fwWtS23VtJtiZJj9fBumwX2xHX98SLUOVx8lql1DqVygze6OBJLEYpnqTBMZEh2KQ/lp8LvETDACD2nEL2gbeOeEg4/eak9/nrbqz7q5CeKYN4kwb+Pb8wlcClBuQ4LxQOUHOc+eSh0r3s4Ff1QK1Qjv0xjqnWrozVJdgapq6+BQ9ZyIEj6wujDzei19QYmnoHIEhZdxKAiojlI1DOIPbmAvejm1mgjipnyvHcMrDvHJnBNGXPnbT8cbpn9kJRygk+wcha551OC7EBJPzzWlX2tNzdFhI5NhC7w+bnCdR8yIweQ3mCAq6CMKzOq1OI+/ovLPeKZI8TojryNeUq5+P2gX8jhVAdZbWp3YcQaH2gEfRmOUKZYWf0gtgfC2cGpxc+TPf0h12YSj5efHKyX6Mn5jEnE4KqE53PRoGrgLydwii7BJtWaX5aClySC3vnaZiLW+pfIB6Vd/dojzhMdaWqSI4nzln6jAbnz/xHM+HX+ysDnZ7+ktV5+ruX3Vs97ztpF8mHlnyWQntvtmIOWzIs2q1j+wpwxkrJmfx3mftFDdFJou5SXx0hHZ/a0+FgDd3uAETMcsrfG3i8RdDzSxEgXN8rh5clY1x8AJ/q2hXI3zu4DqU9lqeAQoEs/6TamXX9OpAumD79yKA9ggx+EYN0Pmq8i/s6rlCLCg==
  • Spamdiagnosticmetadata: NSPM
  • Spamdiagnosticoutput: 1:99

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 [mailto:]
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