Tuesday, March 26, 2002, 4:28:28 PM, you wrote:

BN> Andrei Koulik wrote:
>> BN> Aha! So you multiplexes several check-/reply-item tuples per key using
>> BN> an empty line as a separator. Clever.
>> No. All blank line are ignored they are for readability only.
>> Separators are: newline or ';'
>>
>> (...)
>>
>> this entity contain of three pairs:(1),(2),(3)
>> pairs (2) and (3) contain an empty reply lists, but we can't leave it
>> blank because blank lines ignored, so we must set "end of list" to
>> declare an empty list but not empty line.

BN> Thanks; now I see.

BN> But one more question: how do I set up rlm_dbm? I'm no good at C, but
BN> from the code it seems to look for the usersfile parameter, just like
BN> rlm_files, so I tried to add this to radiusd.conf:

BN>         dbm {
BN>                 usersfile = ${confdir}/users.db
BN>         }

BN> However, this causes an error when starting radiusd:

BN> ducati(bn) bn 412$ radius/sbin/radiusd -sxx
BN> (...)
BN>   auth_type_fixup: User-Password [2]
BN> Module: Instantiated files (files) 
BN> radiusd.conf[672] Failed to link to module 'rlm_dbm': file not found 
BN> ducati(bn) bn 413$ 

BN> Which is explained by the lack of a loadable rlm_dbm:

BN> ducati(bn) radius 613$ ls lib/rlm_dbm.* 
BN> lib/rlm_dbm.a  lib/rlm_dbm.la*
BN> ducati(bn) radius 614$ 

seems a bug, should be corrected by freeradius developers.
You can bypass it by coping *.so* files from /src/modules/rlm_dbm/.libs
to lib directory (/usr/local/lib/).

BN> I'm definately missing a piece or two of the puzzle...


-- 
Andrei Koulik.


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to