ILIAS
Release_4_2_x_branch Revision 61807
|
Public Member Functions | |
Auth_Container_SMBPasswd ($filename) | |
Constructor of the container class. | |
fetchData ($username, $password) | |
Get user information from pwfile. | |
listUsers () | |
List all users that are available from the storage container. | |
addUser ($username, $password, $additional= '') | |
Add a new user to the storage container. | |
removeUser ($username) | |
Remove user from the storage container. | |
changePassword ($username, $password) | |
Change password for user in the storage container. | |
Public Member Functions inherited from Auth_Container | |
Auth_Container () | |
Constructor. | |
fetchData ($username, $password, $isChallengeResponse=false) | |
Fetch data from storage container. | |
verifyPassword ($password1, $password2, $cryptType="md5") | |
Crypt and verfiy the entered password. | |
supportsChallengeResponse () | |
Returns true if the container supports Challenge Response password authentication. | |
getCryptType () | |
Returns the crypt current crypt type of the container. | |
getUser ($username) | |
Returns a user assoc array. | |
log ($message, $level=AUTH_LOG_DEBUG) | |
Log a message to the Auth log. | |
Public Member Functions inherited from ilAuthContainerBase | |
loginObserver ($a_username, $a_auth) | |
Called after successful login. | |
failedLoginObserver ($a_username, $a_auth) | |
Called after failed login. | |
checkAuthObserver ($a_username, $a_auth) | |
Called after check auth requests. | |
logoutObserver ($a_username, $a_auth) | |
Called after logout. |
Data Fields | |
$pwfile | |
Data Fields inherited from Auth_Container | |
$activeUser = "" | |
User that is currently selected from the storage container. | |
$_auth_obj = null | |
The Auth object this container is attached to. |
Definition at line 63 of file SMBPasswd.php.
Auth_Container_SMBPasswd::addUser | ( | $username, | |
$password, | |||
$additional = '' |
|||
) |
Add a new user to the storage container.
string | Username |
string | Password |
array | Additional information |
Reimplemented from Auth_Container.
Definition at line 132 of file SMBPasswd.php.
References $additional, $pass, $res, AUTH_LOG_DEBUG, and Auth_Container\log().
Auth_Container_SMBPasswd::Auth_Container_SMBPasswd | ( | $filename | ) |
Constructor of the container class.
$filename | string filename for a passwd type file |
Definition at line 84 of file SMBPasswd.php.
References $filename, PEAR_ERROR_DIE, and PEAR\raiseError().
Auth_Container_SMBPasswd::changePassword | ( | $username, | |
$password | |||
) |
Change password for user in the storage container.
string | Username |
string | The new password |
Reimplemented from Auth_Container.
Definition at line 169 of file SMBPasswd.php.
References $res, AUTH_LOG_DEBUG, and Auth_Container\log().
Auth_Container_SMBPasswd::fetchData | ( | $username, | |
$password | |||
) |
Get user information from pwfile.
string | Username |
string | Password |
Definition at line 105 of file SMBPasswd.php.
References AUTH_LOG_DEBUG, and Auth_Container\log().
Auth_Container_SMBPasswd::listUsers | ( | ) |
List all users that are available from the storage container.
Reimplemented from Auth_Container.
Definition at line 114 of file SMBPasswd.php.
References AUTH_LOG_DEBUG, and Auth_Container\log().
Auth_Container_SMBPasswd::removeUser | ( | $username | ) |
Remove user from the storage container.
string | Username |
Reimplemented from Auth_Container.
Definition at line 150 of file SMBPasswd.php.
References $res, AUTH_LOG_DEBUG, and Auth_Container\log().
Auth_Container_SMBPasswd::$pwfile |
Definition at line 72 of file SMBPasswd.php.