[rt-users] Login Error and External Auth problem

Jason Ledford jledford at biltmore.com
Wed Mar 2 21:23:01 EST 2011


I am running Debian Lenny, 64b server, 3.8.9 RT and everything seemed to install fine.  I noticed this error after trying to get external auth working.

"We opened /dev/null to protect FD #1, but descriptor #1 is already occupied at /opt/rt3/bin/webmux.pl line 78. (/opt/rt3/bin/webmux.pl:78)"

I get that error on every failed login.   I have since removed my external auth settings to try and resolve it and can't get it to go away.  I can login with root just fine.

My second problem (if the above is a non-issue or can be resolved) is getting external auth loaded.  It didn't seem to load.  I installed it via cpan, changed my settings in /opt/rt3/local/plugins/RT-Authen-ExternalAuth/etc/RT_SiteConfig.pm.  I then added a require line in /opt/rt3/etc/RT_SiteConfig.pm, along with adding it to the set plugin line.  Restarted apache and I can login as root and look at the config and it shows the plugin loaded, it doesn't seem to be called though.  A failed login doesn't mention anything about calling it or being a failed ldap login.  I run tcpdump alongside and it isn't querying my ldap server at all.  Help is appreciated.  Here is my RT_SiteConfig.pm, let me know if you need anything else:

Set( $rtname, 'server.name.com');
Set($Organization, 'name.com');
Set($CorrespondAddress , 'esworkorder at name.com');
Set($CommentAddress , 'escomment at name.com');
Set($Timezone, "EST"); # obviously choose what suits you

Set($DatabaseUser , 'rt123');
Set($DatabasePassword , 'rt123');
Set($DatabaseName , 'cdc124asv_rt123'); # Ensure this is set to rt3!
Set($DatabaseHost, 'mysql.name.com');

Set($WebPath , "/rt");
Set($WebBaseURL , "http://server.name.com");


require "/opt/rt3/local/plugins/RT-Authen-ExternalAuth/etc/RT_SiteConfig.pm";
Set(@Plugins, (qw(RT::Extension::MobileUI RT::Extension::LDAPImport RT::Authen::ExternalAuth)));

#Set(@Plugins,(qw(Extension::QuickDelete RT::FM)));
Set($LDAPHost,'dc.name.com');
Set($LDAPUser, 'ldapuser);
Set($LDAPPassword, 'ldappass');
Set($LDAPBase, 'OU=departments,dc=domain,dc=name,dc=com');
Set($LDAPFilter, '(&(objectClass=user)(objectClass=*))');
Set($LDAPMapping, {Name         => 'sAMAccountName',
                    EmailAddress => 'mail',
                    RealName     => 'cn',
                    MobilePhone  => 'mobile',
                    WorkPhone    => 'telephoneNumber',
                    Organization => 'department',
                                    FreeformContactInfo => 'title'});
Set($LDAPUpdateUsers,1);


1;
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110302/1cca020d/attachment.htm>


More information about the rt-users mailing list