Fórum Ubuntu CZ/SK
Ostatní => Archiv => Téma založeno: budha 29 Října 2007, 21:20:31
-
Zdravim vsetkych. Mam server verziu 7.10 a potrebujem rozchodit autorizaciu cez radius. Mam naistalovany modul potrebny modul > pam_radius_auth. Po vsetkych moznych konbinaciach som dosiahol toto:
/etc/pam.d/ssh
account sufficient pam_radius_auth.so
account required pam_unix.so
auth sufficient pam_radius_auth.so debug
auth required pam_unix.so nullok_secure use_first_pass
password sufficient pam_radius_auth.so
password required pam_unix.so nullok obscure min=4 max=8 md5
session sufficient pam_radius_auth.so
session required pam_unix.so
skusil som aj okriestenu verziu
account sufficient pam_radius_auth.so
account required pam_unix.so
vysledok
Oct 29 21:57:33 test sshd[5334]: pam_radius_auth: Got user name budha@xxx.sk
Oct 29 21:57:33 test sshd[5334]: pam_radius_auth: Sending RADIUS request code 1
Oct 29 21:57:33 test sshd[5334]: pam_radius_auth: DEBUG: getservbyname(radius, udp) returned -1211675676.
Oct 29 21:57:33 test sshd[5334]: pam_radius_auth: packet from RADIUS server xxx.xxx.xxx.xxx fails verification: The shared secret is probably incorrect.
Oct 29 21:57:33 test sshd[5334]: pam_radius_auth: All RADIUS servers failed to respond.
Oct 29 21:57:33 test sshd[5334]: pam_radius_auth: authentication failed
Oct 29 21:57:33 test sshd[5334]: pam_unix(ssh:auth): check pass; user unknown
Oct 29 21:57:35 test sshd[5334]: Failed password for invalid user budha@xxx.sk from xxx.xxx.xxx.xxx port 44263 ssh2
Shared secret a ostatne udaje su samozrejme zapisane v /etc/pam_radius_auth.conf a su na 100% dobre. V logoch na radiuse odchadza kladna odpoved autorizacia OK. Kde moze byt chyba a aka. Uz nad tym sedim tri dni. Vopred dakujem vsetkym.