308 lines
11 KiB
HTML
308 lines
11 KiB
HTML
|
<html>
|
||
|
<head>
|
||
|
<title>Docs for page changePassword.php</title>
|
||
|
<link rel="stylesheet" type="text/css" href="../media/style.css">
|
||
|
</head>
|
||
|
<body>
|
||
|
|
||
|
<table border="0" cellspacing="0" cellpadding="0" height="48" width="100%">
|
||
|
<tr>
|
||
|
<td class="header_top">lists</td>
|
||
|
</tr>
|
||
|
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||
|
<tr>
|
||
|
<td class="header_menu">
|
||
|
|
||
|
|
||
|
[ <a href="../classtrees_lists.html" class="menu">class tree: lists</a> ]
|
||
|
[ <a href="../elementindex_lists.html" class="menu">index: lists</a> ]
|
||
|
[ <a href="../elementindex.html" class="menu">all elements</a> ]
|
||
|
</td>
|
||
|
</tr>
|
||
|
<tr><td class="header_line"><img src="../media/empty.png" width="1" height="1" border="0" alt="" /></td></tr>
|
||
|
</table>
|
||
|
|
||
|
<table width="100%" border="0" cellpadding="0" cellspacing="0">
|
||
|
<tr valign="top">
|
||
|
<td width="200" class="menu">
|
||
|
<div id="ric">
|
||
|
<p><a href="../ric_README.html">README</a></p>
|
||
|
<p><a href="../ric_INSTALL.html">INSTALL</a></p>
|
||
|
</div>
|
||
|
<b>Packages:</b><br />
|
||
|
<a href="../li_configuration.html">configuration</a><br />
|
||
|
<a href="../li_Help.html">Help</a><br />
|
||
|
<a href="../li_LDAP.html">LDAP</a><br />
|
||
|
<a href="../li_lib.html">lib</a><br />
|
||
|
<a href="../li_lists.html">lists</a><br />
|
||
|
<a href="../li_main.html">main</a><br />
|
||
|
<a href="../li_modules.html">modules</a><br />
|
||
|
<a href="../li_PDF.html">PDF</a><br />
|
||
|
<a href="../li_profiles.html">profiles</a><br />
|
||
|
<a href="../li_selfService.html">selfService</a><br />
|
||
|
<a href="../li_tests.html">tests</a><br />
|
||
|
<a href="../li_tools.html">tools</a><br />
|
||
|
<a href="../li_types.html">types</a><br />
|
||
|
<br /><br />
|
||
|
<b>Files:</b><br />
|
||
|
<div class="package">
|
||
|
<a href="../lists/_templates---lists---changePassword.php.html"> changePassword.php
|
||
|
</a><br>
|
||
|
<a href="../lists/_templates---lists---deletelink.php.html"> deletelink.php
|
||
|
</a><br>
|
||
|
<a href="../lists/_templates---lists---list.php.html"> list.php
|
||
|
</a><br>
|
||
|
<a href="../lists/_lib---lists.inc.html"> lists.inc
|
||
|
</a><br>
|
||
|
<a href="../lists/_templates---lists---userlink.php.html"> userlink.php
|
||
|
</a><br>
|
||
|
</div><br />
|
||
|
subpackage <b>tree</b><br> <div class="package">
|
||
|
<a href="../lists/tree/_templates---tree---add_attr.php.html"> add_attr.php
|
||
|
</a><br>
|
||
|
<a href="../lists/tree/_templates---tree---add_attr_form.php.html"> add_attr_form.php
|
||
|
</a><br>
|
||
|
<a href="../lists/tree/_templates---tree---add_oclass.php.html"> add_oclass.php
|
||
|
</a><br>
|
||
|
<a href="../lists/tree/_templates---tree---add_oclass_form.php.html"> add_oclass_form.php
|
||
|
</a><br>
|
||
|
<a href="../lists/tree/_templates---tree---add_value.php.html"> add_value.php
|
||
|
</a><br>
|
||
|
<a href="../lists/tree/_templates---tree---add_value_form.php.html"> add_value_form.php
|
||
|
</a><br>
|
||
|
<a href="../lists/tree/_templates---tree---collapse.php.html"> collapse.php
|
||
|
</a><br>
|
||
|
<a href="../lists/tree/_templates---tree---create.php.html"> create.php
|
||
|
</a><br>
|
||
|
<a href="../lists/tree/_templates---tree---create_form.php.html"> create_form.php
|
||
|
</a><br>
|
||
|
<a href="../lists/tree/_templates---tree---creation_template.php.html"> creation_template.php
|
||
|
</a><br>
|
||
|
<a href="../lists/tree/_templates---tree---templates---creation---custom.php.html"> custom.php
|
||
|
</a><br>
|
||
|
<a href="../lists/tree/_templates---tree---delete.php.html"> delete.php
|
||
|
</a><br>
|
||
|
<a href="../lists/tree/_templates---tree---delete_attr.php.html"> delete_attr.php
|
||
|
</a><br>
|
||
|
<a href="../lists/tree/_templates---tree---delete_form.php.html"> delete_form.php
|
||
|
</a><br>
|
||
|
<a href="../lists/tree/_templates---tree---download_binary_attr.php.html"> download_binary_attr.php
|
||
|
</a><br>
|
||
|
<a href="../lists/tree/_templates---tree---edit.php.html"> edit.php
|
||
|
</a><br>
|
||
|
<a href="../lists/tree/_templates---tree---expand.php.html"> expand.php
|
||
|
</a><br>
|
||
|
<a href="../lists/tree/_templates---tree---export.php.html"> export.php
|
||
|
</a><br>
|
||
|
<a href="../lists/tree/_templates---tree---export_form.php.html"> export_form.php
|
||
|
</a><br>
|
||
|
<a href="../lists/tree/_templates---tree---templates---creation---new_ou_template.php.html"> new_ou_template.php
|
||
|
</a><br>
|
||
|
<a href="../lists/tree/_templates---tree---rdelete.php.html"> rdelete.php
|
||
|
</a><br>
|
||
|
<a href="../lists/tree/_templates---tree---refresh.php.html"> refresh.php
|
||
|
</a><br>
|
||
|
<a href="../lists/tree/_templates---tree---templates---templates.inc.html"> templates.inc
|
||
|
</a><br>
|
||
|
<a href="../lists/tree/_lib---tree.inc.html"> tree.inc
|
||
|
</a><br>
|
||
|
<a href="../lists/tree/_templates---tree---tree.php.html"> tree.php
|
||
|
</a><br>
|
||
|
<a href="../lists/tree/_templates---tree---tree_view.php.html"> tree_view.php
|
||
|
</a><br>
|
||
|
<a href="../lists/tree/_templates---tree---update.php.html"> update.php
|
||
|
</a><br>
|
||
|
<a href="../lists/tree/_templates---tree---update_confirm.php.html"> update_confirm.php
|
||
|
</a><br>
|
||
|
</div><br />
|
||
|
|
||
|
|
||
|
|
||
|
<b>Classes:</b><br />
|
||
|
<div class="package">
|
||
|
<a href="../lists/lamBooleanListOption.html">lamBooleanListOption</a><br />
|
||
|
<a href="../lists/lamGroupList.html">lamGroupList</a><br />
|
||
|
<a href="../lists/lamHostList.html">lamHostList</a><br />
|
||
|
<a href="../lists/lamList.html">lamList</a><br />
|
||
|
<a href="../lists/lamListOption.html">lamListOption</a><br />
|
||
|
<a href="../lists/lamListTool.html">lamListTool</a><br />
|
||
|
<a href="../lists/lamMailAliasList.html">lamMailAliasList</a><br />
|
||
|
<a href="../lists/lamSelectListOption.html">lamSelectListOption</a><br />
|
||
|
<a href="../lists/lamSmbDomainList.html">lamSmbDomainList</a><br />
|
||
|
<a href="../lists/lamUserList.html">lamUserList</a><br />
|
||
|
</div>
|
||
|
|
||
|
</td>
|
||
|
<td>
|
||
|
<table cellpadding="10" cellspacing="0" width="100%" border="0"><tr><td valign="top">
|
||
|
|
||
|
<h1>Procedural File: changePassword.php</h1>
|
||
|
Source Location: /templates/lists/changePassword.php<br /><br />
|
||
|
|
||
|
<br>
|
||
|
<br>
|
||
|
|
||
|
|
||
|
<h2>Page Details:</h2>
|
||
|
Change password page for helpdesk employees.<br /><br /><br /><br />
|
||
|
<h4>Tags:</h4>
|
||
|
<div class="tags">
|
||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||
|
<tr>
|
||
|
<td><b>author:</b> </td><td>Roland Gruber</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<br /><br />
|
||
|
<h4>Includes:</h4>
|
||
|
<div class="tags">
|
||
|
include_once("../../lib/ldap.inc") [line 22]<br />
|
||
|
LDAP object<br /><br />include_once('../../lib/status.inc') [line 18]<br />
|
||
|
status messages<br /><br />include_once("../../lib/security.inc") [line 20]<br />
|
||
|
security functions<br /><br /></div>
|
||
|
<br /><br />
|
||
|
<br /><br />
|
||
|
<br />
|
||
|
<hr />
|
||
|
<a name="functiongeneratePassword"></a>
|
||
|
<h3>generatePassword <span class="smalllinenumber">[line 274]</span></h3>
|
||
|
<div class="function">
|
||
|
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||
|
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||
|
<code>void generatePassword(
|
||
|
String $dn, String $template, array $user, String $mailTo)</code>
|
||
|
</td></tr></table>
|
||
|
</td></tr></table><br />
|
||
|
|
||
|
Sets a generated password and displays it or sends it via mail.<br /><br /> <br /><br />
|
||
|
|
||
|
<h4>Parameters</h4>
|
||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||
|
<tr>
|
||
|
<td class="type">String </td>
|
||
|
<td><b>$dn</b> </td>
|
||
|
<td>LDAP DN</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type">String </td>
|
||
|
<td><b>$template</b> </td>
|
||
|
<td>mail template file</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type">array </td>
|
||
|
<td><b>$user</b> </td>
|
||
|
<td>LDAP attributes of user</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type">String </td>
|
||
|
<td><b>$mailTo</b> </td>
|
||
|
<td>mail address</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="functionreadUser"></a>
|
||
|
<h3>readUser <span class="smalllinenumber">[line 222]</span></h3>
|
||
|
<div class="function">
|
||
|
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||
|
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||
|
<code>array readUser(
|
||
|
String $dn)</code>
|
||
|
</td></tr></table>
|
||
|
</td></tr></table><br />
|
||
|
|
||
|
Returns the LDAP attributes of the given DN.<br /><br /><br /><br />
|
||
|
<h4>Tags:</h4>
|
||
|
<div class="tags">
|
||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||
|
<tr>
|
||
|
<td><b>return:</b> </td><td>attributes</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<br /><br />
|
||
|
|
||
|
<h4>Parameters</h4>
|
||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||
|
<tr>
|
||
|
<td class="type">String </td>
|
||
|
<td><b>$dn</b> </td>
|
||
|
<td>DN</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="functionsetPassword"></a>
|
||
|
<h3>setPassword <span class="smalllinenumber">[line 332]</span></h3>
|
||
|
<div class="function">
|
||
|
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||
|
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||
|
<code>boolean setPassword(
|
||
|
String $dn, String $pwd)</code>
|
||
|
</td></tr></table>
|
||
|
</td></tr></table><br />
|
||
|
|
||
|
Sets the password to LDAP.<br /><br /><br /><br />
|
||
|
<h4>Tags:</h4>
|
||
|
<div class="tags">
|
||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||
|
<tr>
|
||
|
<td><b>return:</b> </td><td>true, if change succeeded</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
</div>
|
||
|
<br /><br />
|
||
|
|
||
|
<h4>Parameters</h4>
|
||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||
|
<tr>
|
||
|
<td class="type">String </td>
|
||
|
<td><b>$dn</b> </td>
|
||
|
<td>LDAP DN</td>
|
||
|
</tr>
|
||
|
<tr>
|
||
|
<td class="type">String </td>
|
||
|
<td><b>$pwd</b> </td>
|
||
|
<td>password</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
|
||
|
</div>
|
||
|
<hr />
|
||
|
<a name="functionsetSpecifiedPassword"></a>
|
||
|
<h3>setSpecifiedPassword <span class="smalllinenumber">[line 246]</span></h3>
|
||
|
<div class="function">
|
||
|
<table width="90%" border="0" cellspacing="0" cellpadding="1"><tr><td class="code_border">
|
||
|
<table width="100%" border="0" cellspacing="0" cellpadding="2"><tr><td class="code">
|
||
|
<code>void setSpecifiedPassword(
|
||
|
String $dn)</code>
|
||
|
</td></tr></table>
|
||
|
</td></tr></table><br />
|
||
|
|
||
|
Sets the new password.<br /><br /> <br /><br />
|
||
|
|
||
|
<h4>Parameters</h4>
|
||
|
<table border="0" cellspacing="0" cellpadding="0">
|
||
|
<tr>
|
||
|
<td class="type">String </td>
|
||
|
<td><b>$dn</b> </td>
|
||
|
<td>LDAP DN</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
<div class="top">[ <a href="#top">Top</a> ]</div><br /><br />
|
||
|
</div>
|
||
|
|
||
|
<div class="credit">
|
||
|
<hr />
|
||
|
Documentation generated on Sun, 06 Jan 2008 18:58:54 +0100 by <a href="http://www.phpdoc.org">phpDocumentor 1.4.0</a>
|
||
|
</div>
|
||
|
</td></tr></table>
|
||
|
</td>
|
||
|
</tr>
|
||
|
</table>
|
||
|
|
||
|
</body>
|
||
|
</html>
|