Thank you very much for your responses.<br><br><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
</div>Conversely, you could comment out/remove the "use Data::Dumper" line<br>
since you're not using it. It's mainly for debugging and easily<br>
printing the entire contents of an object/array/hash/etc.<br>
<font color="#888888"><br></font></blockquote><div> <br>Ok, Kevin, I don't use Data::Dumper and I can run Freeradius with my perl module.<br><br>My problem is with the hashes that rlm_perl provide to my script ˇrlm_perl add in the reply hash an attribute Relaciones with the value of the attribute Nombre-Completo, and also add Nombre-Completo!<br>
<br>Debug:<br><br>[ldap1] performing user authorization for ana<br>[ldap1] expand: %{Stripped-User-Name} -> ana<br>[ldap1] expand: (cn=%{%{Stripped-User-Name}:-%{User-Name}}) -> (cn=ana)<br>...<br>[ldap1] looking for check items in directory...<br>
[ldap1] ntPassword -> NT-Password == 0x35...<br>[ldap1] looking for reply items in directory...<br> [ldap1] Relaciones -> Relaciones += "01"<br> [ldap1] sn -> Nombre-Completo = "ana"<br>WARNING: No "known good" password was found in LDAP. Are you sure that the user is configured correctly?<br>
[ldap1] user ana authorized to use remote access<br> [ldap1] ldap_release_conn: Release Id: 0<br>++++[ldap1] returns ok<br>...<br>rlm_perl: Added pair User-Name = ana<br>rlm_perl: Added pair User-Password = 1111<br>rlm_perl: Added pair Intentos-Reject = 1<br>
rlm_perl: Added pair SQL-User-Name = ana<br>rlm_perl: Added pair Stripped-User-Name = ana<br>rlm_perl: Added pair Calling-Station-Id = xxx<br>rlm_perl: Added pair Nombre-Completo = ana<br>rlm_perl: Added pair Relaciones = 01<br>
<b>rlm_perl: Added pair Relaciones = ana</b><br>rlm_perl: Added pair NT-Password = 0x35...<br>rlm_perl: Added pair Simultaneous-Use = 1<br>rlm_perl: Added pair Ldap-UserDn = ...<br><br>Than you<br></div></div>____________________<br>
<br> Ana Gallardo Gómez<br>____________________<br>