On 02/19/2002 12:08 PM, Steven M Bloomfield wrote: > What I would really like is something where I could write my own script to > create users and set passwords - preferably in PHP. That way I can have a > sign-up process on a website.
We had the same problem and ended up writing expect-scripts that were called via exec() from within php. It's not very pretty but it works. > My ideal solution would be to have a MySQL database containing all user > information for cyrus - does anyone know if there's any documentation > explaining how to set this up? Am I on the right track if I use pam_php > would that allow me to use MySQL database to store user information. > How would cyrus know that the user information is in a MySQL database? That's exactly what we're using. There is no problem in telling Cyrus to use pam. And there's a pam_mysql module which you can use. I have a small installation sheet, the documentation of the last server I installed. If you wish, I can send it to you. It's not a full blown documentation but it might have some information to get you started. Cheers, David -- ++ http://www.serverart.com ++ "Everything takes longer than you expect, even when you take ++ into account Hofstadters law." - Hofstadter's Law