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.

Thanks; now I see.

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

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

However, this causes an error when starting radiusd:

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

Which is explained by the lack of a loadable rlm_dbm:

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

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

-- 
We tend to meet any new situation by reorganising; and a wonderful method
it can be for creating the illusion of progress while producing confusion,
inefficiency and demoralisation.    -- Gaius Petronius, 60 AD

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

Reply via email to