Xin wrote: > Btw, what' the mean of the sql in the following script: > if(...){ > sql (here) > } > I got it from http://wiki.freeradius.org/modules/Rlm_sql See "man unlang" for how "if" statements work. See that Wiki page for how the SQL module works. I don't know what else to say. Alan DeKok.