Koozali.org: home of the SME Server

Where are the useraccounts???

d_gerst

Where are the useraccounts???
« 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

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Where are the useraccounts???
« Reply #1 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.

Offline gordonr

  • *
  • 646
  • +0/-0
    • http://www.smeserver.com.au/
Re: Where are the useraccounts???
« Reply #2 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.
............