Hi,<div><br></div><div>Not sure if that's possible with ExternalAuth, it automatically creates a user during login but doesn't sync the LDAP. (at least, like you I can't find an option for it)</div><div><br></div>
<div>You'll probably need to run something separate from ExternalAuth to import those users, this plugin might help with that:</div><div><ul><li><a href="http://search.cpan.org/~falcone/RT-Extension-LDAPImport-0.31/lib/RT/Extension/LDAPImport.pm">http://search.cpan.org/~falcone/RT-Extension-LDAPImport-0.31/lib/RT/Extension/LDAPImport.pm</a></li>
</ul></div><div><br></div><div><br clear="all">-- Bart<br>
<br><br><div class="gmail_quote">Op 30 januari 2012 02:16 schreef Camron W. Fox <span dir="ltr"><<a href="mailto:cwfox@us.fujitsu.com">cwfox@us.fujitsu.com</a>></span> het volgende:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Alle,<br>
<br>
        So we've installed RT::Authen::ExternalAuth, but when we try to search<br>
for users to create groups and such, if the user hasn't logged in to RT<br>
at least once, they cannot be found. Here is the LDAP excerpt from<br>
RT_SiteConfig.PM:<br>
<br>
Set(@Plugins, (qw(RT::Authen::ExternalAuth)));<br>
Set($ExternalAuthPriority,  [   'My_LDAP'<br>
                            ]<br>
);<br>
Set($ExternalInfoPriority,  [   'My_LDAP'<br>
                            ]<br>
);<br>
Set($ExternalAuthPriority,['My_LDAP']);<br>
Set($ExternalSettings,  {<br>
Set($ExternalSettings,  {<br>
        'My_LDAP'   =>  {<br>
        'type'              =>  'ldap',<br>
        'server'            =>  '<a href="http://admin.subaru.nao.ac.jp" target="_blank">admin.subaru.nao.ac.jp</a>',<br>
        'user'              =>  'cn=Manager,dc=subaru,dc=nao,dc=ac,dc=jp',<br>
        'pass'              =>  'XXXXX',<br>
        'base'              =>  'ou=people,dc=subaru,dc=nao,dc=ac,dc=jp',<br>
        'filter'            =>  '(objectClass=person)',<br>
        'd_filter'          =>  '(employeeType=locked)',<br>
        'tls'               =>  0,<br>
        'ssl_version'       =>  3,<br>
        'net_ldap_args'     =>  [    version =>  3   ],<br>
        # 'group'           =>  'GROUP_NAME',<br>
        # 'group_attr'      =>  'GROUP_ATTR',<br>
        'attr_match_list'   =>  [       'Name',<br>
                                        'EmailAddress'<br>
                                ],<br>
        'attr_map'          =>  {       'Name'  =>  'uid',<br>
                                        'EmailAddress'  =>  'mail',<br>
                                        # 'Organization' =><br>
'physicalDeliveryOfficeName',<br>
                                        'RealName'  =>  'cn',<br>
                                        'ExternalAuthId'    => 'uid',<br>
                                        'Gecos' => 'gecos'<br>
                                        # 'WorkPhone' => 'telephoneNumber',<br>
                                        # 'Address1' => 'streetAddress',<br>
                                        # 'City' => 'l',<br>
                    # 'State' => 'st',<br>
                                        # 'Zip' => 'postalCode',<br>
<br>
                                        # 'Country' => 'co'<br>
                                }<br>
                        }<br>
);<br>
<br>
        We've obviously missed something here, but we've spent the last couple<br>
days searching the docs/wiki/web and playing with RT_SiteConfig.pm but<br>
with no luck.<br>
<br>
Best Regards,<br>
Camron<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Camron W. Fox<br>
Hilo Office<br>
High Performance Computing Group<br>
Fujitsu Management Services of America, Inc.<br>
E-mail:         <a href="mailto:cwfox@us.fujitsu.com">cwfox@us.fujitsu.com</a><br>
<br>
--------<br>
RT Training Sessions (<a href="http://bestpractical.com/services/training.html" target="_blank">http://bestpractical.com/services/training.html</a>)<br>
* Boston  March 5 & 6, 2012<br>
</font></span></blockquote></div><br></div>