[SAC] LDAP group search

I could not find information on the wiki [1] about how
to search for existing LDAP groups [1], does anyone
know how to do that, from either the web or the shell ?

[1] SAC:LDAP - OSGeo

NOTE: I tried using ldapsearch (from both svntrac and ldap
shells) but it always asks me for a password and my osgeo
account password does not work with it.

Thanks in advance

--strk;

FYI: i'm hammering ldap with grepping into the output
of ldapsearch -LLL -x -H ldaps://ldap.osgeo.org/

Is effective, althought probably overkill, so I added
a note about that way on the wiki page.

If anyone has better ideas, please update the wiki
or reply here and I'll do. Thanks

--strk;

On Wed, Mar 16, 2016 at 02:21:24PM +0100, Sandro Santilli wrote:

I could not find information on the wiki [1] about how
to search for existing LDAP groups [1], does anyone
know how to do that, from either the web or the shell ?

[1] SAC:LDAP - OSGeo

NOTE: I tried using ldapsearch (from both svntrac and ldap
shells) but it always asks me for a password and my osgeo
account password does not work with it.

Thanks in advance

--strk;

The wiki specifically states:
https://www.osgeo.org/cgi-bin/auth/ldap_web_search.py
with the caveat that you have to be in the admin group to use it.

What information are you trying to retrieve from LDAP?

Thanks,
Alex

On 03/16/2016 08:08 AM, Sandro Santilli wrote:

FYI: i'm hammering ldap with grepping into the output
of ldapsearch -LLL -x -H ldaps://ldap.osgeo.org/

Is effective, althought probably overkill, so I added
a note about that way on the wiki page.

If anyone has better ideas, please update the wiki
or reply here and I'll do. Thanks

--strk;

On Wed, Mar 16, 2016 at 02:21:24PM +0100, Sandro Santilli wrote:

I could not find information on the wiki [1] about how
to search for existing LDAP groups [1], does anyone
know how to do that, from either the web or the shell ?

[1] http://wiki.osgeo.org/wiki/SAC:LDAP

NOTE: I tried using ldapsearch (from both svntrac and ldap
shells) but it always asks me for a password and my osgeo
account password does not work with it.

Thanks in advance

--strk;

_______________________________________________
Sac mailing list
Sac@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/sac

On Wed, Mar 16, 2016 at 08:44:33AM -0700, Alex Mandel wrote:

The wiki specifically states:
https://www.osgeo.org/cgi-bin/auth/ldap_web_search.py
with the caveat that you have to be in the admin group to use it.

What information are you trying to retrieve from LDAP?

I wanted a list of groups, as stated in the first email.
The web interface only allows looking up for _people_
by specifying a (partial) name.

--strk;

On 03/16/2016 08:48 AM, Sandro Santilli wrote:

On Wed, Mar 16, 2016 at 08:44:33AM -0700, Alex Mandel wrote:

The wiki specifically states:
https://www.osgeo.org/cgi-bin/auth/ldap_web_search.py
with the caveat that you have to be in the admin group to use it.

What information are you trying to retrieve from LDAP?

I wanted a list of groups, as stated in the first email.
The web interface only allows looking up for _people_
by specifying a (partial) name.

--strk;

You want to write a new script for the web that does this? I can give
you a copy of some of the existing scripts and install a new one to the
server (or another top admin).

Thanks,
Alex

On Wed, Mar 16, 2016 at 08:52:49AM -0700, Alex Mandel wrote:

On 03/16/2016 08:48 AM, Sandro Santilli wrote:
> On Wed, Mar 16, 2016 at 08:44:33AM -0700, Alex Mandel wrote:
>> The wiki specifically states:
>> https://www.osgeo.org/cgi-bin/auth/ldap_web_search.py
>> with the caveat that you have to be in the admin group to use it.
>>
>> What information are you trying to retrieve from LDAP?
>
> I wanted a list of groups, as stated in the first email.
> The web interface only allows looking up for _people_
> by specifying a (partial) name.

You want to write a new script for the web that does this? I can give
you a copy of some of the existing scripts and install a new one to the
server (or another top admin).

First I'd need to know how to do it.
Second I could write a script for the shell.
Third, someone might want to expose it to the web.

Personally I prefer using the shell for now.

Speaking of which, the wiki mentioned a Web Interface
for LDAP but the link was a 404, I stroked out the mention
but maybe it's something that would already support everything
that's needed to manage an LDAP directory ?

SAC:LDAP - OSGeo

Seek "phpldamadmin".

--strk;