rlm_passwd allows to authorize user via any pwd-like file. Format of
author3APA3A <3APA3A>
Thu, 24 Jan 2002 13:13:54 +0000 (13:13 +0000)
committer3APA3A <3APA3A>
Thu, 24 Jan 2002 13:13:54 +0000 (13:13 +0000)
commitf825b2a145619e8d9e031ecccd89f5ac761ba770
tree97b6d447a7f9d695feba44e229c286ea4fa60136
parent74ec4ec07db3b850676af435ee907183314f8825
rlm_passwd allows to authorize user via any pwd-like file. Format of
pwd file is configurable via "format" option in module configuration.
Examples:

passwd smbpasswd {
 filename = /etc/smbpasswd
 format = "*User-Name::LM-Password:NT-Password:::"
 authtype = MS-CHAP
 hashsize = 100
 ignorenislike = no
 allowmultiplekeys = no
}

passwd group {
 filename = /etc/group
 format = "Group-Name:::*,User-Name"
 hashsize = 50
 ignorenislike = yes
 allowmultiplekeys = no
}

format:
* - key field, there should be exactly one key field
    *Attribute means that
, - field is listable, may contains few keys

authorize {
 ...
 smbpasswd
 group
}

authenticate {
 ...
 mschap
 ...
}
src/modules/rlm_passwd/Makefile [new file with mode: 0644]
src/modules/rlm_passwd/rlm_passwd.c [new file with mode: 0644]