On Thu, Jul 21, 2011 at 08:06:53PM +0000, Raghavendra Lal Kalyankar wrote:
> 
> Hi Nick/All
> 
> I have uncommented both filters and d_filters. Now, the configuration looks 
> like below:
> 
>  # The filter to use to match RT-Users
>                                                         'filter'              
>       =>  '(sAMAccountName=%u)',

what's %u here?  There is no printf style interpretation of filters.
RT::Authen::ExternalAuth already builds (sAMAccountName=username) if you
configure the rest properly. This is a filter to ensure that you don't
match the wrong type of user. If you don't know what goes here, use the
catch-all example filter.

>                                                         # A catch-all example 
> filter: '(objectClass=*)'
>                                                         #
>                                                         # The filter that 
> will only match disabled users
>                                                         'd_filter'            
>       =>  '(&(objectCategory=person)(objectClass=user))',
> 
> Now, I am not getting the below string error but my external authentication 
> is still not successful. I am doubting if the above filter value is incorrect 
> which is making RT unable to search for the user in AD.

That says anyone who is a user and a person should be disabled.
Is that really what you want?

Leave it empty but not commented out if you don't know what you want.

Also, run your install in debug logging mode, it'll show you what it
is doing.

-kevin

Attachment: pgpFFjXvRCJyg.pgp
Description: PGP signature

--------
2011 Training: http://bestpractical.com/services/training.html

Reply via email to