Hi all,
I am trying to use dynamic base DN with freeradius 0.3
The value of %{Realm} is not expanded when radiusd tries to connect to
the LDAP server:
(I log in as [EMAIL PROTECTED])
rlm_ldap: performing search in ou=People, ou=%{Realm}, ou=Virtual
Domains, dc=skima, dc=is, with filter (uid=veigar)
rlm_ldap: ldap_search() failed: No such object
rlm_ldap: search failed
My config is like this:
radiusd.conf(just the relevant parts):
basedn = ou=People, ou=%{Realm}, ou=Virtual Domains, dc=skima, dc=is
filter = (uid=%U)
realm suffix {
format = suffix
delimiter = @
}
preacct {
suffix
files
preprocess
}
authorize {
preprocess
suffix
ldap {
notfound = return
}
files
}
authenticate {
ldap
}
realms:
mydomain.is
LOCAL
users:
DEFAULT Auth-Type := Local
Fall-Through = 1
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html