[prev in list] [next in list] [prev in thread] [next in thread] 

List:       exim-users
Subject:    Re: [exim] working Lookup for LDAP
From:       Heiko Schlittermann <hs () schlittermann ! de>
Date:       2010-03-17 20:43:56
Message-ID: 20100317204356.GZ21184 () jumper ! schlittermann ! de
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Hello Darko

Darko Hojnik <exim@virtualizing.org> (Sa 13 Mär 2010 10:07:55 CET):
> dn:
> uid=exim@example.org,ou=example.org,o=Accounts,o=mailserver,dc=directory,dc=example,dc=org
> gidnumber: 10000
> mail: exim@example.org
> mailquota: 104857600000000
> objectclass: top
> objectclass: account
> objectclass: dbmailUser
> uid: exim@example.org
> uidnumber: 100318
> userpassword: {MD5}Aw3Q4sjzcy8huGhsj726keCw==
> 
> 
> So the Users are stored
> ou=DOMAINNAME,o=Accounts,o=mailserver,dc=directory,dc=example,dc=org The
> lookup have to search for the objectclass dbmailUser and uid=%

What do you have for input to your search and what do you expect as
result?

Exim basically follows the RFC2255, if I remember well…

    ${lookup ldap {ldap:///BASE?ATTR?SCOPE?FILTER} }
              |    '~~~~~~~~~~~~~ RFC2255 ~~~~~~'
              |
             ldapm  -> allows to return multiple entries
             ldapdn -> just returns the DN

> dn:
> mailDomain=example.org,o=Domains,o=mailserver,dc=directory,dc=example,dc=org
> maildomain: enturbolation.de
> objectclass: dbmailDomain
> objectclass: top
> 
> For this lookup i have to search for the objectclass dbmailDomain and
> maildomain=% in o=Domains,o=mailserver,dc=directory,dc=example,dc=org

Same question as above.

Or do I misunderstand something here?

    Best regards from Dresden/Germany
    Viele Grüße aus Dresden
    Heiko Schlittermann
-- 
 SCHLITTERMANN.de ---------------------------- internet & unix support -
 Heiko Schlittermann HS12-RIPE -----------------------------------------
 gnupg encrypted messages are welcome - key ID: 48D0359B ---------------
 gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2  7E92 EE4E AC98 48D0 359B -

["signature.asc" (application/pgp-signature)]

-- 
## List details at http://lists.exim.org/mailman/listinfo/exim-users 
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic