Virtual Server and Ldap-Group

Robin Gruyters r.gruyters at services.betronic.nl
Tue Jan 22 16:53:56 CET 2008


Hi ya,

Today I have installed the *new* Freeradius 2.0 release and tested the
virtual server setup.

I was just wondering what will be the best solution to check on LDAP Groups.
(Ldap-Group)
Check them (as before) in the users file, or somewhere in the virtual server
configuration with a switch/case statement.

..
        switch "%{control:Ldap-Group}" {
                case "WebUsers" {
                        update reply {
                                NS-User-Group = WebUsers
                        }
                }
                case "MailUsers" {
                        update reply {
                                NS-User-Group = MailUsers
                        }
                }
                case ... {
                }
        }
...


Kind regards,

-- 
Robin Gruyters
Network and Security Engineer
Betronic Nederland B.V.
I: http://yirdis.com
I: http://betronic.nl
P: +31 (0)20 5659191
F: +31 (0)20 5659190
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20080122/6eb63a1b/attachment.pgp>


More information about the Freeradius-Users mailing list