Re: Unprintable characters in the password

2003-07-29 Thread Peter Nixon
On Tue July 29 2003 18:06, Alan DeKok wrote:
> Yasser Ahmed Hosny <[EMAIL PROTECTED]> wrote:
> > I've downloaded ver 0.9.0 and I've compiled it on 64-bit and again, I've
> > got the same results. Please find the debug messages below.
>
>   All I can say is that it appears that parts of the code are not
> 64-bit clean.
>
>   If you can get me an account on a 64-bit machine I can "ssh" into, I
> may be able to spend some time looking at it.

I believe SourceForge has some AMD64 machines in their compilefarm..

-- 

Peter Nixon
http://www.peternixon.net/
PGP Key: http://www.peternixon.net/public.asc


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Unprintable characters in the password

2003-07-29 Thread Alan DeKok
Yasser Ahmed Hosny <[EMAIL PROTECTED]> wrote:
> I've downloaded ver 0.9.0 and I've compiled it on 64-bit and again, I've
> got the same results. Please find the debug messages below.

  All I can say is that it appears that parts of the code are not
64-bit clean.

  If you can get me an account on a 64-bit machine I can "ssh" into, I
may be able to spend some time looking at it.

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: Unprintable characters in the password

2003-07-26 Thread Alan DeKok
Yasser Ahmed Hosny <[EMAIL PROTECTED]> wrote:
> I am sure of the secret key between the NAS and the Freeradius are the
> same. Even I've tried to use NTRadping test utility to test the Radius
> server, but still same results.

  Then the server isn't doing the right thing on your 64-bit
platform.  Try the latest CVS snapshot.  It has a *lot* of fixes over
0.8.1.

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Unprintable characters in the password

2003-07-26 Thread Yasser Ahmed Hosny

Dear All,
I'm working with Freeradius ver 0.8.1 and I've compiled it on 64-bit
architecture on Sun Solaris 8. While trying to test the RADIUS server
with the radclient program (compiled on 64-bit), it worked fine, but
while to test the Radius server with an older compiled version of
Radclient (32-bit), it gives me the following error:

WARNING: Unprintable characters in the password. ?  Double-check the
shared secret on the server and the NAS!

I am sure of the secret key between the NAS and the Freeradius are the
same. Even I've tried to use NTRadping test utility to test the Radius
server, but still same results.

Does this mean that I need to change my entire NAS servers to send a
64-bit request or something similar? I have almost 60 NAS servers in my
life setup with different brands, which means that I cannot do that?

Appreciate your help, it is urgent.

Regards

---
Yasser Ahmed Hosny


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html


Re: WARNING: Unprintable characters in the password

2001-10-29 Thread Michele Cerioni

Mitry Matyushkov wrote:
> 
> On Monday, October 29, 2001 16:06 Michele Cerioni [EMAIL PROTECTED] wrote:
> 
> MC> Now I have comment the use of clients.conf  in radiusd.conf but it's the
> MC> same.
> 
> Make sure that file clients is not included in radiusd.conf and clients.conf
> is. I have the following configuration:
> 

Thanks. I did wrong the secret word.

Michele

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: WARNING: Unprintable characters in the password

2001-10-29 Thread Mitry Matyushkov

On Monday, October 29, 2001 16:06 Michele Cerioni [EMAIL PROTECTED] wrote:

MC> Now I have comment the use of clients.conf  in radiusd.conf but it's the
MC> same.

Make sure that file clients is not included in radiusd.conf and clients.conf
is. I have the following configuration:

clients.conf file:
client 127.0.0.1 {
secret  = testing123
shortname   = localhost
}

users file:
pippo   Auth-Type := Local, Password == "otto"
Service-Type = Framed-User,
Framed-Protocol = PPP,
Framed-MTU = 1500


After that I run radtest script:

# radtest pippo otto localhost 0 testign123
Sending Access-Request of id 58 to 127.0.0.1:1645
User-Name = "pippo"
Password = "h\tx\000)$w\351\035\276;\236\227Ns¦"
NAS-IP-Address = sat
NAS-Port-Id = "0"
rad_recv: Access-Accept packet from host 127.0.0.1:1645, id=58, length=38
Service-Type = Framed-User
Framed-Protocol = PPP
Framed-MTU = 1500

radiusd -X response:
rad_recv: Access-Request packet from host 127.0.0.1:2084, id=58, length=54
User-Name = "pippo"
Password = "h\tx\000)$w\351\035\276;\236\227Ns¦"
NAS-IP-Address = 255.255.255.255
NAS-Port-Id = "0"
modcall: entering group authorize
  modcall[authorize]: module "preprocess" returns ok
  modcall[authorize]: module "suffix" returns ok
users: Matched pippo at 70
  modcall[authorize]: module "files" returns ok
modcall: group authorize returns ok
  rad_check_password:  Found Auth-Type Local
auth: type Local
auth: user supplied Password matches local Password
Login OK: [pippo/otto] (from nas localhost port 0)
Sending Access-Accept of id 58 to 127.0.0.1:2084
Service-Type = Framed-User
Framed-Protocol = PPP
Framed-MTU = 1500
Finished request 2


Mitry.


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: WARNING: Unprintable characters in the password

2001-10-29 Thread Michele Cerioni

Mitry Matyushkov wrote:
> 
> On Monday, October 29, 2001 13:29 Michele Cerioni [EMAIL PROTECTED] wrote:
> 
> >> pippo   Auth-Type := Local, Password == "otto"
> >> Service-Type = Framed-User,
> >> Framed-Protocol = PPP,
> >> Framed-MTU = 1500
> 
> MC> I got the same message:
> 
> MC> rad_recv: Access-Request packet from host 194.243.125.2:1026, id=100,
> MC> length=97
> ...
> MC> What does the message "Double-check the shared secret on the server and
> MC> the NAS!"  mean?
> 
> I think you should check secret password for your NAS (194.243.125.2) in
> clients.conf file. Make sure it doesn't contain symbols in national language.
> 
> Mitry.

Now I have comment the use of clients.conf  in radiusd.conf but it's the
same.

Michele

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: WARNING: Unprintable characters in the password

2001-10-29 Thread Michele Cerioni

Mitry Matyushkov wrote:
> 
> On Monday, October 29, 2001 13:29 Michele Cerioni [EMAIL PROTECTED] wrote:
> 
> >> pippo   Auth-Type := Local, Password == "otto"
> >> Service-Type = Framed-User,
> >> Framed-Protocol = PPP,
> >> Framed-MTU = 1500
> 
> MC> I got the same message:
> 
> MC> rad_recv: Access-Request packet from host 194.243.125.2:1026, id=100,
> MC> length=97
> ...
> MC> What does the message "Double-check the shared secret on the server and
> MC> the NAS!"  mean?
> 
> I think you should check secret password for your NAS (194.243.125.2) in
> clients.conf file. Make sure it doesn't contain symbols in national language.
> 
> Mitry.
> 
> -
in clients file I put : 
ptnet.dada.it   radahaha73  

the host ptnet.dada.it ha the IP 194.243.125.2

and in clients.conf 
client 194.243.125.2 {
secret  = radahaha73
shortname   = ptnet.dada.it
}


I also made test using radtest and I got the same error.

Michele

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: WARNING: Unprintable characters in the password

2001-10-29 Thread Mitry Matyushkov

On Monday, October 29, 2001 13:29 Michele Cerioni [EMAIL PROTECTED] wrote:

>> pippo   Auth-Type := Local, Password == "otto"
>> Service-Type = Framed-User,
>> Framed-Protocol = PPP,
>> Framed-MTU = 1500

MC> I got the same message:

MC> rad_recv: Access-Request packet from host 194.243.125.2:1026, id=100,
MC> length=97
...
MC> What does the message "Double-check the shared secret on the server and
MC> the NAS!"  mean?

I think you should check secret password for your NAS (194.243.125.2) in
clients.conf file. Make sure it doesn't contain symbols in national language.

Mitry.


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: WARNING: Unprintable characters in the password

2001-10-29 Thread Michele Cerioni

Mitry Matyushkov wrote:
> 
> On Friday, October 26, 2001 20:50 Michele Cerioni [EMAIL PROTECTED] wrote:
> 
> MC> I can't authenticate a user whith radius.
> MC> THis is the parameter for user pippo:
> 
> MC> pippo   Auth-Type = Local, Password = "otto"
> MC> Service-Type = Framed-User,
> MC> Framed-Protocol = PPP,
> MC> Framed-MTU = 1500
> 
> try this way:
> 
> pippo   Auth-Type := Local, Password == "otto"
> Service-Type = Framed-User,
> Framed-Protocol = PPP,
> Framed-MTU = 1500
> 
> Mitry.
>

I got the same message:

rad_recv: Access-Request packet from host 194.243.125.2:1026, id=100,
length=97
User-Name = "pippo"
Password = "\0223\207[+\025\313\236\2737!I}\007=V"
NAS-IP-Address = 0xc2f37d02
NAS-Port = 0x0005
NAS-Port-Type = 0x
Called-Station-Id = "57329373"
Framed-Protocol = 0x0001
Service-Type = 0x0002
modcall: entering group authorize
  modcall[authorize]: module "preprocess" returns ok
  modcall[authorize]: module "suffix" returns ok
  modcall[authorize]: module "files" returns notfound
modcall: group authorize returns ok
auth: No Auth-Type configuration for the request, rejecting the user
auth: Failed to validate the user.
  WARNING: Unprintable characters in the password. ?  Double-check the
shared secret on the server and the NAS!
Sending Access-Reject of id 100 to 194.243.125.2:1026
Finished request 1
Going to the next request

What does the message "Double-check the shared secret on the server and
the NAS!"  mean?

Thanks

Michele Cerioni

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: WARNING: Unprintable characters in the password

2001-10-26 Thread Chris Parker

At 05:50 PM 10/26/2001 +, you wrote:
>I can't authenticate a user whith radius.
>THis is the parameter for user pippo:
>
>pippo   Auth-Type = Local, Password = "otto"

try Auth-Type := Local

>   WARNING: Unprintable characters in the password. ?  Double-check the
>shared secret on the server and the NAS!

Pay attention to this warning, and follow what it is telling you.

-Chris
--
\\\|||///  \  Chris Parker-Manager, Development Engineering
\ ~   ~ /   \   WX *is* Wireless!\   [EMAIL PROTECTED]
| @   @ |\   http://www.starnetwx.net \  (847) 963-0116
oOo---(_)---oOo--\--
   \ Without C we would have 'obol', 'basi', and 'pasal'


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



Re: WARNING: Unprintable characters in the password

2001-10-26 Thread Mitry Matyushkov

On Friday, October 26, 2001 20:50 Michele Cerioni [EMAIL PROTECTED] wrote:

MC> I can't authenticate a user whith radius.
MC> THis is the parameter for user pippo:

MC> pippo   Auth-Type = Local, Password = "otto"
MC> Service-Type = Framed-User,
MC> Framed-Protocol = PPP,
MC> Framed-MTU = 1500

try this way:

pippo   Auth-Type := Local, Password == "otto"
Service-Type = Framed-User,
Framed-Protocol = PPP,
Framed-MTU = 1500

Mitry.


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html



WARNING: Unprintable characters in the password

2001-10-26 Thread Michele Cerioni

I can't authenticate a user whith radius.
THis is the parameter for user pippo:

pippo   Auth-Type = Local, Password = "otto"
Service-Type = Framed-User,
Framed-Protocol = PPP,
Framed-MTU = 1500


and this is the output of radiusd -sfxxyz -l stdout -d
/usr/local/etc/raddb.

Listening on IP address *, ports 1645/udp and 1646/udp, with proxy on
1647/udp.
Ready to process requests.
rad_recv: Access-Request packet from host 194.243.125.2:1026, id=93,
length=97
User-Name = "pippo"
Password = "\201z\245lhttp://www.freeradius.org/list/users.html