Hello, I'm using an unlang into my post-auth section using the module sql3 (based on sql module but with a different database) if ("%{sql3:Select type from XXX where username='%{User-Name}' }" == "22") { } but the function is not working unless i declare the sql3 module before the unlang. Is it normal ? The problem was also the sql3 module call the sql module with the radacct logging and it's not very clean to call once more this file to just use an unlang function... Breuer Nicolas Content & Marketing Manager. Network Supervisor. BELCENTER ISP & PORTALS Avenue Henri Conscience, 94 B -1140 Bruxelles Tél. :+32 2 243 0 243 Fax :+32 2 243 0 244 Mobile :+32 486 50 27 87 E-Mail : Nicolas.Breuer@Belcenter.biz http://www.BelCenter.be | http://www.BelCenter.net http://www.BelCenter.lu | http://www.BelCenter.nl