> "Vector" <[EMAIL PROTECTED]> wrote:
> > I am unable to use radzap to get an entry out of radutmp. I had to
reboot
> > the router today and there are some stale entries in there that I must
> > remove. radzap yields the following:
> >
> > # radzap name-of-termserver 14 "user@realm"
> > radzap: zapping termserver ip.addr.of.termserver, port 14, user
user@realm
> > radzap: no response from server
>
> OK, it's apparently undocumented, but I've just fixed that in the
> 'man' page for radzap. In any case, looking at the command-line
> options for 'radzap' will tell you how to solve the problem.
>
>
>
> [aland@akula radiusd]$ ./src/main/radzap
> Usage: ./src/main/radzap [-p acct_port] [-r servername|serverip]
> termserver [port] [user]
> Options:
>
> -p acct_port Accounting port on radius server
> -r radserver Radius server name or IP address
> termserver Terminal Server (NAS) name or IP address to match,
> can be '' for any
> [port] Terminal Server port to match
> [user] Login account to match
>
>
> Alan DeKok.
Uh, huh....and just how is that?
1: The termserver parameter is required.
2: It has been my experience that it doesn't matter what the value is, it
still won't work
3: I've tried the following and always get either 'no entry found' or 'no
response from server':
radzap '' 14 user@realm
radzap name-of-termserver 14 user@realm
radzap ip.of.term.server 14 user@realm
radzap '' user@realm
radzap name-of-termserver user@realm
radzap ip.of.term.server user@realm
radzap -p 1812 -r ip.of.radius.server '' 14 user@realm
bla bla, on and on.... you get the idea....all and many many many many
many other possible combinations, none of which seem to get the job done.
The fact is that radzap won't do jack unless it can talk to the termserver
from whence the connection was made.
What the man page should say is:
"If radzap is unable to communicate with the terminal server specified, then
it will exit with an error while performing *no* action whatsoever on
radutmp"
vec
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html