A couple of questions PoPToP+FreeRadius+IAS
My configuration is:
[poptop pptpd & pppd]----[freeradius]-----[Microsoft IAS]----[ADS]
pptpd is 1.3.3
pppd is 2.4.4
freeradius is 1.1.3
Clients go from internet, make auth via MS IAS, but accounting does freeradius.
All seems good. Clients go OK. Auth and accounting seems OK too.
But, I have couple of questions
1. Accounting of Calling-station-id returns only first 4 characters of user's IP address.
I noticed that if some user enters using his remote IP like 77.122.215.143
the record of his Calling-Station-Id would be
Calling-Station-Id = "1.77"
which are first 4 symbols of IP address in back order.
What's goin' wrong? I suppose that calling-station-id should be whole IP address.
2. Radius does not understand some attributes from client.
a) Jan 14 12:37:14 shata pppd[25046]: rc_avpair_gen: received unknown attribute 25 of length 30: 0x333B04270000013700010A00001701C735C490B2116B000000000000014C
b) Jan 11 22:29:02 shata pppd[19185]: RADIUS: wrong service type 4 for user21
But I know that these are
VALUE Service-Type Dialback-Framed-User 4
and
ATTRIBUTE MS-CHAP2-Response 25 octets
as they are written in the dictionary file.
For the first case users can not login. Radius refuse them by wrong service type.
In second case users login OK but I what to know why there is error anyway.
What is wrong here?
Thank for replies,
---
Oleg.