[rt-users] Apache REMOTE_USER auth + AutoCreateFromExternalUserInfo

Jonah Hirsch crazydog115 at gmail.com
Mon Jun 14 17:54:14 EDT 2010


I'm using a single signon service to authenticate through RT with Apache
setting the REMOTE_USER var, using webexternalauth.

I'm also trying to create a user with ldap information
using AutoCreateFromExternalUserInfo.
I'm having two issues with it:
1) It doesn't seem to require authentication against the LDAP server, which
seems strange to me. Our LDAP server DOES require some kind of
authentication to be able to be accessed. Why
doesn't AutoCreateFromExternalUserInfo ask for authentication info?
2) Albeit #1, when the script tires to run, I get these messages:

>  [Mon Jun 14 21:45:18 2010] [critical]: LookupExternalUserInfo: Could not
>> search for  uid=jwh83:  32
>>  (/opt/rt3/bin/../lib/RT/CurrentUser_Local.pm:226)
>
> [Mon Jun 14 21:45:18 2010] [warning]: Use of uninitialized value $_[4] in
>> join or string at /usr/local/share/perl/5.10.0/Log/Dispatch.pm line 21,
>> <DATA> line 522. (/opt/rt3/bin/../lib/RT/CurrentUser_Local.pm:58)
>
>  [Mon Jun 14 21:45:18 2010] [warning]: Use of uninitialized value $_[6] in
>> join or string at /usr/local/share/perl/5.10.0/Log/Dispatch.pm line 21,
>> <DATA> line 522. (/opt/rt3/bin/../lib/RT/CurrentUser_Local.pm:58)
>
>  [Mon Jun 14 21:45:18 2010] [info]: CreateFromExternalUserInfo: failed to
>> find user with args:  uid jwh83
>>  (/opt/rt3/bin/../lib/RT/CurrentUser_Local.pm:60)
>
>
>
jwh83 is the uid I'm looking for, and I can search for it just fine using
ldapsearch in Ubuntu *with authentication. *If I had to guess, I'd guess
that because I'm not passing any credentials with
AutoCreateFromExternalUserInfo.

Any suggestions?

Jonah Hirsch
-----------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20100614/11b59539/attachment.htm>


More information about the rt-users mailing list