Auth question

Hello,

i need make a auth system based in openldap.

do anyone have anything about it??

regards,

Juan Carlos Montes Senra
INTECO-CERT

Instituto Nacional de Tecnolog�as de la Comunicaci�n
email: juancarlos.montes@inteco.es | jcmontes@cert.inteco.es
Tlf. 0034 987 877 189 - ext. 5020

Aviso Legal:
Este mensaje incluyendo sus anexos pude contener informaci�n confidencial, en
propiedad o legalmente protegida. Si usted no es el destinatario, le rogamos lo
comunique al remitente y proceda a borrarlo, sin reenviarlo ni conservarlo, ya
que su uso no autorizado est� prohibido legalmente

Disclaimer:
This message is private and confidential and it is intended exclusively for the
addressee. If you receive this message by mistake, you should not disseminate,
distribute or copy this e-mail. Please inform the sender and delete the message
and attachments from your system. No confidentiality or any privilege regarding
the information is waived or lost by any mistransmission or malfunction.

Juan Carlos Montes wrote:

Hello,

i need make a auth system based in openldap.

do anyone have anything about it??

regards,

http://wiki.bestpractical.com/view/ExternalAuth

Kind Regards,

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England

Juan Carlos Montes wrote:

Mike Peachey escribi�:

Juan Carlos Montes wrote:

Hi mate,

i had problems with this file:
/opt/rt3/share/html/Callbacks/ExternalAuth/autohandler/Auth
i could resolve the issue patching this:

line 72: $password_validated =
$session{‘CurrentUser’}->UserObj->IsPassword($pass);
for this: $password_validated = RT::Authen::ExternalAuth::GetAuth($user,
$pass);

at this time the auth run OK, :slight_smile:

This technically breaks ExternalAuth as it’s a very ugly workaround that
is bypassing a function and bypassing Internal Authentication.

You would be better off resolving the problem you had before which was
probably that it wasn’t loading the overlay methods in User_Vendor.pm
Kind Regards,

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England

Mike Peachey escribi�:

Juan Carlos Montes wrote:

Mike Peachey escribi�:

Juan Carlos Montes wrote:

Hi mate,

i had problems with this file:
/opt/rt3/share/html/Callbacks/ExternalAuth/autohandler/Auth
i could resolve the issue patching this:

line 72: $password_validated =
$session{‘CurrentUser’}->UserObj->IsPassword($pass);
for this: $password_validated = RT::Authen::ExternalAuth::GetAuth($user,
$pass);

at this time the auth run OK, :slight_smile:

This technically breaks ExternalAuth as it’s a very ugly workaround that
is bypassing a function and bypassing Internal Authentication.

You would be better off resolving the problem you had before which was
probably that it wasn’t loading the overlay methods in User_Vendor.pm

Ok, i’ll try make a “clean” method, :slight_smile:

regards,

Juan Carlos Montes Senra
INTECO-CERT
http://cert.inteco.es
Instituto Nacional de Tecnolog�as de la Comunicaci�n
email: juancarlos.montes@inteco.es | jcmontes@cert.inteco.es
Tlf. 0034 987 877 189 - ext. 5020

Aviso Legal:
Este mensaje incluyendo sus anexos pude contener informaci�n confidencial, en
propiedad o legalmente protegida. Si usted no es el destinatario, le rogamos lo
comunique al remitente y proceda a borrarlo, sin reenviarlo ni conservarlo, ya
que su uso no autorizado est� prohibido legalmente

Disclaimer:
This message is private and confidential and it is intended exclusively for the
addressee. If you receive this message by mistake, you should not disseminate,
distribute or copy this e-mail. Please inform the sender and delete the message
and attachments from your system. No confidentiality or any privilege regarding
the information is waived or lost by any mistransmission or malfunction.

Juan Carlos Montes wrote:

Mike Peachey escribi�:

Juan Carlos Montes wrote:

Mike Peachey escribi�:

Juan Carlos Montes wrote:

Ok, i’ll try make a “clean” method, :slight_smile:

If you have any trouble with it, you’re best asking on the RT-Users
mailing list rather than RT-Devel

Kind Regards,

Mike Peachey, IT
Tel: +44 114 281 2655
Fax: +44 114 281 2951
Jennic Ltd, Furnival Street, Sheffield, S1 4QT, UK
Comp Reg No: 3191371 - Registered In England