Re: freeradius+pptpd+mysq - rc_avpair_new: unknown attribute 6

2008-03-19 Thread Alan DeKok
Vladi Lemurov wrote:
 but when I try to connect to pptpd, pptpd doesn't even try to connect to
 radius server (I even tried to listen
 with tcpdump on lo for packets going to ports 1812 and 1813, caught
 nothing from pptpd) and gives me the following errors:
 rc_avpair_new: unknown attribute 6
...

  You have not configured *pptpd* with the correct dictionaries.

 I've googled and found out that usually this happens because
 dictionary.microsoft isn't in the dictionary path or it is of
 some different format. I double checked it and put the working
 directory.microsoft file in the proper place - still not working.

  What proper place?

 Then I've made some mistakes in the dictionary.microsoft on purpose (I
 wrote sdfgsdfsdfsd there) and radiusd -fX complained on it, thus
 it does see this dictionary:

  You have changed the dictionary file on *FreeRADIUS*, not on *pptpd*.
They are different programs.

 What am I doing wrong? Below I've copypasted config files of pptpd
 radius and their debug logs.

  sigh  Do NOT post the FreeRADIUS dictionaries to this list.  There
is nothing wrong with the dictionaries.

  DO configure pptpd to point to the RADIUS dictionaries it needs.

  Alan DeKok.

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


Re: freeradius+pptpd+mysq - rc_avpair_new: unknown attribute 6

2008-03-19 Thread Thibault Le Meur

Alan DeKok a écrit :
  

What am I doing wrong? Below I've copypasted config files of pptpd
radius and their debug logs.



  sigh  Do NOT post the FreeRADIUS dictionaries to this list.  There
is nothing wrong with the dictionaries.

  DO configure pptpd to point to the RADIUS dictionaries it needs.

  

I've written a little tuto on this, maybe it can help you:
http://wiki.freeradius.org/PopTop

Regards,
Thibault

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


RE: freeradius+pptpd+mysq - rc_avpair_new: unknown attribute 6

2008-03-19 Thread Edvin Seferovic
Nice one ! Should be really usefull !

Regards,
E:S

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
g] On Behalf Of Thibault Le Meur
Sent: Mittwoch, 19. März 2008 09:57
To: FreeRadius users mailing list
Subject: Re: freeradius+pptpd+mysq - rc_avpair_new: unknown attribute 6

Alan DeKok a écrit :
   
 What am I doing wrong? Below I've copypasted config files of pptpd
 radius and their debug logs.
 

   sigh  Do NOT post the FreeRADIUS dictionaries to this list.  There
 is nothing wrong with the dictionaries.

   DO configure pptpd to point to the RADIUS dictionaries it needs.

   
I've written a little tuto on this, maybe it can help you:
http://wiki.freeradius.org/PopTop

Regards,
Thibault

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


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


Re: freeradius+pptpd+mysq - rc_avpair_new: unknown attribute 6

2008-03-19 Thread Vladi Lemurov

I've adjusted radiusclient.conf and now everything's fine!
Thanks a lot!
Vladi Lemuroff.

but when I try to connect to pptpd, pptpd doesn't even try to connect to
radius server (I even tried to listen
with tcpdump on lo for packets going to ports 1812 and 1813, caught
nothing from pptpd) and gives me the following errors:
rc_avpair_new: unknown attribute 6

...

  You have not configured *pptpd* with the correct dictionaries.


I've googled and found out that usually this happens because
dictionary.microsoft isn't in the dictionary path or it is of
some different format. I double checked it and put the working
directory.microsoft file in the proper place - still not working.


  What proper place?


Then I've made some mistakes in the dictionary.microsoft on purpose (I
wrote sdfgsdfsdfsd there) and radiusd -fX complained on it, thus
it does see this dictionary:


  You have changed the dictionary file on *FreeRADIUS*, not on *pptpd*.
They are different programs.


What am I doing wrong? Below I've copypasted config files of pptpd
radius and their debug logs.


  sigh  Do NOT post the FreeRADIUS dictionaries to this list.  There
is nothing wrong with the dictionaries.

  DO configure pptpd to point to the RADIUS dictionaries it needs.

  Alan DeKok.




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