You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@directory.apache.org by Dan Stromberg <ds...@grokstream.com> on 2020/01/29 20:38:06 UTC

[ApacheDS] Active Directory interop?

Hi folks.

I googled a while about this, and came up empty handed.

Does ApacheDS play nicely with Active Directory?

We are considering use of ApacheDS with Nifi and Grafana, but one of our
bullet points is an LDAP server that works well with A-D.

Does it?

Thanks!

Re: [ApacheDS] Active Directory interop?

Posted by Emmanuel Lécharny <el...@gmail.com>.
On 29/01/2020 23:07, Dan Stromberg wrote:
>
> On Wed, Jan 29, 2020 at 1:46 PM Emmanuel Lécharny <elecharny@gmail.com 
> <ma...@gmail.com>> wrote:
>
>
>     On 29/01/2020 21:38, Dan Stromberg wrote:
>     > Does ApacheDS play nicely with Active Directory?
>     No. No LDAP server that I know of plays nicely with AD. AD was not
>     designed to play nicely with any other LDAP server, à la Microsoft.
>
> Nod.
>
>     > We are considering use of ApacheDS with Nifi and Grafana, but
>     one of our
>     > bullet points is an LDAP server that works well with A-D.
>     >
>     > Does it?
>
>     Well, see above. Please provide some more input for us to evaluate if
>     ApacheDS is an option for you.
>
> We are selecting an LDAP server for use with Grafana and Nifi, all to 
> use as part of a product.  The product has a web interface, and needs 
> authentication and possibly authorization.
>
> We're aware that a lot of customer environments will have a 
> pre-existing commitment to A-D, so it'd be good to be able to do the 
> basics through that, while not totally ditching the LDAP server we 
> choose to include.
>
> We're also aware that a lot of Nifi deployments skip the authorization 
> part of LDAP, instead using Nifi's own idea of what authorization 
> should look like.  We still might need it for Grafana or our 
> homebrewed portions.

So as soon as the requirement is to be able to authenticate a user on a 
AD server through ApacheDS, that can be done. You need to activate the 
DelegatingAuthenticator class to be able to do that. You won't be able 
to do much more, like deferring requests to AD, or fetching infos from 
AD to pretend they are managed by ApacheDS. What you need in this case 
would be either a virtual directory, or a mechanism that replicates AD 
to ApacheDS. Not simple, and we don't do that anyway.

Sadly, Microsoft never intended AD to be a real LDAP server, it's much 
more a NIS server. Typically, it's quite static (if you change anything 
in the schema, it's forever), and this is the reason they created AD/AM 
which is way more convenient to work with. If you f*ck with AD, you are 
good to reinstall your domain...

A virtual Directory could do the trick though (maybe something like 
https://www.tremolosecurity.com/myvirtualdirectory/. Never tested it, 
just asked google about OSS VD, found that).


Hope it helps...



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@directory.apache.org
For additional commands, e-mail: users-help@directory.apache.org


Re: [ApacheDS] Active Directory interop?

Posted by Dan Stromberg <ds...@grokstream.com>.
On Wed, Jan 29, 2020 at 1:46 PM Emmanuel Lécharny <el...@gmail.com>
wrote:

>
> On 29/01/2020 21:38, Dan Stromberg wrote:
> > Does ApacheDS play nicely with Active Directory?
> No. No LDAP server that I know of plays nicely with AD. AD was not
> designed to play nicely with any other LDAP server, à la Microsoft.
>
Nod.

> We are considering use of ApacheDS with Nifi and Grafana, but one of our
> > bullet points is an LDAP server that works well with A-D.
> >
> > Does it?
>
> Well, see above. Please provide some more input for us to evaluate if
> ApacheDS is an option for you.

We are selecting an LDAP server for use with Grafana and Nifi, all to use
as part of a product.  The product has a web interface, and needs
authentication and possibly authorization.

We're aware that a lot of customer environments will have a pre-existing
commitment to A-D, so it'd be good to be able to do the basics through
that, while not totally ditching the LDAP server we choose to include.

We're also aware that a lot of Nifi deployments skip the authorization part
of LDAP, instead using Nifi's own idea of what authorization should look
like.  We still might need it for Grafana or our homebrewed portions.

Thanks again.

Re: [ApacheDS] Active Directory interop?

Posted by Emmanuel Lécharny <el...@gmail.com>.
On 29/01/2020 21:38, Dan Stromberg wrote:
> Hi folks.
>
> I googled a while about this, and came up empty handed.
>
> Does ApacheDS play nicely with Active Directory?

No. No LDAP server that I know of plays nicely with AD. AD was not 
designed to play nicely with any other LDAP server, à la Microsoft.


Now, it depends what you expect and what you mean with 'playing nicely'. 
For instance, you can delegate authentication to an AD server if you 
don't want to duplicate users management in apacheDS (pretty much the 
same with OpenLDAP).

>
> We are considering use of ApacheDS with Nifi and Grafana, but one of our
> bullet points is an LDAP server that works well with A-D.
>
> Does it?

Well, see above. Please provide some more input for us to evaluate if 
ApacheDS is an option for you.

Emmanuel

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@directory.apache.org
For additional commands, e-mail: users-help@directory.apache.org