lists
[ class tree: lists ] [ index: lists ] [ all elements ]

Procedural File: changePassword.php

Source Location: /templates/lists/changePassword.php



Page Details:

Change password page for helpdesk employees.



Tags:

author:  Roland Gruber


Includes:

include_once("../../lib/ldap.inc") [line 22]
LDAP object

include_once('../../lib/status.inc') [line 18]
status messages

include_once("../../lib/security.inc") [line 20]
security functions







generatePassword [line 286]

void generatePassword( String $dn, String $template, array $user, String $mailTo)

Sets a generated password and displays it or sends it via mail.



Parameters

String   $dn   LDAP DN
String   $template   mail template file
array   $user   LDAP attributes of user
String   $mailTo   mail address
[ Top ]



readUser [line 227]

array readUser( String $dn)

Returns the LDAP attributes of the given DN.



Tags:

return:  attributes


Parameters

String   $dn   DN
[ Top ]



setPassword [line 345]

boolean setPassword( String $dn, String $pwd, array $user)

Sets the password to LDAP.



Tags:

return:  true, if change succeeded


Parameters

String   $dn   LDAP DN
String   $pwd   password
array   $user   user attributes
[ Top ]



setSpecifiedPassword [line 252]

void setSpecifiedPassword( String $dn, array $user)

Sets the new password.



Parameters

String   $dn   LDAP DN
array   $user   user attributes
[ Top ]



Documentation generated on Mon, 13 Oct 2008 21:03:19 +0200 by phpDocumentor 1.4.1