Hello Bjorn,
Monday, March 25, 2002, 2:58:47 PM, you wrote:
BN> But what is the key in the DBM if you allow multiple entities with
BN> the same username? We have a solution similiar to yours, but with
BN> some horrible hacks (I didn't do it) to support this.
Instead of two or more record with the same key "DEFAULT":
DEFAULT Service-Type == Framed-User
Framed-IP-Address = 255.255.255.254,
Framed-MTU = 576,
Service-Type = Framed-User,
Fall-Through = Yes
DEFAULT Framed-Protocol == PPP
Framed-Protocol = PPP,
Framed-Compression = Van-Jacobson-TCP-IP
used only one record:
DEFAULT Service-Type == Framed-User
Framed-IP-Address = 255.255.255.254,
Framed-MTU = 576,
Service-Type = Framed-User,
Fall-Through = Yes
Framed-Protocol == PPP
Framed-Protocol = PPP,
Framed-Compression = Van-Jacobson-TCP-IP
Note: by default Fall-Through = Yes
>> Now I have db database with about 120 thousands user records and 18 user's
>> groups. I use perl script to manage database but you can use rlm_dbm_cat,
>> dbm_parser to do it. There is no need to restart radius server after
>> changing user database. Fragments of group file (groups.uft) and user
>> entries follow:
BN> The database has to be updated real time from the customer handling
BN> system anyway, so I'll have to do it in Perl anyway. However changing
BN> the existing code to support DBM instead of GDBM should be trivial com-
BN> pared to implementing LDAP-support in it..
gdbm support compatibility with dbm and Alan added a configure script
which can recognize dbm or gbm installed on your box. So nothing need
to do in this way
BN> Anyway, this is more or less exactly what I was looking for. Thanks a
BN> lot for writing it!
>> I can't write good manual for rlm_dbm, due low English experience
>> But if any body may do it please do not hesitate contact me.
BN> If I ever get comfortable with rlm_dbm, I can do it (though my english
BN> is no better than yours.. :)
--
Andrei Koulik.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html