Host based authentication

Hi!
I tried to use host based authentication, in roles_mapping (to grant full admin rights for a specific IP) but I keep getting ''unauthorized".
Any hint on how to make this work?
TIA,