7 Mar
2006
7 Mar
'06
6:16 a.m.
Alan DeKok wrote:
Ah, you have DOMAIN\user logging in, and your LDAP server knows about "user".
Try the following in "hints":
DEFAULT User-Name =~ "\\(.*)$" Menu = "%{1}"
Then in radiusd.conf, do:
... ldap { ... filter = "(uid=%{Menu:-%u})" ...
Yes, "menu' is a bad name, but it should work.
Many thanks. I had to write the username as "\\\\(.*)$" as the backslashes themselves needed escaping, but once that was done it's all working like a charm now. James.