hi, your NAS is sending a CHAP request not a PAP request , you have a plain text password for PAP. adjust NAS or your configuration/storage? A database can only be queried for values not as a challenge-response repository, alan