You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by "Elestedt, Fredrik" <fr...@volvocars.com> on 2015/08/19 08:57:27 UTC

LDAP group filter

Hi,

I'm doing a quick investigation of LDAP support in different artifact management system and at the moment I'm investigating Archiva.
I've set up an instance and successfully configured the LDAP backend to work against our test environment LDAP, but I've run in to an
issue.

Archiva loads up all groups - not just the ones which are pertinent to Archiva. Is there an option somewhere I can set to filter the group
search result? I found one for users - but that I don't want to filter.

// Fredrik

RE: LDAP group filter

Posted by Mat P Jaggard <ma...@uk.ibm.com>.
We have the same problem. A long delay while the massive list of groups is 
downloaded, followed by an array list out of bounds exception from within 
the Java LDAP implementation. We only actually want 2 groups which we 
could filter on.

Is there any way around this problem?

Mat Jaggard
Java Developer
Enterprise Content Management / Software Group / IBM UK

"Elestedt, Fredrik" <fr...@volvocars.com> wrote on 20/08/2015 
07:03:58:

> From: "Elestedt, Fredrik" <fr...@volvocars.com>
> To: "users@archiva.apache.org" <us...@archiva.apache.org>
> Date: 20/08/2015 07:03
> Subject: RE: LDAP group filter
> 
> Hi,
> 
> Unfortunantly that won't do it.
> It's not a group filter - it's just placing all groups in a OU in 
> LDAP, which I can't change.
> I have to provide a search filter somewhere, such as (& 
> (objectClass=groupOfNames) (owner=...) )
> 
> // Fredrik
> 
> -----Original Message-----
> From: Fabian Trampusch [mailto:fabian.trampusch@isys-software.de] 
> Sent: den 19 augusti 2015 15:40
> To: users@archiva.apache.org
> Subject: Re: LDAP group filter
> 
> You can use the baseDn for groups to filter the displayed groups.
> 
> We use something like this:
> ou=maven,dc=isys-software,dc=de
> 
> The difference between your and our setup is probably, that we have 
> an own organizational unit for the maven groups.
> 
> (I am not the one who administrates LDAP in our company, therefore i
> can not provide experience if this is a beneficial approach)
> 
> Regards
> Fabian
> 
> Am 19.08.2015 um 08:57 schrieb Elestedt, Fredrik:
> > Hi,
> >
> > I'm doing a quick investigation of LDAP support in different 
> artifact management system and at the moment I'm investigating Archiva.
> > I've set up an instance and successfully configured the LDAP backend 
> > to work against our test environment LDAP, but I've run in to an 
issue.
> >
> > Archiva loads up all groups - not just the ones which are pertinent to 

> > Archiva. Is there an option somewhere I can set to filter the 
> group search result? I found one for users - but that I don't want to 
filter.
> >
> > // Fredrik
> >
> 
> 



RE: LDAP group filter

Posted by "Elestedt, Fredrik" <fr...@volvocars.com>.
Hi,

Unfortunantly that won't do it.
It's not a group filter - it's just placing all groups in a OU in LDAP, which I can't change.
I have to provide a search filter somewhere, such as (& (objectClass=groupOfNames) (owner=...) )

// Fredrik

-----Original Message-----
From: Fabian Trampusch [mailto:fabian.trampusch@isys-software.de] 
Sent: den 19 augusti 2015 15:40
To: users@archiva.apache.org
Subject: Re: LDAP group filter

You can use the baseDn for groups to filter the displayed groups.

We use something like this:
ou=maven,dc=isys-software,dc=de

The difference between your and our setup is probably, that we have an own organizational unit for the maven groups.

(I am not the one who administrates LDAP in our company, therefore i can not provide experience if this is a beneficial approach)

Regards
Fabian

Am 19.08.2015 um 08:57 schrieb Elestedt, Fredrik:
> Hi,
>
> I'm doing a quick investigation of LDAP support in different artifact management system and at the moment I'm investigating Archiva.
> I've set up an instance and successfully configured the LDAP backend 
> to work against our test environment LDAP, but I've run in to an issue.
>
> Archiva loads up all groups - not just the ones which are pertinent to 
> Archiva. Is there an option somewhere I can set to filter the group search result? I found one for users - but that I don't want to filter.
>
> // Fredrik
>


Re: LDAP group filter

Posted by Fabian Trampusch <fa...@isys-software.de>.
You can use the baseDn for groups to filter the displayed groups.

We use something like this:
ou=maven,dc=isys-software,dc=de

The difference between your and our setup is probably, that we have an 
own organizational unit for the maven groups.

(I am not the one who administrates LDAP in our company, therefore i can 
not provide experience if this is a beneficial approach)

Regards
Fabian

Am 19.08.2015 um 08:57 schrieb Elestedt, Fredrik:
> Hi,
>
> I'm doing a quick investigation of LDAP support in different artifact management system and at the moment I'm investigating Archiva.
> I've set up an instance and successfully configured the LDAP backend to work against our test environment LDAP, but I've run in to an
> issue.
>
> Archiva loads up all groups - not just the ones which are pertinent to Archiva. Is there an option somewhere I can set to filter the group
> search result? I found one for users - but that I don't want to filter.
>
> // Fredrik
>