heya— I am trying to configure RT::Authen::ExternalAuth. I have configured it as per the perldocs’. I am confident I have the configuration correct as I just used their examples. However when I try and log in with a non-existent RT users, but one that exists in LDAP, it does not create the user.
[362] [Thu Jan 7 01:19:10 2016] [error]: FAILED LOGIN for jdemarchi from 10.254.84.102 (/opt/rt4/sbin/../lib/RT/Interface/Web.pm:810) However, when I add the user to RT, it pre-populates the users information showing that authInfo is working as expected. [6805] [Tue Jan 5 05:15:42 2016] [info]: RT::Authen::ExternalAuth::CanonicalizeUserInfo returning Address1: , Address2: , AuthSystem: , City: Underwood, Comments: , ContactInfoSystem: , Country: , Disabled: , EmailAddress: jdemar...@pivit.com.au, EmailEncoding: , ExternalAuthId: , ExternalContactInfoId: , FreeformContactInfo: , Gecos: , HomePhone: , Lang: , MobilePhone: , Name: jdemarchi, NickName: , Organization: , PagerPhone: , Privileged: 1, RealName: Julian, Signature: , State: , WebEncoding: , WorkPhone: , Zip: (/usr/share/perl5/vendor_perl/RT/Authen/ExternalAuth.pm:868) Here are the relevant parts of my RT_SiteConfig.pm # LDAP Auth Set( $ExternalAuthPriority, ["My_LDAP"] ); Set( $ExternalInfoPriority, ["My_LDAP"] ); Set( $UserAutocreateDefaultsOnLogin, { Privileged => 1 } ); Set($AutoCreateNonExternalUsers, 1); I know my ExternalSettings section is correct as it is talking to LDAP for user info. Any help would be great! Many thanks, Julian