reject users when not found in directory

Khapare Joshi khapare77 at gmail.com
Tue Apr 29 17:35:18 CEST 2014


I tried adding following in sites-enabled/default authorize section to
reject the users if notfound in ldap. What is the exact name I should put
in the if statement ?

 ldap
        #User Bill get punished here
         if ( reply = notfound){
                        update reply {
                        Reply-Message = "User doesnot seem to be in  the
directory please talk to Bill gates"
                        }
                reject
        }

K
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140429/4f89975c/attachment-0001.html>


More information about the Freeradius-Users mailing list