Topic: Limit one login per user

Hi people.

I have configured a Debian machine with Freeradius + LDAP and its working fine.

Now i would like to limit that an user could only open a session, and it could not loggin more than once.

I have read that its posible to do it with Mysql? Its possible do the same with LDAP?

Thxs

Re: Limit one login per user

Take a look in the sql.conf file of radius, it has a line to edit:


In

Re: Limit one login per user

There needs to be a Check attribute 'Simultaneous-Use :=1' specified somewhere in your LDAP entry for the user.

Then in the radiusd.conf file is a section 'session'. You can either use a file ('radutmp') or a sql DB to do the checking (sql).

If you use the sql DB you have to specify the query in the sql's config file.
Are you only using LDAP and no 'hybrid' setup with a SQL db for accounting?

As far a I could determine is LDAP only used for authentication.

Re: Limit one login per user

paulbain wrote:

Take a look in the sql.conf file of radius, it has a line to edit:


In

Re: Limit one login per user

The table is created when you install the MySQL part of Freeradius.

Re: Limit one login per user

hi all please tell me how to setting only client can login ...... Limit one login per user..... i already tray all but also can not......
please your help ....

Posts: 6

Pages 1

You must login or register to post a reply