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('../main_footer.php') [line 133]
include('../main_footer.php') [line 103]
include('../main_footer.php') [line 575]
include('../main_footer.php') [line 47]
include('../main_header.php') [line 34]
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 363]

array generatePassword( String $dn, array $user, String $mailTo, String $mailFrom, String $mailReplyTo, String $mailSubject, String $mailText)

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



Tags:

return:  list of arrays that can be used to create status messages


Parameters

String   $dn   LDAP DN
array   $user   LDAP attributes of user
String   $mailTo   mail address
String   $mailFrom   from address
String   $mailReplyTo   reply-to address
String   $mailSubject   mail subject
String   $mailText   mail body
[ Top ]



readUser [line 284]

array readUser( String $dn)

Returns the LDAP attributes of the given DN.



Tags:

return:  attributes


Parameters

String   $dn   DN
[ Top ]



sendMail [line 400]

array sendMail( String $pwd, array $user, String $mailTo, String $mailFrom, String $mailReplyTo, String $mailSubject, String $mailText)

Sends the password mail.



Tags:

return:  list of arrays that can be used to create status messages


Parameters

String   $pwd   new password
array   $user   LDAP attributes of user
String   $mailTo   mail address
String   $mailFrom   from address
String   $mailReplyTo   reply-to address
String   $mailSubject   mail subject
String   $mailText   mail body
[ Top ]



setPassword [line 454]

@return setPassword( String $dn, String $pwd, array $user)

Sets the password to LDAP.



Tags:

return:  array list of arrays that can be used to create status messages


Parameters

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



setSpecifiedPassword [line 307]

array setSpecifiedPassword( String $dn, array $user, String $mailTo, String $mailFrom, String $mailReplyTo, String $mailSubject, String $mailText)

Sets the new password.



Tags:

return:  list of arrays that can be used to create status messages


Parameters

String   $dn   LDAP DN
array   $user   user attributes
String   $mailTo   mail address
String   $mailFrom   from address
String   $mailReplyTo   reply-to address
String   $mailSubject   mail subject
String   $mailText   mail body
[ Top ]



Documentation generated on Sat, 19 Nov 2011 10:23:40 +0100 by phpDocumentor 1.4.1