Re: [EXIM] Using LDAP instead of db files

トップ ページ
このメッセージを削除
このメッセージに返信
著者: Philip Hazel
日付:  
To: michael
CC: exim-users
題目: Re: [EXIM] Using LDAP instead of db files
On 22 Jan 1999 michael@??? wrote:

> The transport uses the table by:
>
> quota = "${lookup{$local_part@$domain}dbm*@{/var/exim/etc/quota.db} {$value} fail}"
>
> Once I use LDAP, I want to put domains at the top level and users below
> domains, having a default quota in the domain entry and possibly override
> it in the user entry.
>
> How do I model that with LDAP object classes? Can entries inherit
> attributes from parent entries? How would the LDAP query url look like?


I don't know very much about LDAP, but what you can trivially do is to
do an LDAP lookup as above, but replace the "fail" with another LDAP
lookup that looks up "*" instead of the address. That is one easy way of
getting a default.

-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.



--
*** Exim information can be found at http://www.exim.org/ ***