<div dir="ltr">These are the settings I've started with:<div><br></div><div><div>Set($ExternalSettings, {</div><div> 'AD' => {</div><div> 'type' => 'ldap',</div>
<div> 'server' => '<a href="http://domain_controller.example.com">domain_controller.example.com</a>',</div><div> 'base' => 'dc=example,dc=com',</div>
<div> 'user' => 'rtuser',</div><div> 'pass' => '********',</div><div> 'filter' => '(ObjectClass=*)',</div>
<div> 'tls' => 0,</div><div> 'ssl_version' => 3,</div><div> 'net_ldap_args' => [ version => 3 ],</div><div>
'attr_match_list' => [</div>
<div> 'EmailAddress',</div><div> ],</div><div> 'attr_map' => {</div><div> 'Name' => 'sAMAccountName',</div><div> 'EmailAddress' => 'mail',</div>
<div> 'RealName' => 'cn',</div><div> },</div><div><br></div><div>They aren't working. Whenever someone attempts an initial login with just their username (which should create their RT account) the following error is logged:</div>
<div><div>Oct 17 15:02:29 zen-rt RT: [23131] Use of uninitialized value in string eq at /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib/RT/Authen/ExternalAuth.pm line 613.</div><div>Oct 17 15:02:29 zen-rt RT: [23131] RT::Authen::ExternalAuth::CanonicalizeUserInfo returning Disabled: , EmailAddress: , Gecos: user, Name: user, Privileged:</div>
</div><div><div>Oct 17 16:14:01 zen-rt RT: [24382] Couldn't create user user: Could not set user info</div><div>Oct 17 16:14:01 zen-rt RT: [24382] FAILED LOGIN for user from 192.168.236.102</div></div><div><br></div>
<div>
When initial logins are attempted with either example\username or <a href="http://example.com">example.com</a>\username only the FAILED LOGIN line is displayed.</div><div><br></div><div>We also have our Openfire Jabber server authenticating successfully. Those settings are</div>
<div>ldap.autoFollowAliasReferrals = true</div><div>ldap.autoFollowReferrals = false</div><div>ldap.baseDN = dc=example,dc=com</div><div>ldap.connectionPoolEnabled = true</div><div>ldap.debugEnabled = false</div><div>ldap.emailField = mail</div>
<div>ldap.encloseDNs = true</div><div>ldap.groupDescriptionField = description</div><div>ldap.groupMemberField = member</div><div>ldap.groupNameField = cn</div><div>ldap.groupSearchFilter = (objectClass=group)</div><div>
ldap.host = <a href="http://domain_controller.example.com">domain_controller.example.com</a></div>
<div>ldap.ldapDebugEnabled = false</div><div>ldap.nameField = cn</div><div>ldap.port = 389</div><div>ldap.searchFilter = (objectClass=*)</div><div>ldap.usernameField = sAMAccountName</div><div><br></div><div><br></div><div>
I know they don't match up exactly in terms of what Openfire calls the settings vs. what RT does, but I'm hoping someone can help me sort out what should be plugged in where on the RT side. For example, I don't know what the group_attr or group_attr_value setting should contain (if anything) in the RT_SiteConfig.pm file. Basically, anything from the "group" settings.</div>
<div><br></div><div>-Mathew<br><br>"When you do things right, people won't be sure you've done anything at all." - God; Futurama<div><br></div><div>"<span style="background-color:rgb(255,255,255);font-family:arial,sans-serif;font-size:13px;line-height:18px">We'll get along much better once you accept that you're wrong and neither am I." - Me</span></div>
</div>
</div></div>