Implements the Accounts API for servers with unix accounts on the localhost machine (same machine as the web server). Should work for local unix accounts, nis/nis+ accounts, or any PAM oriented accounts that appear as local accounts on the local machine. The exception is the quota support.
See that routine for additional comments.
Copyright 2002-2009 The Horde Project (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you did not receive this file, see http://www.fsf.org/copyleft/lgpl.html.
Located in /lib/Block/account.php (line 252)
Accounts_Driver | --Accounts_Driver_localhost
Hash containing connection parameters.
Inherited from Accounts_Driver
Accounts_Driver::$err_str
Constructor.
Returns the user's full name.
Returns the user's home (login) directory.
Implement the Quota API for IMAP servers with a unix quota command.
This may require a modified "quota" command that allows the httpd server account to get quotas for other users... It requires that your web server and user server be the same server or at least have shared authentication and file servers (e.g. via NIS/NFS). And last, it (as written) requires the posix php extensions.
If your quota command wraps the output onto two lines, then this module will only work if you have a grep which supports the -A switch, and you append an -A1 switch to your grep_path (e.g. '/bin/grep -A1').
Returns the user's default shell.
Returns the user account from the posix information.
Inherited From Accounts_Driver
Accounts_Driver::checkPasswordStatus()
Accounts_Driver::getFullname()
Accounts_Driver::getHome()
Accounts_Driver::getPasswordChange()
Accounts_Driver::getQuota()
Accounts_Driver::getRealm()
Accounts_Driver::getShell()
Accounts_Driver::getUsername()
Documentation generated on Sun, 30 Jan 2011 05:26:53 +0000 by phpDocumentor 1.4.3