[prev in list] [next in list] [prev in thread] [next in thread]
List: pear-doc
Subject: [PEAR-DOC] cvs: peardoc /fr/package/fileformats/file-passwd/file-passwd-unix adduser.xml changepassw
From: "Yannick TORRES" <yannick () php ! net>
Date: 2004-07-29 15:44:43
Message-ID: cvsyannick1091115883 () cvsserver
[Download RAW message or body]
yannick Thu Jul 29 11:44:43 2004 EDT
Added files:
/peardoc/fr/package/fileformats/file-passwd/file-passwd-unix
adduser.xml
changepasswd.xml
file-passwd-unix.xml
generatepassword.xml
getmap.xml
getmode.xml
isshadowed.xml
listmodes.xml
moduser.xml
parse.xml
save.xml
setmap.xml
setmode.xml
staticauth.xml
usemap.xml
verifypasswd.xml
Log:
initial translation
["yannick-20040729114443.txt" (text/plain)]
http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/adduser.xml?r=1.1&p=1
Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/adduser.xml
+++ peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/adduser.xml
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready -->
<refentry id="package.fileformats.file-passwd.file-passwd-unix.adduser">
<refnamediv>
<refname><function>File_Passwd_Unix::addUser</function></refname>
<refpurpose>Ajoute un utilisateur</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcprototype>
<funcdef>mixed <function>File_Passwd_Unix::addUser</function></funcdef>
<paramdef>string <parameter>$user</parameter></paramdef>
<paramdef>string <parameter>$pass</parameter></paramdef>
<paramdef>array <parameter><optional>$extra = \
array()</optional></parameter></paramdef> </funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.adduser.desc">
&title.desc;
<para>
Le nom de l'utilisateur doit commencer par un caractère \
alphanumérique et ne doit PAS contenir d'autres caractères que des \
caractères alphanumériques, un underline (_) et le tiret (-). </para>
<para>
Si vous utilisez la 'carte de nom', vous devez également utiliser ce \
nommage dans le tableau fourni, car vos valeurs seront mélangées vers \
le haut si elles sont dans le mauvais ordre, ce qui est également vrai si \
vous n'utilisez PAS la carte de nom ! </para>
<para>Donc, soyez prudent et utilisez la carte de nom !</para>
<para>
Si le fichier passwd est crypté, l'utilisateur sera tout de même \
ajouté mais avec un mot de passe 'x' et une erreur PEAR_Error sera \
également retourné. </para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.adduser.param">
&title.param;
<para>
<variablelist>
<varlistentry>
<term>
&type.string;
<parameter>$user</parameter>
</term>
<listitem>
<para>
le nom de l'utilisateur à ajouter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
&type.string;
<parameter>$pass</parameter>
</term>
<listitem>
<para>
le mot de passe de l'utilisateur à ajouter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
&type.array;
<parameter>$extra</parameter>
</term>
<listitem>
<para>
propriétés supplémentaires de l'utilisateur à \
ajouter </para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.adduser.return">
&title.returns;
<para>
&return.success-pearerror;
</para>
<para>
<table>
<title>&title.throws.errortable;</title>
<tgroup cols="2">
<thead>
<row>
<entry>Code erreur</entry>
<entry>Signification</entry>
</row>
</thead>
<tbody>
<row>
<entry>FILE_PASSWD_E_ALREADY_EXISTS</entry>
<entry>l'utilisateur existe déjà</entry>
</row>
<row>
<entry>FILE_PASSWD_E_INVALID_CHARS</entry>
<entry>le nom de l'utilisateur contient des caractères \
invalides</entry> </row>
<row>
<entry>FILE_PASSWD_E_INVALID_CHARS</entry>
<entry>une des propriétés supplémentaires contient un \
caractères invalide</entry> </row>
<row>
<entry>FILE_PASSWD_E_INVALID_ENC_MODE</entry>
<entry>le mode de cryptage actuel n'est pas supporté</entry>
</row>
<row>
<entry>FILE_PASSWD_E_UNDEFINED</entry>
<entry>si le fichier passwd est crypté</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.adduser.note">
&title.note;
¬e.notstatic;
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/changepasswd.xml?r=1.1&p=1
Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/changepasswd.xml
+++ peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/changepasswd.xml
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready -->
<refentry id="package.fileformats.file-passwd.file-passwd-unix.changepasswd">
<refnamediv>
<refname><function>File_Passwd_Unix::changePasswd</function></refname>
<refpurpose>Modifie le mot de passe</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcprototype>
<funcdef>mixed <function>File_Passwd_Unix::changePasswd</function></funcdef>
<paramdef>string <parameter>$user</parameter></paramdef>
<paramdef>string <parameter>$pass</parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.changepasswd.desc">
&title.desc;
<para>Modifie le mot de passe d'un utilisateur.</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.changepasswd.param">
&title.param;
<para>
<variablelist>
<varlistentry>
<term>
&type.string;
<parameter>$user</parameter>
</term>
<listitem>
<para>
l'utilisateur dont le mot de passe doit être modifié
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
&type.string;
<parameter>$pass</parameter>
</term>
<listitem>
<para>
le nouveau mot de passe en clair
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.changepasswd.return">
&title.returns;
<para>
&return.success-pearerror;
</para>
<para>
<table>
<title>&title.throws.errortable;</title>
<tgroup cols="2">
<thead>
<row>
<entry>Code erreur</entry>
<entry>Signification</entry>
</row>
</thead>
<tbody>
<row>
<entry>FILE_PASSWD_E_EXISTS_NOT</entry>
<entry>l'utilisateur n'existe pas</entry>
</row>
<row>
<entry>FILE_PASSWD_INVALID_ENC_MODE</entry>
<entry>le mode de cryptage actuel n'est pas supporté</entry>
</row>
<row>
<entry>FILE_PASSWD_UNDEFINED</entry>
<entry>si le fichier passwd est crypté</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.changepasswd.note">
&title.note;
¬e.notstatic;
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/file-passwd-unix.xml?r=1.1&p=1
Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/file-passwd-unix.xml
+++ peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/file-passwd-unix.xml
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready -->
<refentry id="package.fileformats.file-passwd.file-passwd-unix.file-passwd-unix">
<refnamediv>
<refname><function>File_Passwd_Unix::File_Passwd_Unix</function></refname>
<refpurpose>Constructeur</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcsynopsisinfo>require_once 'File/Passwd/Unix.php';</funcsynopsisinfo>
<funcprototype>
<funcdef>object &new <function>File_Passwd_Unix</function></funcdef>
<paramdef>string <parameter><optional>$file = \
'passwd'</optional></parameter></paramdef> </funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.file-passwd-unix.desc">
&title.desc;
<para>
Initialise un nouvel objet File_Passwd_Unix avec le chemin spécifié \
vers le fichier passwd. </para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.file-passwd-unix.param">
&title.param;
<para>
<variablelist>
<varlistentry>
<term>
&type.string;
<parameter>$file</parameter>
</term>
<listitem>
<para>
chemin vers le fichier passwd
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.file-passwd-unix.return">
&title.returns;
<para>
Retourne un &type.object; <classname>File_Passwd_Unix</classname>.
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.file-passwd-unix.note">
&title.note;
¬e.notstatic;
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/generatepassword.xml?r=1.1&p=1
Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/generatepassword.xml
+++ peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/generatepassword.xml
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready -->
<refentry id="package.fileformats.file-passwd.file-passwd-unix.generatepassword">
<refnamediv>
<refname><function>File_Passwd_Unix::generatePassword</function></refname>
<refpurpose>Génère un mot de passe</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcprototype>
<funcdef>mixed <function>File_Passwd_Unix::generatePassword</function></funcdef>
<paramdef>string <parameter>$pass</parameter></paramdef>
<paramdef>string <parameter><optional>$mode = \
'md5'</optional></parameter></paramdef> <paramdef>string <parameter><optional>$salt \
= null</optional></parameter></paramdef> </funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.generatepassword.desc">
&title.desc;
<para>
Génère un mot de passe de style "Un*x".
</para>
<para>
Le mode de cryptage peut être un des types \
<classname>File_Passwd</classname> fournis, bien que les types \
<constant>FILE_PASSWD_MD5</constant> et <constant>FILE_PASSWD_DES</constant> soient \
les plus commun. </para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.generatepassword.param">
&title.param;
<para>
<variablelist>
<varlistentry>
<term>
&type.string;
<parameter>$pass</parameter>
</term>
<listitem>
<para>
le mot de passe en clair à crypter
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
&type.string;
<parameter>$mode</parameter>
</term>
<listitem>
<para>
le mode de cryptage à utiliser
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
&type.string;
<parameter>$salt</parameter>
</term>
<listitem>
<para>
les particularités à utiliser pour le cryptage \
(généralement vide) </para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.generatepassword.return">
&title.returns;
<para>
Retourne un mot de passe sous la forme d'une chaîne de caractères ou \
<classname>PEAR_Error</classname> \
<constant>FILE_PASSWD_E_INVALID_ENC_MODE</constant> si le mode de cryptage n'est \
pas supporté. </para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.generatepassword.example">
&title.example;
<example id="package.fileformats.file-passwd.file-passwd-unix.generatepassword.example.listing">
<title>File_Passwd_Unix::generatePassword()</title>
<programlisting role="php">
<![CDATA[
require_once 'File/Passwd/Unix.php';
$pass = File_Passwd_Unix::generatePassword('secret', FILE_PASSWD_MD5);
]]>
</programlisting>
</example>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.generatepassword.note">
&title.note;
¬e.shouldstatic;
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/getmap.xml?r=1.1&p=1
Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/getmap.xml
+++ peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/getmap.xml
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready -->
<refentry id="package.fileformats.file-passwd.file-passwd-unix.getmap">
<refnamediv>
<refname><function>File_Passwd_Unix::getMap</function></refname>
<refpurpose>Récupère la carte de nom</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcprototype>
<funcdef>array <function>File_Passwd_Unix::getMap</function></funcdef>
<paramdef />
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.getmap.desc">
&title.desc;
<para>
Récupère la carte de nom qui sera utilisée pour les \
propriétés supplémentaires de l'utilisateur. </para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.getmap.return">
&title.returns;
<para>
Returns &type.array; 'name map'.
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.getmap.see">
&title.see;
<para>
Voir
<link linkend="package.fileformats.file-passwd.file-passwd-unix.setmap">
<function>File_Passwd_Unix::setMap</function>
</link>
</para>
<para>
Voir
<link linkend="package.fileformats.file-passwd.file-passwd-unix.usemap">
<function>File_Passwd_Unix::useMap</function>
</link>
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.getmap.note">
&title.note;
¬e.notstatic;
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/getmode.xml?r=1.1&p=1
Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/getmode.xml
+++ peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/getmode.xml
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready -->
<refentry id="package.fileformats.file-passwd.file-passwd-unix.getmode">
<refnamediv>
<refname><function>File_Passwd_Unix::getMode</function></refname>
<refpurpose>Récupère le mode actuel de cryptage</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcprototype>
<funcdef>string <function>File_Passwd_Unix::getMode</function></funcdef>
<paramdef />
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.getmode.desc">
&title.desc;
<para>
Récupère le mode actuel de cryptage (des|md5).
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.getmode.return">
&title.returns;
<para>
Retourne le mode de cryptage actuel sous la forme d'une chaîne de \
caractères. </para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.getmode.see">
&title.see;
<para>
Voir
<link linkend="package.fileformats.file-passwd.file-passwd-unix.setmode">
<function>File_Passwd_Unix::setMode</function>
</link>
</para>
<para>
Voir
<link linkend="package.fileformats.file-passwd.file-passwd-unix.listmodes">
<function>File_Passwd_Unix::listModes</function>
</link>
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.getmode.note">
&title.note;
¬e.notstatic;
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/isshadowed.xml?r=1.1&p=1
Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/isshadowed.xml
+++ peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/isshadowed.xml
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready -->
<refentry id="package.fileformats.file-passwd.file-passwd-unix.isshadowed">
<refnamediv>
<refname><function>File_Passwd_Unix::isShadowed</function></refname>
<refpurpose>Vérifie si un fichier passwd est ombragé</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcprototype>
<funcdef>boolean <function>File_Passwd_Unix::isShadowed</function></funcdef>
<paramdef />
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.isshadowed.desc">
&title.desc;
<para>
Vérifie si le mot de passe d'un fichier passwd est ombragé dans un \
autre fichier. </para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.isshadowed.return">
&title.returns;
<para>
Retourne un booléen suivant que les mots de passe sont ombragés dans \
un autre fichier ou pas. </para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.isshadowed.note">
&title.note;
¬e.notstatic;
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/listmodes.xml?r=1.1&p=1
Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/listmodes.xml
+++ peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/listmodes.xml
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready -->
<refentry id="package.fileformats.file-passwd.file-passwd-unix.listmodes">
<refnamediv>
<refname><function>File_Passwd_Unix::listModes</function></refname>
<refpurpose>Récupère les modes de cryptage \
supportés</refpurpose> </refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcprototype>
<funcdef>array <function>File_Passwd_Unix::listModes</function></funcdef>
<paramdef />
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.listmodes.desc">
&title.desc;
<para>
Liste les modes de cryptage supportés.
</para>
<para>
<![CDATA[
<pre>
array
+ md5
+ des
</pre>
]]>
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.listmodes.return">
&title.returns;
<para>
Retourne les modes de cryptage supportés sous la forme d'un tableau.
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.listmodes.see">
&title.see;
<para>
Voir
<link linkend="package.fileformats.file-passwd.file-passwd-unix.getmode">
<function>File_Passwd_Unix::getMode</function>
</link>
</para>
<para>
Voir
<link linkend="package.fileformats.file-passwd.file-passwd-unix.setmode">
<function>File_Passwd_Unix::setMode</function>
</link>
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.listmodes.note">
&title.note;
¬e.notstatic;
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/moduser.xml?r=1.1&p=1
Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/moduser.xml
+++ peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/moduser.xml
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready -->
<refentry id="package.fileformats.file-passwd.file-passwd-unix.moduser">
<refnamediv>
<refname><function>File_Passwd_Unix::modUser</function></refname>
<refpurpose>Modifie un utilisateur</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcprototype>
<funcdef>mixed <function>File_Passwd_Unix::modUser</function></funcdef>
<paramdef>string <parameter>$user</parameter></paramdef>
<paramdef>array <parameter><optional>$properties = \
array()</optional></parameter></paramdef> </funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.moduser.desc">
&title.desc;
<para>
Vous ne devriez pas modifier le mot de passe de l'utilisateur avec cette \
méthode, utilisez plutôt <link \
linkend="package.fileformats.file-passwd.file-passwd-unix.changepasswd"> \
<function>File_Passwd_Unix::changePasswd</function> </link>.
</para>
<para>
Vous ne devriez utiliser cette méthode que si la carte de nom est \
utilisée également. </para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.moduser.param">
&title.param;
<para>
<variablelist>
<varlistentry>
<term>
&type.string;
<parameter>$user</parameter>
</term>
<listitem>
<para>
l'utilisateur à modifier
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
&type.array;
<parameter>$properties</parameter>
</term>
<listitem>
<para>
un tableau associatif des propriétés à modifier
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.moduser.return">
&title.returns;
<para>
&return.success-pearerror;
</para>
<para>
<table>
<title>&title.throws.errortable;</title>
<tgroup cols="2">
<thead>
<row>
<entry>Code erreur</entry>
<entry>Signification</entry>
</row>
</thead>
<tbody>
<row>
<entry>FILE_PASSWD_E_EXISTS_NOT</entry>
<entry>l'utilisateur n'existe pas</entry>
</row>
<row>
<entry>FILE_PASSWD_E_INVALID_CHARS</entry>
<entry>une des propriétés supplémentaires contient un \
caractère invalide</entry> </row>
</tbody>
</tgroup>
</table>
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.moduser.see">
&title.see;
<para>
Voir
<link linkend="package.fileformats.file-passwd.file-passwd-unix.usemap">
<function>File_Passwd_Unix::useMap</function>
</link>
</para>
<para>
Voir
<link linkend="package.fileformats.file-passwd.file-passwd-unix.changepasswd">
<function>File_Passwd_Unix::changePasswd</function>
</link>
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.moduser.note">
&title.note;
¬e.notstatic;
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/parse.xml?r=1.1&p=1
Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/parse.xml
+++ peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/parse.xml
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready -->
<refentry id="package.fileformats.file-passwd.file-passwd-unix.parse">
<refnamediv>
<refname><function>File_Passwd_Unix::parse</function></refname>
<refpurpose>Analyse d'un fichier passwd</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcprototype>
<funcdef>mixed <function>File_Passwd_Unix::parse</function></funcdef>
<paramdef />
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.parse.desc">
&title.desc;
<para>
Analyse un fichier unix passwd. &pdevrel;
</para>
<para>
Celà intervient généralement dans
<link linkend="package.fileformats.file-passwd.file-passwd-common.load">
<function>File_Passwd_Unix::load</function>
</link>.
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.parse.return">
&title.returns;
<para>
&return.success-pearerror;
</para>
<para>
Retourne <classname>PEAR_Error</classname>
<constant>FILE_PASSWD_E_INVALID_FORMAT</constant>,
si le fichier passwd a un format invalide.
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.parse.note">
&title.note;
¬e.notstatic;
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/save.xml?r=1.1&p=1
Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/save.xml
+++ peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/save.xml
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready -->
<refentry id="package.fileformats.file-passwd.file-passwd-unix.save">
<refnamediv>
<refname><function>File_Passwd_Unix::save</function></refname>
<refpurpose>Sauvegarde les modifications</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcprototype>
<funcdef>mixed <function>File_Passwd_Unix::save</function></funcdef>
<paramdef />
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.save.desc">
&title.desc;
<para>
Applique les changements et réécrit le fichier passwd.
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.save.return">
&title.returns;
<para>
&return.success-pearerror;
</para>
<para>
<table>
<title>&title.throws.errortable;</title>
<tgroup cols="2">
<thead>
<row>
<entry>Code erreur</entry>
<entry>Signification</entry>
</row>
</thead>
<tbody>
<row>
<entry>FILE_PASSWD_E_DIR_NOT_CREATED</entry>
<entry>le dossier dont le fichier passwd doit appartenir n'a pu être \
créé</entry> </row>
<row>
<entry>FILE_PASSWD_E_FILE_NOT_OPENED</entry>
<entry>le fichier passwd n'a pu être ouvert en écriture</entry>
</row>
<row>
<entry>FILE_PASSWD_E_FILE_NOT_LOCKED</entry>
<entry>le fichier passwd n'a pu être verrouillé \
exclusivement</entry> </row>
<row>
<entry>FILE_PASSWD_E_FILE_NOT_UNLOCKED</entry>
<entry>le fichier passwd n'a pu être déverrouillé</entry>
</row>
<row>
<entry>FILE_PASSWD_E_FILE_NOT_CLOSED</entry>
<entry>le fichier passwd n'a pu être fermé</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.save.note">
&title.note;
¬e.notstatic;
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/setmap.xml?r=1.1&p=1
Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/setmap.xml
+++ peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/setmap.xml
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready -->
<refentry id="package.fileformats.file-passwd.file-passwd-unix.setmap">
<refnamediv>
<refname><function>File_Passwd_Unix::setMap</function></refname>
<refpurpose>Définie une carte de nom</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcprototype>
<funcdef>mixed <function>File_Passwd_Unix::setMap</function></funcdef>
<paramdef>mixed <parameter><optional>$map = \
array()</optional></parameter></paramdef> </funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.setmap.desc">
&title.desc;
<para>Définie une carte de nom à utiliser avec les \
propriétés supplémentaires de l'utilisateur.</para> <para>Cette \
carte est utilisée pour le nommage du tableau associatif contenant les \
propriétés supplémentaires.</para> </refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.setmap.param">
&title.param;
<para>
<variablelist>
<varlistentry>
<term>
&type.array;
<parameter>$map</parameter>
</term>
<listitem>
<para>
la carte de nom
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.setmap.return">
&title.returns;
<para>
&return.success-pearerror;
</para>
<para>
Retourne <classname>PEAR_Error</classname>
<constant>FILE_PASSWD_E_PARAM_MUST_BE_ARRAY</constant>,
si la carte de nom demandée n'est pas un tableau.
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.setmap.see">
&title.see;
<para>
Voir
<link linkend="package.fileformats.file-passwd.file-passwd-unix.usemap">
<function>File_Passwd_Unix::useMap</function>
</link>
</para>
<para>
Voir
<link linkend="package.fileformats.file-passwd.file-passwd-unix.getmap">
<function>File_Passwd_Unix::getMap</function>
</link>
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.setmap.note">
&title.note;
¬e.notstatic;
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/setmode.xml?r=1.1&p=1
Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/setmode.xml
+++ peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/setmode.xml
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready -->
<refentry id="package.fileformats.file-passwd.file-passwd-unix.setmode">
<refnamediv>
<refname><function>File_Passwd_Unix::setMode</function></refname>
<refpurpose>Déifnie le mode de cryptage</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcprototype>
<funcdef>mixed <function>File_Passwd_Unix::setMode</function></funcdef>
<paramdef>string <parameter>$mode</parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.setmode.desc">
&title.desc;
<para>
Définie le mode de cryptage à utiliser.
</para>
<para>Les modes de cryptage supportés sont 'des' et 'md5'.</para>
<para>Vous pouvez les constantes FILE_PASSWD_MD5 et FILE_PASSWD_DES pour \
celà.</para> </refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.setmode.param">
&title.param;
<para>
<variablelist>
<varlistentry>
<term>
&type.string;
<parameter>$mode</parameter>
</term>
<listitem>
<para>
le mode de cryptage à utiliser
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.setmode.return">
&title.returns;
<para>
&return.success-pearerror;
</para>
<para>
Retourne <classname>PEAR_Error</classname>
<constant>FILE_PASSWD_E_INVALID_ENC_MODE</constant>,
si le mode de cryptage demandé n'est pas supporté.
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.setmode.see">
&title.see;
<para>
Voir
<link linkend="package.fileformats.file-passwd.file-passwd-unix.listmodes">
<function>File_Passwd_Unix::listModes</function>
</link>
</para>
<para>
Voir
<link linkend="package.fileformats.file-passwd.file-passwd-unix.getmode">
<function>File_Passwd_Unix::getMode</function>
</link>
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.setmode.note">
&title.note;
¬e.notstatic;
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/staticauth.xml?r=1.1&p=1
Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/staticauth.xml
+++ peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/staticauth.xml
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready -->
<refentry id="package.fileformats.file-passwd.file-passwd-unix.staticauth">
<refnamediv>
<refname><function>File_Passwd_Unix::staticAuth</function></refname>
<refpurpose>Identification rapide</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcsynopsisinfo>
require_once 'File/Passwd/Unix.php';
</funcsynopsisinfo>
<funcprototype>
<funcdef>mixed <function>File_Passwd_Unix::staticAuth</function></funcdef>
<paramdef>string <parameter>$file</parameter></paramdef>
<paramdef>string <parameter>$user</parameter></paramdef>
<paramdef>string <parameter>$pass</parameter></paramdef>
<paramdef>string <parameter>$mode</parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.staticauth.desc">
&title.desc;
<para>
Identification statique d'un utilisateur.
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.staticauth.param">
&title.param;
<para>
<variablelist>
<varlistentry>
<term>
&type.string;
<parameter>$file</parameter>
</term>
<listitem>
<para>
chemin vers le fichier passwd
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
&type.string;
<parameter>$user</parameter>
</term>
<listitem>
<para>
utilisateur à identifier
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
&type.string;
<parameter>$pass</parameter>
</term>
<listitem>
<para>
mot de passe en clair
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
&type.string;
<parameter>$mode</parameter>
</term>
<listitem>
<para>
des ou md5
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.staticauth.return">
&title.returns;
<para>
Returns &true; if authenticated, &false; if not or \
<classname>PEAR_Error</classname> on failure. </para>
<para>
<table>
<title>&title.throws.errortable;</title>
<tgroup cols="2">
<thead>
<row>
<entry>Code erreur</entry>
<entry>Signification</entry>
</row>
</thead>
<tbody>
<row>
<entry>FILE_PASSWD_E_NOT_EXISTS</entry>
<entry>le fichier passwd n'existe pas</entry>
</row>
<row>
<entry>FILE_PASSWD_E_FILE_NOT_OPENED</entry>
<entry>le fichier passwd n'a pu être ouvert en lecture</entry>
</row>
<row>
<entry>FILE_PASSWD_E_FILE_NOT_LOCKED</entry>
<entry>le fichier passwd n'a pu être verrouillé</entry>
</row>
<row>
<entry>FILE_PASSWD_E_FILE_NOT_UNLOCKED</entry>
<entry>le fichier passwd n'a pu être déverrouillé \
(uniquement si l'identification échoue)</entry> </row>
<row>
<entry>FILE_PASSWD_E_FILE_NOT_CLOSED</entry>
<entry>le fichier passwd n'a pu être fermé (uniquement si \
l'identification échoue)</entry> </row>
</tbody>
</tgroup>
</table>
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.staticauth.note">
&title.note;
¬e.shouldstatic;
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/usemap.xml?r=1.1&p=1
Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/usemap.xml
+++ peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/usemap.xml
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready -->
<refentry id="package.fileformats.file-passwd.file-passwd-unix.usemap">
<refnamediv>
<refname><function>File_Passwd_Unix::useMap</function></refname>
<refpurpose>Utilise ou non la carte de nom</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcprototype>
<funcdef>boolean <function>File_Passwd_Unix::useMap</function></funcdef>
<paramdef>boolean <parameter> <optional>$bool = \
null</optional></parameter></paramdef> </funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.usemap.desc">
&title.desc;
<para>
Utilise ou non la carte de nom des propriétés \
supplémentaires. </para>
<para>
Les fichiers passwd Unix, par défaut, ressemble à :
<![CDATA[
user:password:user_id:group_id:gecos:home_dir:shell
]]>
</para>
<para>
La carte de nom par défaut pour les propriétés ormis \
l'utilisateur et le mot de passe ressemble à : <itemizedlist>
<listitem><simpara>uid</simpara></listitem>
<listitem><simpara>gid</simpara></listitem>
<listitem><simpara>gecos</simpara></listitem>
<listitem><simpara>home</simpara></listitem>
<listitem><simpara>shell</simpara></listitem>
</itemizedlist>
Si vous voulez changer le nom de la carte de nom, utilisez
<function>File_Passwd_Unix::setMap</function>.
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.usemap.param">
&title.param;
<para>
<variablelist>
<varlistentry>
<term>
&type.bool;
<parameter>$bool</parameter>
</term>
<listitem>
<para>
utilise ou non la carte de nom
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.usemap.return">
&title.returns;
<para>
Retourne un &type.bool; &true; si vous spécifiez une valeur ou la valeur \
actuelle si appelé sans paramètre. </para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.usemap.see">
&title.see;
<para>
Voir
<link linkend="package.fileformats.file-passwd.file-passwd-unix.getmap">
<function>File_Passwd_Unix::getMap</function>
</link>
</para>
<para>
Voir
<link linkend="package.fileformats.file-passwd.file-passwd-unix.setmap">
<function>File_Passwd_Unix::setMap</function>
</link>
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.usemap.note">
&title.note;
¬e.notstatic;
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
http://cvs.php.net/co.php/peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/verifypasswd.xml?r=1.1&p=1
Index: peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/verifypasswd.xml
+++ peardoc/fr/package/fileformats/file-passwd/file-passwd-unix/verifypasswd.xml
<!-- $Revision: 1.1 $ -->
<!-- EN-Revision: 1.1 Maintainer: yannick Status: ready -->
<refentry id="package.fileformats.file-passwd.file-passwd-unix.verifypasswd">
<refnamediv>
<refname><function>File_Passwd_Unix::verifyPasswd</function></refname>
<refpurpose>Vérifie le mot de passe</refpurpose>
</refnamediv>
<refsynopsisdiv>
<funcsynopsis>
<funcprototype>
<funcdef>mixed <function>File_Passwd_Unix::verifyPasswd</function></funcdef>
<paramdef>string <parameter>$user</parameter></paramdef>
<paramdef>string <parameter>$pass</parameter></paramdef>
</funcprototype>
</funcsynopsis>
</refsynopsisdiv>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.verifypasswd.desc">
&title.desc;
<para>
Vérifie le mot de passe d'un utilisateur.
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.verifypasswd.param">
&title.param;
<para>
<variablelist>
<varlistentry>
<term>
&type.string;
<parameter>$user</parameter>
</term>
<listitem>
<para>
l'utilisateur dont on doit vérifier le mot de passe
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>
&type.string;
<parameter>$pass</parameter>
</term>
<listitem>
<para>
le mot de passe à vérifier
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.verifypasswd.return">
&title.returns;
<para>
Retourne &true; si les mots de passe sont égaux, &false; sinon ou un objet
<classname>PEAR_Error</classname> en cas d'échec.
</para>
<para>
<table>
<title>&title.throws.errortable;</title>
<tgroup cols="2">
<thead>
<row>
<entry>Code erreur</entry>
<entry>Signification</entry>
</row>
</thead>
<tbody>
<row>
<entry>FILE_PASSWD_E_EXISTS_NOT</entry>
<entry>l'utilisateur n'existe pas</entry>
</row>
<row>
<entry>FILE_PASSWD_E_INVALID_ENC_MODE</entry>
<entry>le mode de cryptage actuel n'est pas supporté</entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</refsect1>
<refsect1 id="package.fileformats.file-passwd.file-passwd-unix.verifypasswd.note">
&title.note;
¬e.notstatic;
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
sgml-parent-document:nil
sgml-default-dtd-file:"../../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
--
PEAR Documentation List Mailing List (http://pear.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic