[rt-users] RT Extermnal Auth plugin and LDAP

Tony Arnold tony.arnold at manchester.ac.uk
Tue Jan 29 13:11:29 EST 2013


Ruslan,

On 29/01/13 16:57, Ruslan Zakirov wrote:
> On Tue, Jan 29, 2013 at 7:17 PM, Tony Arnold
> <tony.arnold at manchester.ac.uk> wrote:
>> Ruslan,
>>
>> Thanks. I can't find a patch for this on rt.cpan.org. I've found bug
>> #69500 which refers to version 0.09 of the ExternalAuth plugin and I'm
>> on 0.12.
>>
>> Looking at the source of LDAP.pm a simple fix could be to check the
>> group membership before the user password check. Any reason why that
>> would not do the trick?
> 
> Would do. If you get to it a patch may help 0.13 release with the fix.

I've tried it and it seems to work, although it probably needs to be
more thoroughly tested.

I'm not sure what the best way of generating a patch file, but I've
attached what I have done. Patch applies to

/opt/rt3/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth/LDAP.pm

Regards,
Tony.
-- 
Tony Arnold,                        Tel: +44 (0) 161 275 6093
Head of IT Security,                Fax: +44 (0) 705 344 3082
University of Manchester,           Mob: +44 (0) 773 330 0039
Manchester M13 9PL.                 Email: tony.arnold at manchester.ac.uk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LDAP.pm.patch
Type: text/x-patch
Size: 2115 bytes
Desc: not available
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130129/a94ae6e7/attachment.bin>


More information about the rt-users mailing list