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 274]

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 222]

array readUser( String $dn)

Returns the LDAP attributes of the given DN.



Tags:

return:  attributes


Parameters

String   $dn   DN
[ Top ]



setPassword [line 332]

boolean setPassword( String $dn, String $pwd)

Sets the password to LDAP.



Tags:

return:  true, if change succeeded


Parameters

String   $dn   LDAP DN
String   $pwd   password
[ Top ]



setSpecifiedPassword [line 246]

void setSpecifiedPassword( String $dn)

Sets the new password.



Parameters

String   $dn   LDAP DN
[ Top ]



Documentation generated on Sun, 06 Jan 2008 18:58:54 +0100 by phpDocumentor 1.4.0