Did you edit authdaemonrc as called for in the opening post and did you execute your script to convert userdb to an actual database? Other than that and retracing the steps from the posts, I wouldn't know what else to suggest.
I did use a lot of echo commands to debug the script and be sure the final userdb met the requirement for the table's format. Otherwise, the origial post is all I used to get it working. - Good luck.