cvs: phpdoc /en/reference/kadm5 book.xml constants.xml examples.xml reference.xml setup.xml
| From: | Hannes Magnusson | Date: | Sun, 23 Dec 2007 20:49:42 +0000 |
| Subject: | cvs: phpdoc /en/reference/kadm5 book.xml constants.xml examples.xml reference.xml setup.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-773@lists.php.net to get a copy of this message | ||
bjori Sun Dec 23 20:49:42 2007 UTC
Modified files:
/phpdoc/en/reference/kadm5 book.xml examples.xml setup.xml
constants.xml reference.xml
Log:
MFB: Upgrade to the new-reference-structure
- (Created missing setup sections in setup.xml, if any)
- Moved the intro to book.xml
- Changed the intro ID from <extname>.intro to intro.<extname>
- Moved the constants entity to book.xml
- Changed constants.xml to be an appendix
- Moved the examples to its own chapter
NOTE: The chapter ID is 'kadm5.examples', the first example is
'kadm5.exmples-connect'
- Commented out the "contact me" from reference.xml
- Moved the resources section to setup.xml
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/kadm5/book.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/kadm5/book.xml diff -u /dev/null phpdoc/en/reference/kadm5/book.xml:1.2 --- /dev/null Sun Dec 23 20:49:42 2007 +++ phpdoc/en/reference/kadm5/book.xml Sun Dec 23 20:49:42 2007 @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.2 $ --> +<!-- Purpose: remote.auth --> +<!-- Membership: pecl --> + +<book xml:id="book.kadm5" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <title>KADM5</title> + + <!-- {{{ preface --> + <preface xml:id="intro.kadm5"> + &reftitle.intro; + <simpara> + These package allows you to access Kerberos V administration servers. + You can create, modify, and delete Kerberos V principals and policies. + </simpara> + <simpara> + More information about Kerberos can be found at <link + xlink:href="&url.kerberos.info;">&url.kerberos.info;</link>. + </simpara> + <simpara> + Documentation for Kerberos and KADM5 can be found at <link + xlink:href="&url.kerberos.docs;">&url.kerberos.docs;</link>. + </simpara> + </preface> + <!-- }}} --> + + &reference.kadm5.setup; + &reference.kadm5.constants; + &reference.kadm5.examples; + &reference.kadm5.reference; + +</book> + +<!-- 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 +indent-tabs-mode:nil +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/viewvc.cgi/phpdoc/en/reference/kadm5/examples.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/kadm5/examples.xml diff -u /dev/null phpdoc/en/reference/kadm5/examples.xml:1.2 --- /dev/null Sun Dec 23 20:49:42 2007 +++ phpdoc/en/reference/kadm5/examples.xml Sun Dec 23 20:49:42 2007 @@ -0,0 +1,69 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.2 $ --> + +<chapter xml:id="kadm5.examples" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + &reftitle.examples; + <section xml:id="kadm5.examples-connect"> + <para> + This simple example shows how to connect, query, print + resulting principals and disconnect from a KADM5 database. + <example> + <title>KADM5 extension overview example</title> + <programlisting role="php"> +<![CDATA[ +<?php + + $handle = kadm5_init_with_password("afs-1", "GONICUS.LOCAL", "admin/admin", "password"); + + print "<h1>get_principals</h1>\n"; + $principals = kadm5_get_principals($handle); + for( $i=0; $i<count($principals); $i++) + print "$principals[$i]<br>\n"; + + print "<h1>get_policies</h1>\n"; + $policies = kadm5_get_policies($handle); + for( $i=0; $i<count($policies); $i++) + print "$policies[$i]<br>\n"; + + print "<h1>get_principal burbach@GONICUS.LOCAL</h1>\n"; + + $options = kadm5_get_principal($handle, "burbach@GONICUS.LOCAL" ); + $keys = array_keys($options); + for( $i=0; $i<count($keys); $i++) { + $value = $options[$keys[$i]]; + print "$keys[$i]: $value<br>\n"; + } + + $options = array(KADM5_PRINC_EXPIRE_TIME => 0); + kadm5_modify_principal($handle, "burbach@GONICUS.LOCAL", $options); + + kadm5_destroy($handle); +?> +]]> + </programlisting> + </example> + </para> + </section> +</chapter> + +<!-- 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 +indent-tabs-mode:nil +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/viewvc.cgi/phpdoc/en/reference/kadm5/setup.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/kadm5/setup.xml diff -u /dev/null phpdoc/en/reference/kadm5/setup.xml:1.2 --- /dev/null Sun Dec 23 20:49:42 2007 +++ phpdoc/en/reference/kadm5/setup.xml Sun Dec 23 20:49:42 2007 @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.2 $ --> + +<chapter xml:id="kadm5.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + &reftitle.setup; + + <!-- {{{ Requirements --> + <section xml:id="kadm5.requirements"> + &reftitle.required; + &no.requirement; + </section> + <!-- }}} --> + + <!-- {{{ Installation --> + <section xml:id="kadm5.installation"> + &reftitle.install; + &no.install; + </section> + <!-- }}} --> + + <!-- {{{ Configuration --> + <section xml:id="kadm5.configuration"> + &reftitle.runtime; + &no.config; + </section> + <!-- }}} --> + + <!-- {{{ Resources --> + <section xml:id="kadm5.resources"> + &reftitle.resources; + <para> + This extension defines a KADM5 handle returned by + <function>kadm5_init_with_password</function>. + </para> + </section> + <!-- }}} --> + +</chapter> + +<!-- 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 +indent-tabs-mode:nil +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/viewvc.cgi/phpdoc/en/reference/kadm5/constants.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/kadm5/constants.xml diff -u phpdoc/en/reference/kadm5/constants.xml:1.2 phpdoc/en/reference/kadm5/constants.xml:1.3 --- phpdoc/en/reference/kadm5/constants.xml:1.2 Wed Jun 20 22:24:48 2007 +++ phpdoc/en/reference/kadm5/constants.xml Sun Dec 23 20:49:42 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<section xml:id="kadm5.constants" xmlns="http://docbook.org/ns/docbook"> +<!-- $Revision: 1.3 $ --> +<appendix xml:id="kadm5.constants" xmlns="http://docbook.org/ns/docbook"> &reftitle.constants; &extension.constants; <section xml:id="kadm5.constantsAF"> @@ -190,7 +190,7 @@ </table> </para> </section> -</section> +</appendix> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/kadm5/reference.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/kadm5/reference.xml diff -u phpdoc/en/reference/kadm5/reference.xml:1.7 phpdoc/en/reference/kadm5/reference.xml:1.8 --- phpdoc/en/reference/kadm5/reference.xml:1.7 Mon Dec 10 17:06:05 2007 +++ phpdoc/en/reference/kadm5/reference.xml Sun Dec 23 20:49:42 2007 @@ -1,82 +1,12 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- Purpose: remote.auth --> -<!-- Membership: pecl --> +<!-- $Revision: 1.8 $ --> <reference xml:id="ref.kadm5" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>KADM5</title> - <titleabbrev>kadm5</titleabbrev> + <!-- FIXME: That "project homepage" is a 404 <partintro> - <section xml:id="kadm5.intro"> - &reftitle.intro; - <simpara> - These package allows you to access Kerberos V administration servers. - You can create, modify, and delete Kerberos V principals and policies. - </simpara> - <simpara> - More information about Kerberos can be found at <link - xlink:href="&url.kerberos.info;">&url.kerberos.info;</link>. - </simpara> - <simpara> - Documentation for Kerberos and KADM5 can be found at <link - xlink:href="&url.kerberos.docs;">&url.kerberos.docs;</link>. - </simpara> - </section> - <section xml:id="kadm5.resources"> - &reftitle.resources; - <para> - This extension defines a KADM5 handle returned by - <function>kadm5_init_with_password</function>. - </para> - </section> - - &reference.kadm5.constants; - - <section xml:id="kadm5.examples"> - &reftitle.examples; - <para> - This simple example shows how to connect, query, print - resulting principals and disconnect from a KADM5 database. - <example> - <title>KADM5 extension overview example</title> - <programlisting role="php"> -<![CDATA[ -<?php - - $handle = kadm5_init_with_password("afs-1", "GONICUS.LOCAL", "admin/admin", "password"); - - print "<h1>get_principals</h1>\n"; - $principals = kadm5_get_principals($handle); - for( $i=0; $i<count($principals); $i++) - print "$principals[$i]<br>\n"; - - print "<h1>get_policies</h1>\n"; - $policies = kadm5_get_policies($handle); - for( $i=0; $i<count($policies); $i++) - print "$policies[$i]<br>\n"; - - print "<h1>get_principal burbach@GONICUS.LOCAL</h1>\n"; - - $options = kadm5_get_principal($handle, "burbach@GONICUS.LOCAL" ); - $keys = array_keys($options); - for( $i=0; $i<count($keys); $i++) { - $value = $options[$keys[$i]]; - print "$keys[$i]: $value<br>\n"; - } - - $options = array(KADM5_PRINC_EXPIRE_TIME => 0); - kadm5_modify_principal($handle, "burbach@GONICUS.LOCAL", $options); - - kadm5_destroy($handle); -?> -]]> - </programlisting> - </example> - </para> - </section> - - <section xml:id="kadm5.contact"> + <section xml:id="kadm5.contact"> <title>Contact Information</title> <para> If you have comments, bugfixes, enhancements or want to help @@ -86,8 +16,8 @@ <link xlink:href="&url.kadm5;">&url.kadm5;</link>. </para> </section> - </partintro> + --> &reference.kadm5.entities.functions;
http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/kadm5/book.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/kadm5/book.xml diff -u /dev/null phpdoc/en/reference/kadm5/book.xml:1.2 --- /dev/null Sun Dec 23 20:49:42 2007 +++ phpdoc/en/reference/kadm5/book.xml Sun Dec 23 20:49:42 2007 @@ -0,0 +1,54 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.2 $ --> +<!-- Purpose: remote.auth --> +<!-- Membership: pecl --> + +<book xml:id="book.kadm5" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + <title>KADM5</title> + + <!-- {{{ preface --> + <preface xml:id="intro.kadm5"> + &reftitle.intro; + <simpara> + These package allows you to access Kerberos V administration servers. + You can create, modify, and delete Kerberos V principals and policies. + </simpara> + <simpara> + More information about Kerberos can be found at <link + xlink:href="&url.kerberos.info;">&url.kerberos.info;</link>. + </simpara> + <simpara> + Documentation for Kerberos and KADM5 can be found at <link + xlink:href="&url.kerberos.docs;">&url.kerberos.docs;</link>. + </simpara> + </preface> + <!-- }}} --> + + &reference.kadm5.setup; + &reference.kadm5.constants; + &reference.kadm5.examples; + &reference.kadm5.reference; + +</book> + +<!-- 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 +indent-tabs-mode:nil +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/viewvc.cgi/phpdoc/en/reference/kadm5/examples.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/kadm5/examples.xml diff -u /dev/null phpdoc/en/reference/kadm5/examples.xml:1.2 --- /dev/null Sun Dec 23 20:49:42 2007 +++ phpdoc/en/reference/kadm5/examples.xml Sun Dec 23 20:49:42 2007 @@ -0,0 +1,69 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.2 $ --> + +<chapter xml:id="kadm5.examples" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + &reftitle.examples; + <section xml:id="kadm5.examples-connect"> + <para> + This simple example shows how to connect, query, print + resulting principals and disconnect from a KADM5 database. + <example> + <title>KADM5 extension overview example</title> + <programlisting role="php"> +<![CDATA[ +<?php + + $handle = kadm5_init_with_password("afs-1", "GONICUS.LOCAL", "admin/admin", "password"); + + print "<h1>get_principals</h1>\n"; + $principals = kadm5_get_principals($handle); + for( $i=0; $i<count($principals); $i++) + print "$principals[$i]<br>\n"; + + print "<h1>get_policies</h1>\n"; + $policies = kadm5_get_policies($handle); + for( $i=0; $i<count($policies); $i++) + print "$policies[$i]<br>\n"; + + print "<h1>get_principal burbach@GONICUS.LOCAL</h1>\n"; + + $options = kadm5_get_principal($handle, "burbach@GONICUS.LOCAL" ); + $keys = array_keys($options); + for( $i=0; $i<count($keys); $i++) { + $value = $options[$keys[$i]]; + print "$keys[$i]: $value<br>\n"; + } + + $options = array(KADM5_PRINC_EXPIRE_TIME => 0); + kadm5_modify_principal($handle, "burbach@GONICUS.LOCAL", $options); + + kadm5_destroy($handle); +?> +]]> + </programlisting> + </example> + </para> + </section> +</chapter> + +<!-- 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 +indent-tabs-mode:nil +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/viewvc.cgi/phpdoc/en/reference/kadm5/setup.xml?r1=1.1&r2=1.2&diff_format=u Index: phpdoc/en/reference/kadm5/setup.xml diff -u /dev/null phpdoc/en/reference/kadm5/setup.xml:1.2 --- /dev/null Sun Dec 23 20:49:42 2007 +++ phpdoc/en/reference/kadm5/setup.xml Sun Dec 23 20:49:42 2007 @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- $Revision: 1.2 $ --> + +<chapter xml:id="kadm5.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> + &reftitle.setup; + + <!-- {{{ Requirements --> + <section xml:id="kadm5.requirements"> + &reftitle.required; + &no.requirement; + </section> + <!-- }}} --> + + <!-- {{{ Installation --> + <section xml:id="kadm5.installation"> + &reftitle.install; + &no.install; + </section> + <!-- }}} --> + + <!-- {{{ Configuration --> + <section xml:id="kadm5.configuration"> + &reftitle.runtime; + &no.config; + </section> + <!-- }}} --> + + <!-- {{{ Resources --> + <section xml:id="kadm5.resources"> + &reftitle.resources; + <para> + This extension defines a KADM5 handle returned by + <function>kadm5_init_with_password</function>. + </para> + </section> + <!-- }}} --> + +</chapter> + +<!-- 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 +indent-tabs-mode:nil +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/viewvc.cgi/phpdoc/en/reference/kadm5/constants.xml?r1=1.2&r2=1.3&diff_format=u Index: phpdoc/en/reference/kadm5/constants.xml diff -u phpdoc/en/reference/kadm5/constants.xml:1.2 phpdoc/en/reference/kadm5/constants.xml:1.3 --- phpdoc/en/reference/kadm5/constants.xml:1.2 Wed Jun 20 22:24:48 2007 +++ phpdoc/en/reference/kadm5/constants.xml Sun Dec 23 20:49:42 2007 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.2 $ --> -<section xml:id="kadm5.constants" xmlns="http://docbook.org/ns/docbook"> +<!-- $Revision: 1.3 $ --> +<appendix xml:id="kadm5.constants" xmlns="http://docbook.org/ns/docbook"> &reftitle.constants; &extension.constants; <section xml:id="kadm5.constantsAF"> @@ -190,7 +190,7 @@ </table> </para> </section> -</section> +</appendix> <!-- Keep this comment at the end of the file Local variables: http://cvs.php.net/viewvc.cgi/phpdoc/en/reference/kadm5/reference.xml?r1=1.7&r2=1.8&diff_format=u Index: phpdoc/en/reference/kadm5/reference.xml diff -u phpdoc/en/reference/kadm5/reference.xml:1.7 phpdoc/en/reference/kadm5/reference.xml:1.8 --- phpdoc/en/reference/kadm5/reference.xml:1.7 Mon Dec 10 17:06:05 2007 +++ phpdoc/en/reference/kadm5/reference.xml Sun Dec 23 20:49:42 2007 @@ -1,82 +1,12 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.7 $ --> -<!-- Purpose: remote.auth --> -<!-- Membership: pecl --> +<!-- $Revision: 1.8 $ --> <reference xml:id="ref.kadm5" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>KADM5</title> - <titleabbrev>kadm5</titleabbrev> + <!-- FIXME: That "project homepage" is a 404 <partintro> - <section xml:id="kadm5.intro"> - &reftitle.intro; - <simpara> - These package allows you to access Kerberos V administration servers. - You can create, modify, and delete Kerberos V principals and policies. - </simpara> - <simpara> - More information about Kerberos can be found at <link - xlink:href="&url.kerberos.info;">&url.kerberos.info;</link>. - </simpara> - <simpara> - Documentation for Kerberos and KADM5 can be found at <link - xlink:href="&url.kerberos.docs;">&url.kerberos.docs;</link>. - </simpara> - </section> - <section xml:id="kadm5.resources"> - &reftitle.resources; - <para> - This extension defines a KADM5 handle returned by - <function>kadm5_init_with_password</function>. - </para> - </section> - - &reference.kadm5.constants; - - <section xml:id="kadm5.examples"> - &reftitle.examples; - <para> - This simple example shows how to connect, query, print - resulting principals and disconnect from a KADM5 database. - <example> - <title>KADM5 extension overview example</title> - <programlisting role="php"> -<![CDATA[ -<?php - - $handle = kadm5_init_with_password("afs-1", "GONICUS.LOCAL", "admin/admin", "password"); - - print "<h1>get_principals</h1>\n"; - $principals = kadm5_get_principals($handle); - for( $i=0; $i<count($principals); $i++) - print "$principals[$i]<br>\n"; - - print "<h1>get_policies</h1>\n"; - $policies = kadm5_get_policies($handle); - for( $i=0; $i<count($policies); $i++) - print "$policies[$i]<br>\n"; - - print "<h1>get_principal burbach@GONICUS.LOCAL</h1>\n"; - - $options = kadm5_get_principal($handle, "burbach@GONICUS.LOCAL" ); - $keys = array_keys($options); - for( $i=0; $i<count($keys); $i++) { - $value = $options[$keys[$i]]; - print "$keys[$i]: $value<br>\n"; - } - - $options = array(KADM5_PRINC_EXPIRE_TIME => 0); - kadm5_modify_principal($handle, "burbach@GONICUS.LOCAL", $options); - - kadm5_destroy($handle); -?> -]]> - </programlisting> - </example> - </para> - </section> - - <section xml:id="kadm5.contact"> + <section xml:id="kadm5.contact"> <title>Contact Information</title> <para> If you have comments, bugfixes, enhancements or want to help @@ -86,8 +16,8 @@ <link xlink:href="&url.kadm5;">&url.kadm5;</link>. </para> </section> - </partintro> + --> &reference.kadm5.entities.functions;