Re: [Exim] ldap auth and subtree searching

Página Inicial
Delete this message
Reply to this message
Autor: Daniel Bird
Data:  
Para: exim-users
Assunto: Re: [Exim] ldap auth and subtree searching
Daniel Bird wrote:

> Daniel Bird wrote:
>
>> Dear all,
>> I've been struggling with this for some time. I've been thru all the
>> documentation and just cant get my head around it, so am in need of an
>> idiot's guide.
>
>
> Sorry to reply to my own post, but I forgot to mention this on a RH8 box
> running Exim 4.20
> Regards
> Dan
>
>>
>> My current config is this (stolen from somewhere on this list;-):
>>
>> login:
>> driver = plaintext
>> public_name = LOGIN
>> server_prompts = "Username:: : Password::"
>> server_condition = "${lookup
>> ldap{user=uid=$1,ou=People,o=sghms,dc=ac.uk pass=$2
>> ldap://ldap.sghms.ac.uk/ou=People,o=sghms,dc=ac.uk?uid?sub?(uid=$1)}{yes}fail}"
>>
>>
>> server_set_id = $1
>

Dear all,
I've found a sloution. Basicallt the same as listed here:
http://www.exim.org/mailman/htdig/exim-users/Week-of-Mon-20030519/054169.html

Regards
Dan

>>
>> Which works perfectly on the ou=people container, but I want to be able
>> to authenticate all users in all containers (about 7) below this.
>>
>> My question is how do I do this? I know I need to so a uid search
>> somewhere but I really can't fathom where to start.
>>
>> TIA
>> Dan
>>
>>
>>
>>
>> --
>>
>> ## List details at http://www.exim.org/mailman/listinfo/exim-users
>> Exim details at http://www.exim.org/ ##
>>
>>
>
>
>
> --
>
> ## List details at http://www.exim.org/mailman/listinfo/exim-users
> Exim details at http://www.exim.org/ ##
>
>




--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.