Hi all. I want to identify a user not only by the username and password but also by an machine identifier which I send as the Calling-Station-Id. When I do so, entering the machine identifier manually or telling that identifier to the network administrator before doing the first login it works properly. +-----+---------------+--------------------+----------------+------+ | id | UserName | Attribute | Value | op | +-----+---------------+--------------------+----------------+------+ | 106 | jorge | User-Password | aaaaaa | == | | 116 | jorge | Calling-Station-Id | 12345678 | == | +-----+---------------+--------------------+----------------+------+
However what I want is to insert this value automatically the first time a user authenticate, so he can only connect from this machine. In this case I have put the database something like that: +-----+---------------+--------------------+----------------+------+ | id | UserName | Attribute | Value | op | +-----+---------------+--------------------+----------------+------+ | 106 | jorge | User-Password | aaaaaa | == | | 116 | jorge | Calling-Station-Id | | += | +-----+---------------+--------------------+----------------+------+ But it doesn't work. Is it very difficult to insert the value into the database automatically by the radius server. Which file '.c' do I have to modify the code for do such a thing? TA. - List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
