Using Radius Realms

Rob Spurlock helpme at lock-net.com
Mon Aug 13 17:09:41 PDT 2001


Has anyone come up with a convenient way of adding a realm to a user
in the users file?  We use managed modems outside of our main city
and would like to see if anyone has found a way to do this?

Currently we add the suffix @lock-net to the textradiusprepend file
and then edit the svc_acct.export file to set it next to the username
as such:

    ###
    # FORMAT OF THE USERS FILE HERE
    print USERS
      $svc_acct->username,
      qq(${textradiusprepend}),
      $radcheck,
      qq(\tPassword = "$rpassword"\n\t),
      join ",\n\t", map { qq($_ = "$radreply{$_}") } keys %radreply;

So that you get:

username at lock-net          Password = "password"
etc.

Rob

Webmail Provided by Lock-Net Internet Services: www.lock-net.com




More information about the freeside-users mailing list