On 24/09/10 17:18, sekchel lee wrote:
I want Multiple databases
group1  ==>  databases1
group2 ==>  databases 2
..
..
Please Help me

Have you read any docs? Or tried anything?

People don't like it when you ask questions but aren't willing to do any of the work.

You will need something like this:

sql.conf:

sql sql1 {
  ...
  # sql settings
}

sql sql2 {
  ...
  # sql settings
}

sites-availble/...:

authorize {
  ...
  if (Some-Group == ...) {
    sql1
  }
  elsif (Some-Group == ...) {
    sql2
  }
}


Obviously you will have to populate the "Some-Group" attribute using some other method; perhaps rlm_passwd or huntgroups.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to