Koozali.org: home of the SME Server

Legacy Forums => Experienced User Forum => Topic started by: d_gerst on February 12, 2006, 05:10:40 PM

Title: Where are the useraccounts???
Post by: d_gerst on February 12, 2006, 05:10:40 PM
Hello,

I have a php-application which requires login. I want to use the user accounts of the SME Server. I've looked in MySQL but I haven't found any accounts. I only saw there is a kind of DB (/etc/e-smith/db), but howto access this DB from php??

Best regards,
Daniel
Title: Re: Where are the useraccounts???
Post by: CharlieBrady on February 12, 2006, 05:29:54 PM
Quote from: "d_gerst"

I only saw there is a kind of DB (/etc/e-smith/db), but howto access this DB from php??


You can't - its permissions don't allow it to be read by PHP applications.
Title: Re: Where are the useraccounts???
Post by: gordonr on February 14, 2006, 02:28:53 PM
Quote from: "d_gerst"

I have a php-application which requires login. I want to use the user accounts of the SME Server.

One approach is php-imap AUTH, accessing localhost.