Brent Clark | 29 Aug 19:59

groupOfUniqueNames join / search (sql join)

Hi

I would like to know, if you use groupOfUniqueNames and you want to 
follow the uniqueMember to get the mail attribute.
Would anyone know how perform that type of ldapsearch

e.g

dn: cn=support@...,ou=mailAlias,dc=abc.biz,dc=top
uniqueMember: cn=brenttst,ou=mailUser,dc=abc.biz,dc=top

dn: cn=brenttst,ou=mailUser,dc=abc.biz,dc=top
mail: brent@...

Basically this is for mail routing and I want to build / use it for 
aliases. So all mail too support@... will be sent to brent@...

Kind Regards
Brent Clark

Michael Ströder | 29 Aug 20:12

Re: groupOfUniqueNames join / search (sql join)

Brent Clark wrote:
> 
> I would like to know, if you use groupOfUniqueNames and you want to 
> follow the uniqueMember to get the mail attribute.
> Would anyone know how perform that type of ldapsearch

There's noch such think like a SQL join in LDAP.

You have to implement a client for that.

Ciao, Michael.

Brent Clark | 29 Aug 20:24

Re: groupOfUniqueNames join / search (sql join)

Michael Ströder wrote:
> There's noch such think like a SQL join in LDAP.
>
> You have to implement a client for that.
>
> Ciao, Michael.
Thanks for your reply.

So basically I need to design my DIT more simpler.

Thought I was overly complicating the design / idea.

Thanks

Brent

Terry Gardner | 29 Aug 20:28
Favicon

Re: groupOfUniqueNames join / search (sql join)

Search for the uniqueMember, take the returned attribute value and  
issue another (base-level) search for that DN that returns the mail  
attribute(s).

On Aug 29, 2008, at 2:02 PM, Brent Clark wrote:

> Hi
>
> I would like to know, if you use groupOfUniqueNames and you want to  
> follow the uniqueMember to get the mail attribute.
> Would anyone know how perform that type of ldapsearch
>
> e.g
>
> dn: cn=support@...,ou=mailAlias,dc=abc.biz,dc=top
> uniqueMember: cn=brenttst,ou=mailUser,dc=abc.biz,dc=top
>
> dn: cn=brenttst,ou=mailUser,dc=abc.biz,dc=top
> mail: brent@...
>
> Basically this is for mail routing and I want to build / use it for  
> aliases. So all mail too support@... will be sent to  
> brent@...
>
> Kind Regards
> Brent Clark
>
>
>

(Continue reading)


Gmane