cvs: 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

From: Date: Thu, 29 Jul 2004 15:44:43 +0000
Subject: cvs: 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
Groups: php.pear.doc 
Request: Send a blank email to pear-doc+get-4691@lists.php.net to get a copy of this message
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

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&egrave;re alphanum&eacute;rique et ne doit PAS contenir d'autres caract&egrave;res que des caract&egrave;res alphanum&eacute;riques, un underline (_) et le tiret (-). </para> <para> Si vous utilisez la 'carte de nom', vous devez &eacute;galement utiliser ce nommage dans le tableau fourni, car vos valeurs seront m&eacute;lang&eacute;es vers le haut si elles sont dans le mauvais ordre, ce qui est &eacute;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&eacute;, l'utilisateur sera tout de m&ecirc;me ajout&eacute; mais avec un mot de passe 'x' et une erreur PEAR_Error sera &eacute;galement retourn&eacute;. </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 &agrave; ajouter </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$pass</parameter> </term> <listitem> <para> le mot de passe de l'utilisateur &agrave; ajouter </para> </listitem> </varlistentry> <varlistentry> <term> &type.array; <parameter>$extra</parameter> </term> <listitem> <para> propri&eacute;t&eacute;s suppl&eacute;mentaires de l'utilisateur &agrave; 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&eacute;j&agrave;</entry> </row> <row> <entry>FILE_PASSWD_E_INVALID_CHARS</entry> <entry>le nom de l'utilisateur contient des caract&egrave;res invalides</entry> </row> <row> <entry>FILE_PASSWD_E_INVALID_CHARS</entry> <entry>une des propri&eacute;t&eacute;s suppl&eacute;mentaires contient un caract&egrave;res invalide</entry> </row> <row> <entry>FILE_PASSWD_E_INVALID_ENC_MODE</entry> <entry>le mode de cryptage actuel n'est pas support&eacute;</entry> </row> <row> <entry>FILE_PASSWD_E_UNDEFINED</entry> <entry>si le fichier passwd est crypt&eacute;</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-unix.adduser.note"> &title.note; &note.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 &ecirc;tre modifi&eacute; </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&eacute;</entry> </row> <row> <entry>FILE_PASSWD_UNDEFINED</entry> <entry>si le fichier passwd est crypt&eacute;</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-unix.changepasswd.note"> &title.note; &note.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 &amp;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&eacute;cifi&eacute; 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; &note.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&eacute;n&egrave;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&eacute;n&egrave;re un mot de passe de style &quot;Un*x&quot;. </para> <para> Le mode de cryptage peut &ecirc;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 &agrave; crypter </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$mode</parameter> </term> <listitem> <para> le mode de cryptage &agrave; utiliser </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$salt</parameter> </term> <listitem> <para> les particularit&eacute;s &agrave; utiliser pour le cryptage (g&eacute;n&eacute;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&icirc;ne de caract&egrave;res ou <classname>PEAR_Error</classname> <constant>FILE_PASSWD_E_INVALID_ENC_MODE</constant> si le mode de cryptage n'est pas support&eacute;. </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; &note.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&eacute;cup&egrave;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&eacute;cup&egrave;re la carte de nom qui sera utilis&eacute;e pour les propri&eacute;t&eacute;s suppl&eacute;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; &note.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&eacute;cup&egrave;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&eacute;cup&egrave;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&icirc;ne de caract&egrave;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; &note.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&eacute;rifie si un fichier passwd est ombrag&eacute;</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&eacute;rifie si le mot de passe d'un fichier passwd est ombrag&eacute; dans un autre fichier. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-unix.isshadowed.return"> &title.returns; <para> Retourne un bool&eacute;en suivant que les mots de passe sont ombrag&eacute;s dans un autre fichier ou pas. </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-unix.isshadowed.note"> &title.note; &note.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&eacute;cup&egrave;re les modes de cryptage support&eacute;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&eacute;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&eacute;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; &note.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&eacute;thode, utilisez plut&ocirc;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&eacute;thode que si la carte de nom est utilis&eacute;e &eacute;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 &agrave; modifier </para> </listitem> </varlistentry> <varlistentry> <term> &type.array; <parameter>$properties</parameter> </term> <listitem> <para> un tableau associatif des propri&eacute;t&eacute;s &agrave; 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&eacute;t&eacute;s suppl&eacute;mentaires contient un caract&egrave;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; &note.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&agrave; intervient g&eacute;n&eacute;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; &note.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&eacute;&eacute;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 &ecirc;tre cr&eacute;&eacute;</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_OPENED</entry> <entry>le fichier passwd n'a pu &ecirc;tre ouvert en &eacute;criture</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_LOCKED</entry> <entry>le fichier passwd n'a pu &ecirc;tre verrouill&eacute; exclusivement</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_UNLOCKED</entry> <entry>le fichier passwd n'a pu &ecirc;tre d&eacute;verrouill&eacute;</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_CLOSED</entry> <entry>le fichier passwd n'a pu &ecirc;tre ferm&eacute;</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-unix.save.note"> &title.note; &note.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&eacute;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&eacute;finie une carte de nom &agrave; utiliser avec les propri&eacute;t&eacute;s suppl&eacute;mentaires de l'utilisateur.</para> <para>Cette carte est utilis&eacute;e pour le nommage du tableau associatif contenant les propri&eacute;t&eacute;s suppl&eacute;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&eacute;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; &note.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&eacute;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&eacute;finie le mode de cryptage &agrave; utiliser. </para> <para>Les modes de cryptage support&eacute;s sont 'des' et 'md5'.</para> <para>Vous pouvez les constantes FILE_PASSWD_MD5 et FILE_PASSWD_DES pour cel&agrave;.</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 &agrave; 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&eacute; n'est pas support&eacute;. </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; &note.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 &agrave; 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 &ecirc;tre ouvert en lecture</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_LOCKED</entry> <entry>le fichier passwd n'a pu &ecirc;tre verrouill&eacute;</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_UNLOCKED</entry> <entry>le fichier passwd n'a pu &ecirc;tre d&eacute;verrouill&eacute; (uniquement si l'identification &eacute;choue)</entry> </row> <row> <entry>FILE_PASSWD_E_FILE_NOT_CLOSED</entry> <entry>le fichier passwd n'a pu &ecirc;tre ferm&eacute; (uniquement si l'identification &eacute;choue)</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-unix.staticauth.note"> &title.note; &note.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&eacute;t&eacute;s suppl&eacute;mentaires. </para> <para> Les fichiers passwd Unix, par d&eacute;faut, ressemble &agrave; : <![CDATA[ user:password:user_id:group_id:gecos:home_dir:shell ]]> </para> <para> La carte de nom par d&eacute;faut pour les propri&eacute;t&eacute;s ormis l'utilisateur et le mot de passe ressemble &agrave; : <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&eacute;cifiez une valeur ou la valeur actuelle si appel&eacute; sans param&egrave;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; &note.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&eacute;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&eacute;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&eacute;rifier le mot de passe </para> </listitem> </varlistentry> <varlistentry> <term> &type.string; <parameter>$pass</parameter> </term> <listitem> <para> le mot de passe &agrave; v&eacute;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 &eacute;gaux, &false; sinon ou un objet <classname>PEAR_Error</classname> en cas d'&eacute;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&eacute;</entry> </row> </tbody> </tgroup> </table> </para> </refsect1> <refsect1 id="package.fileformats.file-passwd.file-passwd-unix.verifypasswd.note"> &title.note; &note.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 -->
« previous php.pear.doc (#4691) next »