Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 10229

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Constants for Options</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="kadm5.constantsaf.html">Constants for Attribute Flags</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="kadm5.examples.html">Examples</a></div>
 <div class="up"><a href="kadm5.constants.html">Predefined Constants</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="pecl.kadm5.constantsop" class="section">
 <h2 class="title">Constants for Options</h2>
  <p class="para">
   The functions  <span class="function"><a href="function.kadm5-create-principal.html" class="function">kadm5_create_principal()</a></span>,
    <span class="function"><a href="function.kadm5-modify-principal.html" class="function">kadm5_modify_principal()</a></span>, and
    <span class="function"><a href="function.kadm5-get-principal.html" class="function">kadm5_get_principal()</a></span> allow to specify or return
   principal&#039;s options as an associative array. The keys for the associative
   array are defined as string constants below:
   <table class="doctable table">
    <caption><strong>Options for creating/modifying/retrieving principals</strong></caption>
    
     <thead>
      <tr>
       <th>constant</th>
       <th>funcdef</th>
       <th>description</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>KADM5_PRINCIPAL</td>
       <td>long</td>
       <td>The expire time of the princial as a Kerberos timestamp.</td>
      </tr>

      <tr>
       <td>KADM5_PRINC_EXPIRE_TIME</td>
       <td>long</td>
       <td>The expire time of the princial as a Kerberos timestamp.</td>
      </tr>

      <tr>
       <td>KADM5_LAST_PW_CHANGE</td>
       <td>long</td>
       <td>The time this principal&#039;s password was last changed.</td>
      </tr>

      <tr>
       <td>KADM5_PW_EXPIRATION</td>
       <td>long</td>
       <td>
        The expire time of the principal&#039;s current password, as a Kerberos
        timestamp.
       </td>
      </tr>

      <tr>
       <td>KADM5_MAX_LIFE</td>
       <td>long</td>
       <td>
        The maximum lifetime of any Kerberos ticket issued to this principal.
       </td>
      </tr>

      <tr>
       <td>KADM5_MAX_RLIFE</td>
       <td>long</td>
       <td>
        The maximum renewable lifetime of any Kerberos ticket issued to or
        for this principal.
       </td>
      </tr>

      <tr>
       <td>KADM5_MOD_NAME</td>
       <td>string</td>
       <td>
        The name of the Kerberos principal that most recently modified this
        principal.
       </td>
      </tr>

      <tr>
       <td>KADM5_MOD_TIME</td>
       <td>long</td>
       <td>
        The time this principal was last modified, as a Kerberos timestamp.
       </td>
      </tr>

      <tr>
       <td>KADM5_KVNO</td>
       <td>long</td>
       <td>The version of the principal&#039;s current key.</td>
      </tr>

      <tr>
       <td>KADM5_POLICY</td>
       <td>string</td>
       <td>The name of the policy controlling this principal.</td>
      </tr>

      <tr>
       <td>KADM5_CLEARPOLICY</td>
       <td>long</td>
       <td>
        Standard procedure is to assign the &#039;default&#039; policy to new
        principals. KADM5_CLEARPOLICY suppresses this behaviour.
       </td>
      </tr>

      <tr>
       <td>KADM5_LAST_SUCCESS</td>
       <td>long</td>
       <td>The KDC time of the last successfull AS_REQ.</td>
      </tr>

      <tr>
       <td>KADM5_LAST_FAILED</td>
       <td>long</td>
       <td>The KDC time of the last failed AS_REQ.</td>
      </tr>

      <tr>
       <td>KADM5_FAIL_AUTH_COUNT</td>
       <td>long</td>
       <td>The number of consecutive failed AS_REQs.</td>
      </tr>

      <tr>
       <td>KADM5_RANDKEY</td>
       <td>long</td>
       <td>
        Generates a random password for the principal. The parameter
        <em><code class="parameter">password</code></em> will be ignored.
       </td>
      </tr>

      <tr>
       <td>KADM5_ATTRIBUTES</td>
       <td>long</td>
       <td>A bitfield of attributes for use by the KDC.</td>
      </tr>

     </tbody>
    
   </table>

  </p>
 </div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="kadm5.constantsaf.html">Constants for Attribute Flags</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="kadm5.examples.html">Examples</a></div>
 <div class="up"><a href="kadm5.constants.html">Predefined Constants</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>