source: postlfs/security/mitkrb.xml@ 33f65424

11.2 11.3 12.0 12.1 12.2 gimp3 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/for-12.3 xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/xf86-video-removal
Last change on this file since 33f65424 was aa59fb31, checked in by Pierre Labastie <pierre.labastie@…>, 2 years ago

Fix patch version in kerberos "patch" command

  • Property mode set to 100644
File size: 31.2 KB
RevLine 
[b4b71892]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[b4b71892]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[c82398b2]7 <!ENTITY mitkrb-download-http "https://kerberos.org/dist/krb5/&mitkrb-major-version;/krb5-&mitkrb-version;.tar.gz">
[fa47d680]8 <!ENTITY mitkrb-download-ftp " ">
[1aa7410a]9 <!ENTITY mitkrb-md5sum "37722be6228da68ea83a008f782c7f53">
[fa50ece]10 <!ENTITY mitkrb-size "8.3 MB">
[1aa7410a]11 <!ENTITY mitkrb-buildsize "132 MB (add 15 MB for tests)">
12 <!ENTITY mitkrb-time "0.6 SBU (Using parallelism=4; add 0.8 SBU for tests)">
[b4b71892]13]>
14
[f91ceaa]15<sect1 id="mitkrb" xreflabel="MIT Kerberos V5-&mitkrb-version;">
[93c27d5]16 <?dbhtml filename="mitkrb.html"?>
17
18 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
21
[f91ceaa]22 <title>MIT Kerberos V5-&mitkrb-version;</title>
[93c27d5]23
24 <indexterm zone="mitkrb">
[f91ceaa]25 <primary sortas="a-MIT-Kerberos">MIT Kerberos V5</primary>
[93c27d5]26 </indexterm>
27
28 <sect2 role="package">
[f91ceaa]29 <title>Introduction to MIT Kerberos V5</title>
[93c27d5]30
[fa47d680]31 <para>
32 <application>MIT Kerberos V5</application> is a free implementation
33 of Kerberos 5. Kerberos is a network authentication protocol. It
34 centralizes the authentication database and uses kerberized
35 applications to work with servers or services that support Kerberos
36 allowing single logins and encrypted communication over internal
37 networks or the Internet.
38 </para>
[93c27d5]39
[ca783379]40 &lfs111_checked;
[597a2890]41
[93c27d5]42 <bridgehead renderas="sect3">Package Information</bridgehead>
43 <itemizedlist spacing="compact">
44 <listitem>
[fa47d680]45 <para>
46 Download (HTTP): <ulink url="&mitkrb-download-http;"/>
47 </para>
[93c27d5]48 </listitem>
[29d1c248]49 <listitem>
[fa47d680]50 <para>
51 Download (FTP): <ulink url="&mitkrb-download-ftp;"/>
52 </para>
[29d1c248]53 </listitem>
[93c27d5]54 <listitem>
[fa47d680]55 <para>
56 Download MD5 sum: &mitkrb-md5sum;
57 </para>
[93c27d5]58 </listitem>
59 <listitem>
[fa47d680]60 <para>
61 Download size: &mitkrb-size;
62 </para>
[93c27d5]63 </listitem>
64 <listitem>
[fa47d680]65 <para>
66 Estimated disk space required: &mitkrb-buildsize;
67 </para>
[93c27d5]68 </listitem>
69 <listitem>
[fa47d680]70 <para>
71 Estimated build time: &mitkrb-time;
72 </para>
[93c27d5]73 </listitem>
74 </itemizedlist>
[af22057]75
[2189c53]76 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
[afe14ff]77 <itemizedlist spacing="compact">
78 <listitem>
79 <para>
80 Required patch:
81 <ulink url="&patch-root;/mitkrb-&mitkrb-version;-openssl3_fixes-1.patch"/>
82 </para>
83 </listitem>
84 </itemizedlist>
85
[f91ceaa]86 <bridgehead renderas="sect3">MIT Kerberos V5 Dependencies</bridgehead>
[93c27d5]87
88 <bridgehead renderas="sect4">Optional</bridgehead>
[fa47d680]89 <para role="optional">
[f4002c5]90 <!-- <xref linkend="dejagnu"/> (for full test coverage), -->
[5c4a616]91 <xref linkend="bind-utils"/>,
[bf7a21dd]92 <xref linkend="gnupg2"/> (to authenticate the package),
[fa47d680]93 <xref linkend="keyutils"/>,
[294e6bd]94 <xref linkend="openldap"/>,<!-- Seems so that mit has its own
95 implementation of rpc now.
96 <xref linkend="rpcbind"/> (used during the testsuite),-->
[fa50ece]97 <xref linkend="valgrind"/> (used during the testsuite),
[5c4a616]98 <xref linkend="yasm"/>,
[f99ea56]99 <ulink url="http://thrysoee.dk/editline/">libedit</ulink>,
[fa50ece]100 <ulink url="https://cmocka.org/">cmocka</ulink>,
101 <ulink url="https://pypi.org/project/pyrad/">pyrad</ulink>, and
102 <ulink url="https://cwrap.org/resolv_wrapper.html">resolv_wrapper</ulink>
[fa47d680]103 </para>
[93c27d5]104
105 <note>
[fa47d680]106 <para>
107 Some sort of time synchronization facility on your system (like
108 <xref linkend="ntp"/>) is required since Kerberos won't authenticate
109 if there is a time difference between a kerberized client and the
110 KDC server.
111 </para>
[93c27d5]112 </note>
[af22057]113
[3597eb6]114 <para condition="html" role="usernotes">User Notes:
[fa47d680]115 <ulink url="&blfs-wiki;/mitkrb"/>
116 </para>
[93c27d5]117 </sect2>
118
119 <sect2 role="installation">
[f91ceaa]120 <title>Installation of MIT Kerberos V5</title>
[93c27d5]121
[afe14ff]122 <para>
123 Next, fix several issues identified by OpenSSL-3:
124 </para>
125
[aa59fb31]126<screen><userinput remap="pre">patch -Np1 -i ../mitkrb-&mitkrb-version;-openssl3_fixes-1.patch</userinput></screen>
[afe14ff]127
[fa47d680]128 <para>
129 Build <application>MIT Kerberos V5</application> by running the
130 following commands:
131 </para>
[93c27d5]132
[af21cbe2]133<screen><userinput>cd src &amp;&amp;
[5c4a616]134
[f22b905]135sed -i -e 's@\^u}@^u cols 300}@' tests/dejagnu/config/default.exp &amp;&amp;
136sed -i -e '/eq 0/{N;s/12 //}' plugins/kdb/db2/libdb2/test/run.test &amp;&amp;
[5c4a616]137sed -i '/t_iprop.py/d' tests/Makefile.in &amp;&amp;
[096aa70]138
[afe14ff]139autoreconf -fiv &amp;&amp;
140
[bf7a21dd]141./configure --prefix=/usr \
142 --sysconfdir=/etc \
143 --localstatedir=/var/lib \
[5c4a616]144 --runstatedir=/run \
[256e1e84]145 --with-system-et \
146 --with-system-ss \
[6e08e9c0]147 --with-system-verto=no \
[597a2890]148 --enable-dns-for-realm &amp;&amp;
[93c27d5]149make</userinput></screen>
150
[fa47d680]151 <para>
[096aa70]152 To test the build, issue as the <systemitem
[6332a8ad]153 class="username">root</systemitem> user: <command>make -k -j1 check</command>.
[f4002c5]154 <!-- You need at least <xref link end="tcl"/>, which is used to drive the
155 testsuite. Furthermore, <xref link end="dejagnu"/> must be available for
156 some of the tests to run.--> If you have a former version of MIT Kerberos V5
157 installed, it may happen that the test suite may pick up the installed
[096aa70]158 versions of the libraries, rather than the newly built ones. If so, it is
[3d6fbea9]159 better to run the tests after the installation. Some tests may fail with
160 the latest version of dejagnu and glibc.
[6332a8ad]161 <!-- Note: on my laptop -j8 fails but -j1 passes -->
[fa47d680]162 </para>
[f91ceaa]163
[fa47d680]164 <para>
165 Now, as the <systemitem class="username">root</systemitem> user:
166 </para>
[93c27d5]167
168<screen role="root"><userinput>make install &amp;&amp;
[f91ceaa]169
[98dd5b8]170install -v -dm755 /usr/share/doc/krb5-&mitkrb-version; &amp;&amp;
[ea6894f]171cp -vfr ../doc/* /usr/share/doc/krb5-&mitkrb-version;</userinput></screen>
[af22057]172
[93c27d5]173 </sect2>
174
175 <sect2 role="commands">
176 <title>Command Explanations</title>
[af22057]177
[debb0893]178 <para>
[8558044]179 The first <command>sed</command> increases the width of the virtual
[5c4a616]180 terminal used for some tests to prevent some spurious text in the output
181 which is taken as a failure. The second <command>sed</command> removes a
182 test that is known to fail. The third <command>sed</command> removes a
183 test that is known to hang.
[debb0893]184 </para>
185
[fa47d680]186 <para>
[f1d7196]187 <parameter>--localstatedir=/var/lib</parameter>: This option is
[5c4a616]188 used so that the Kerberos variable runtime data is located in
[4453848]189 <filename class="directory">/var/lib</filename> instead of
190 <filename class="directory">/usr/var</filename>.
[fa47d680]191 </para>
[256e1e84]192
[5c4a616]193 <para>
194 <parameter>--runstatedir=/run</parameter>: This option is used so that
195 the Kerberos runtime state information is located in
196 <filename class="directory">/run</filename> instead of the deprecated
197 <filename class="directory">/var/run</filename>.
198 </para>
199
[fa47d680]200 <para>
[256e1e84]201 <parameter>--with-system-et</parameter>: This switch causes the build
[fa47d680]202 to use the system-installed versions of the error-table support
203 software.
204 </para>
205
206 <para>
[256e1e84]207 <parameter>--with-system-ss</parameter>: This switch causes the build
[fa47d680]208 to use the system-installed versions of the subsystem command-line
209 interface software.
210 </para>
211
[6e08e9c0]212 <para>
[f1d7196]213 <parameter>--with-system-verto=no</parameter>: This switch fixes a bug in
[6e08e9c0]214 the package: it does not recognize its own verto library installed
215 previously. This is not a problem, if reinstalling the same version,
216 but if you are updating, the old library is used as system's one,
217 instead of installing the new version.
218 </para>
219
[fa47d680]220 <para>
[f1d7196]221 <parameter>--enable-dns-for-realm</parameter>: This switch allows
[4453848]222 realms to be resolved using the DNS server.
[fa47d680]223 </para>
224
225 <para>
[2f12da13]226 <option>--with-ldap</option>: Use this switch if you want to compile the
[096aa70]227 <application>OpenLDAP</application> database backend module.
228 </para>
229
[93c27d5]230 </sect2>
231
232 <sect2 role="configuration">
[f91ceaa]233 <title>Configuring MIT Kerberos V5</title>
[af22057]234
[93c27d5]235 <sect3 id="krb5-config">
236 <title>Config Files</title>
237
[fa47d680]238 <para>
239 <filename>/etc/krb5.conf</filename> and
240 <filename>/var/lib/krb5kdc/kdc.conf</filename>
241 </para>
[93c27d5]242
243 <indexterm zone="mitkrb krb5-config">
[597a2890]244 <primary sortas="e-etc-krb5.conf">/etc/krb5.conf</primary>
[93c27d5]245 </indexterm>
246
247 <indexterm zone="mitkrb krb5-config">
248 <primary sortas="e-var-lib-krb5kdc-kdc.conf">/var/lib/krb5kdc/kdc.conf</primary>
249 </indexterm>
250
251 </sect3>
252
253 <sect3>
254 <title>Configuration Information</title>
255
256 <sect4>
257 <title>Kerberos Configuration</title>
258
[f91ceaa]259 <tip>
[fa47d680]260 <para>
261 You should consider installing some sort of password checking
262 dictionary so that you can configure the installation to only
263 accept strong passwords. A suitable dictionary to use is shown in
264 the <xref linkend="cracklib"/> instructions. Note that only one
265 file can be used, but you can concatenate many files into one. The
266 configuration file shown below assumes you have installed a
267 dictionary to <filename>/usr/share/dict/words</filename>.
268 </para>
[f91ceaa]269 </tip>
270
[fa47d680]271 <para>
272 Create the Kerberos configuration file with the following
273 commands issued by the <systemitem class="username">root</systemitem>
274 user:
275 </para>
[93c27d5]276
[597a2890]277<screen role="root"><userinput>cat &gt; /etc/krb5.conf &lt;&lt; "EOF"
278<literal># Begin /etc/krb5.conf
[dc04b84]279
[b4b71892]280[libdefaults]
[ea6bb02]281 default_realm = <replaceable>&lt;EXAMPLE.ORG&gt;</replaceable>
[b4b71892]282 encrypt = true
283
284[realms]
[ea6bb02]285 <replaceable>&lt;EXAMPLE.ORG&gt;</replaceable> = {
286 kdc = <replaceable>&lt;belgarath.example.org&gt;</replaceable>
287 admin_server = <replaceable>&lt;belgarath.example.org&gt;</replaceable>
[f91ceaa]288 dict_file = /usr/share/dict/words
[b4b71892]289 }
290
291[domain_realm]
[ea6bb02]292 .<replaceable>&lt;example.org&gt;</replaceable> = <replaceable>&lt;EXAMPLE.ORG&gt;</replaceable>
[b4b71892]293
294[logging]
[d24ce70c]295 kdc = SYSLOG:INFO:AUTH
296 admin_server = SYSLOG:INFO:AUTH
297 default = SYSLOG:DEBUG:DAEMON
[b4b71892]298
[597a2890]299# End /etc/krb5.conf</literal>
[93c27d5]300EOF</userinput></screen>
301
[fa47d680]302 <para>
303 You will need to substitute your domain and proper hostname for the
304 occurrences of the <replaceable>&lt;belgarath&gt;</replaceable> and
[ea6bb02]305 <replaceable>&lt;example.org&gt;</replaceable> names.
[fa47d680]306 </para>
307
308 <para>
309 <option>default_realm</option> should be the name of your
310 domain changed to ALL CAPS. This isn't required, but both
311 <application>Heimdal</application> and MIT recommend it.
312 </para>
313
314 <para>
315 <option>encrypt = true</option> provides encryption of all traffic
316 between kerberized clients and servers. It's not necessary and can
317 be left off. If you leave it off, you can encrypt all traffic from
318 the client to the server using a switch on the client program
319 instead.
320 </para>
321
322 <para>
323 The <option>[realms]</option> parameters tell the client programs
324 where to look for the KDC authentication services.
325 </para>
326
327 <para>
328 The <option>[domain_realm]</option> section maps a domain to a realm.
329 </para>
330
331 <para>
332 Create the KDC database:
333 </para>
[93c27d5]334
[ea6bb02]335<screen role="root"><userinput>kdb5_util create -r <replaceable>&lt;EXAMPLE.ORG&gt;</replaceable> -s</userinput></screen>
[93c27d5]336
[fa47d680]337 <para>
[601a838]338 Now you should populate the database with principals
[fa47d680]339 (users). For now, just use your regular login name or
340 <systemitem class="username">root</systemitem>.
341 </para>
[93c27d5]342
343<screen role="root"><userinput>kadmin.local
[bf7a21dd]344<prompt>kadmin.local:</prompt> add_policy dict-only
345<prompt>kadmin.local:</prompt> addprinc -policy dict-only <replaceable>&lt;loginname&gt;</replaceable></userinput></screen>
[93c27d5]346
[fa47d680]347 <para>
348 The KDC server and any machine running kerberized
349 server daemons must have a host key installed:
350 </para>
[93c27d5]351
[ea6bb02]352<screen role="root"><userinput><prompt>kadmin.local:</prompt> addprinc -randkey host/<replaceable>&lt;belgarath.example.org&gt;</replaceable></userinput></screen>
[93c27d5]353
[fa47d680]354 <para>
355 After choosing the defaults when prompted, you will have to
356 export the data to a keytab file:
357 </para>
[93c27d5]358
[ea6bb02]359<screen role="root"><userinput><prompt>kadmin.local:</prompt> ktadd host/<replaceable>&lt;belgarath.example.org&gt;</replaceable></userinput></screen>
[93c27d5]360
[fa47d680]361 <para>
362 This should have created a file in
363 <filename class="directory">/etc</filename> named
364 <filename>krb5.keytab</filename> (Kerberos 5). This file should
365 have 600 (<systemitem class="username">root</systemitem> rw only)
366 permissions. Keeping the keytab files from public access is crucial
367 to the overall security of the Kerberos installation.
368 </para>
[93c27d5]369
[fa47d680]370 <para>
371 Exit the <command>kadmin</command> program (use
372 <command>quit</command> or <command>exit</command>) and return
373 back to the shell prompt. Start the KDC daemon manually, just to
374 test out the installation:
375 </para>
[93c27d5]376
[fa47d680]377<screen role="root"><userinput>/usr/sbin/krb5kdc</userinput></screen>
[93c27d5]378
[fa47d680]379 <para>
380 Attempt to get a ticket with the following command:
381 </para>
[93c27d5]382
[3597eb6]383<screen><userinput>kinit <replaceable>&lt;loginname&gt;</replaceable></userinput></screen>
[93c27d5]384
[fa47d680]385 <para>
386 You will be prompted for the password you created. After you
387 get your ticket, you can list it with the following command:
388 </para>
[93c27d5]389
390<screen><userinput>klist</userinput></screen>
391
[fa47d680]392 <para>
393 Information about the ticket should be displayed on the
394 screen.
395 </para>
[93c27d5]396
[fa47d680]397 <para>
398 To test the functionality of the keytab file, issue the
[fa50ece]399 following command as the
400 <systemitem class="username">root</systemitem> user:
[fa47d680]401 </para>
[93c27d5]402
[fa50ece]403<screen role="root"><userinput>ktutil
[597a2890]404<prompt>ktutil:</prompt> rkt /etc/krb5.keytab
[93c27d5]405<prompt>ktutil:</prompt> l</userinput></screen>
406
[fa47d680]407 <para>
408 This should dump a list of the host principal, along with
409 the encryption methods used to access the principal.
410 </para>
[93c27d5]411
[f8359b8]412 <para>
413 Create an empty ACL file that can be modified later:
414 </para>
415
416<screen role="root"><userinput>touch /var/lib/krb5kdc/kadm5.acl</userinput></screen>
417
[fa47d680]418 <para>
419 At this point, if everything has been successful so far, you
420 can feel fairly confident in the installation and configuration of
421 the package.
422 </para>
[93c27d5]423
424 </sect4>
[b4b71892]425
[93c27d5]426 <sect4>
427 <title>Additional Information</title>
428
[fa47d680]429 <para>
[bf7a21dd]430 For additional information consult the <ulink
431 url="http://web.mit.edu/kerberos/www/krb5-&mitkrb-major-version;/#documentation">
432 documentation for krb5-&mitkrb-version;</ulink> on which the above
[fa47d680]433 instructions are based.
434 </para>
[93c27d5]435
436 </sect4>
437
438 </sect3>
[6aeeb90]439
[d9d26317]440 <sect3 id="mitkrb-init">
[f586237]441 <title><phrase revision="sysv">Init Script</phrase>
442 <phrase revision="systemd">Systemd Unit</phrase></title>
[d9d26317]443
[f586237]444 <para revision="sysv">
[d9d26317]445 If you want to start <application>Kerberos</application> services
446 at boot, install the <filename>/etc/rc.d/init.d/krb5</filename> init
[f586237]447 script included in the <xref linkend="bootscripts"/> package using
[d9d26317]448 the following command:
449 </para>
450
[f586237]451 <para revision="systemd">
452 If you want to start <application>Kerberos</application> services
453 at boot, install the <filename>krb5.service</filename> unit included in
454 the <xref linkend="systemd-units"/> package using the following command:
455 </para>
456
[d9d26317]457 <indexterm zone="mitkrb mitkrb-init">
458 <primary sortas="f-krb5">krb5</primary>
459 </indexterm>
460
461<screen role="root"><userinput>make install-krb5</userinput></screen>
462
463 </sect3>
464
[93c27d5]465 </sect2>
466
467 <sect2 role="content">
[fa47d680]468
[93c27d5]469 <title>Contents</title>
[af22057]470
[93c27d5]471 <segmentedlist>
472 <segtitle>Installed Programs</segtitle>
473 <segtitle>Installed Libraries</segtitle>
474 <segtitle>Installed Directories</segtitle>
475
476 <seglistitem>
[fa47d680]477 <seg>
[0d7900a]478 gss-client, gss-server, k5srvutil, kadmin, kadmin.local,
[bf7a21dd]479 kadmind, kdb5_ldap_util (optional), kdb5_util, kdestroy, kinit, klist,
[e10e1a8e]480 kpasswd, kprop, kpropd, kproplog, krb5-config, krb5-send-pr, krb5kdc,
[0d7900a]481 ksu, kswitch, ktutil, kvno, sclient, sim_client, sim_server,
[b7a300f7]482 sserver, uuclient, and uuserver
[fa47d680]483 </seg>
484 <seg>
[af21cbe2]485 libgssapi_krb5.so, libgssrpc.so, libk5crypto.so, libkadm5clnt_mit.so,
486 libkadm5clnt.so, libkadm5srv_mit.so, libkadm5srv.so, libkdb_ldap.so
487 (optional), libkdb5.so, libkrad.so, libkrb5.so, libkrb5support.so,
[6e08e9c0]488 libverto.so, and some plugins under the /usr/lib/krb5 tree
[fa47d680]489 </seg>
490 <seg>
[ad22690]491 /usr/include/{gssapi,gssrpc,kadm5,krb5},
[0d7900a]492 /usr/lib/krb5,
[096aa70]493 /usr/share/{doc/krb5-&mitkrb-version;,examples/krb5},
[8558044]494 /var/lib/krb5kdc, and
495 /run/krb5kdc
[fa47d680]496 </seg>
[93c27d5]497 </seglistitem>
498 </segmentedlist>
499
500 <variablelist>
501 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
502 <?dbfo list-presentation="list"?>
503 <?dbhtml list-presentation="table"?>
504
[73fe507]505 <varlistentry id="gss-client">
506 <term><command>gss-client</command></term>
507 <listitem>
508 <para>
[4c24eb0a]509 is a GSSAPI test client
[73fe507]510 </para>
511 <indexterm zone="mitkrb gss-client">
512 <primary sortas="b-gss-client">gss-client</primary>
513 </indexterm>
514 </listitem>
515 </varlistentry>
516
517 <varlistentry id="gss-server">
518 <term><command>gss-server</command></term>
519 <listitem>
520 <para>
[4c24eb0a]521 is a GSSAPI test server
[73fe507]522 </para>
523 <indexterm zone="mitkrb gss-server">
524 <primary sortas="b-gss-server">gss-server</primary>
525 </indexterm>
526 </listitem>
527 </varlistentry>
528
[93c27d5]529 <varlistentry id="k5srvutil">
530 <term><command>k5srvutil</command></term>
531 <listitem>
[fa47d680]532 <para>
[4c24eb0a]533 is a host keytable manipulation utility
[fa47d680]534 </para>
[93c27d5]535 <indexterm zone="mitkrb k5srvutil">
536 <primary sortas="b-k5srvutil">k5srvutil</primary>
537 </indexterm>
538 </listitem>
539 </varlistentry>
540
[fa47d680]541 <varlistentry id="kadmin">
[93c27d5]542 <term><command>kadmin</command></term>
543 <listitem>
[fa47d680]544 <para>
[0f46f6c]545 is an utility used to make modifications
[4c24eb0a]546 to the Kerberos database
[fa47d680]547 </para>
548 <indexterm zone="mitkrb kadmin">
[93c27d5]549 <primary sortas="b-kadmin">kadmin</primary>
550 </indexterm>
551 </listitem>
552 </varlistentry>
553
[28370fe]554 <varlistentry id="kadmin.local">
555 <term><command>kadmin.local</command></term>
556 <listitem>
557 <para>
[0f46f6c]558 is an utility similar to <command>kadmin</command>, but if the
[28370fe]559 database is db2, the local client <command>kadmin.local</command>,
560 is intended to run directly on the master KDC without Kerberos
[4c24eb0a]561 authentication
[28370fe]562 </para>
563 <indexterm zone="mitkrb kadmin.local">
564 <primary sortas="b-kadmin.local">kadmin.local</primary>
565 </indexterm>
566 </listitem>
567 </varlistentry>
568
[fa47d680]569 <varlistentry id="kadmind">
[93c27d5]570 <term><command>kadmind</command></term>
571 <listitem>
[fa47d680]572 <para>
573 is a server for administrative access
[4c24eb0a]574 to a Kerberos database
[fa47d680]575 </para>
576 <indexterm zone="mitkrb kadmind">
[93c27d5]577 <primary sortas="b-kadmind">kadmind</primary>
578 </indexterm>
579 </listitem>
580 </varlistentry>
581
[73fe507]582 <varlistentry id="kdb5_ldap_util">
583 <term><command>kdb5_ldap_util (optional)</command></term>
584 <listitem>
585 <para>
586 allows an administrator to manage realms, Kerberos services
[4c24eb0a]587 and ticket policies
[73fe507]588 </para>
589 <indexterm zone="mitkrb kdb5_ldap_util">
590 <primary sortas="b-kdb5_ldap_util">kdb5_ldap_util</primary>
591 </indexterm>
592 </listitem>
593 </varlistentry>
594
[93c27d5]595 <varlistentry id="kdb5_util">
596 <term><command>kdb5_util</command></term>
597 <listitem>
[fa47d680]598 <para>
[4c24eb0a]599 is the KDC database utility
[fa47d680]600 </para>
[93c27d5]601 <indexterm zone="mitkrb kdb5_util">
602 <primary sortas="b-kdb5_util">kdb5_util</primary>
603 </indexterm>
604 </listitem>
605 </varlistentry>
606
[fa47d680]607 <varlistentry id="kdestroy">
[93c27d5]608 <term><command>kdestroy</command></term>
609 <listitem>
[fa47d680]610 <para>
[4c24eb0a]611 removes the current set of tickets
[fa47d680]612 </para>
613 <indexterm zone="mitkrb kdestroy">
[93c27d5]614 <primary sortas="b-kdestroy">kdestroy</primary>
615 </indexterm>
616 </listitem>
617 </varlistentry>
618
[fa47d680]619 <varlistentry id="kinit">
[93c27d5]620 <term><command>kinit</command></term>
621 <listitem>
[fa47d680]622 <para>
623 is used to authenticate to the Kerberos server as a
624 principal and acquire a ticket granting ticket that can
[4c24eb0a]625 later be used to obtain tickets for other services
[fa47d680]626 </para>
627 <indexterm zone="mitkrb kinit">
[93c27d5]628 <primary sortas="b-kinit">kinit</primary>
629 </indexterm>
630 </listitem>
631 </varlistentry>
632
[fa47d680]633 <varlistentry id="klist">
[93c27d5]634 <term><command>klist</command></term>
635 <listitem>
[fa47d680]636 <para>
637 reads and displays the current tickets in
[4c24eb0a]638 the credential cache
[fa47d680]639 </para>
640 <indexterm zone="mitkrb klist">
[93c27d5]641 <primary sortas="b-klist">klist</primary>
642 </indexterm>
643 </listitem>
644 </varlistentry>
645
[fa47d680]646 <varlistentry id="kpasswd">
[93c27d5]647 <term><command>kpasswd</command></term>
648 <listitem>
[fa47d680]649 <para>
[4c24eb0a]650 is a program for changing Kerberos 5 passwords
[fa47d680]651 </para>
652 <indexterm zone="mitkrb kpasswd">
[93c27d5]653 <primary sortas="b-kpasswd">kpasswd</primary>
654 </indexterm>
655 </listitem>
656 </varlistentry>
657
658 <varlistentry id="kprop">
659 <term><command>kprop</command></term>
660 <listitem>
[fa47d680]661 <para>
662 takes a principal database in a specified format and
[4c24eb0a]663 converts it into a stream of database records
[fa47d680]664 </para>
[93c27d5]665 <indexterm zone="mitkrb kprop">
666 <primary sortas="b-kprop">kprop</primary>
667 </indexterm>
668 </listitem>
669 </varlistentry>
670
671 <varlistentry id="kpropd">
672 <term><command>kpropd</command></term>
673 <listitem>
[fa47d680]674 <para>
675 receives a database sent by <command>kprop</command>
[4c24eb0a]676 and writes it as a local database
[fa47d680]677 </para>
[93c27d5]678 <indexterm zone="mitkrb kpropd">
679 <primary sortas="b-kpropd">kpropd</primary>
680 </indexterm>
681 </listitem>
682 </varlistentry>
683
[73fe507]684 <varlistentry id="kproplog">
685 <term><command>kproplog</command></term>
686 <listitem>
687 <para>
688 displays the contents of the KDC database update log to standard
[4c24eb0a]689 output
[73fe507]690 </para>
691 <indexterm zone="mitkrb kproplog">
692 <primary sortas="b-kproplog">kproplog</primary>
693 </indexterm>
694 </listitem>
695 </varlistentry>
696
[f91ceaa]697 <varlistentry id="krb5-config-prog2">
[93c27d5]698 <term><command>krb5-config</command></term>
699 <listitem>
[fa47d680]700 <para>
701 gives information on how to link programs against
[4c24eb0a]702 libraries
[fa47d680]703 </para>
[f91ceaa]704 <indexterm zone="mitkrb krb5-config-prog2">
705 <primary sortas="b-krb5-config">krb5-config</primary>
[93c27d5]706 </indexterm>
707 </listitem>
708 </varlistentry>
709
710 <varlistentry id="krb5kdc">
711 <term><command>krb5kdc</command></term>
712 <listitem>
[fa47d680]713 <para>
[4c24eb0a]714 is the <application>Kerberos 5</application> server
[fa47d680]715 </para>
[93c27d5]716 <indexterm zone="mitkrb krb5kdc">
717 <primary sortas="b-krb5kdc">krb5kdc</primary>
718 </indexterm>
719 </listitem>
720 </varlistentry>
721
[28370fe]722 <varlistentry id="krb5-send-pr">
723 <term><command>krb5-send-pr</command></term>
[73fe507]724 <listitem>
725 <para>
[4c24eb0a]726 sends a problem report (PR) to a central support site
[73fe507]727 </para>
[28370fe]728 <indexterm zone="mitkrb krb5-send-pr">
729 <primary sortas="b-krb-send-pr">krb5-send-pr</primary>
[73fe507]730 </indexterm>
731 </listitem>
732 </varlistentry>
733
[93c27d5]734 <varlistentry id="ksu">
735 <term><command>ksu</command></term>
736 <listitem>
[fa47d680]737 <para>
738 is the super user program using Kerberos protocol.
739 Requires a properly configured
740 <filename>/etc/shells</filename> and
741 <filename>~/.k5login</filename> containing principals
[4c24eb0a]742 authorized to become super users
[fa47d680]743 </para>
[93c27d5]744 <indexterm zone="mitkrb ksu">
745 <primary sortas="b-ksu">ksu</primary>
746 </indexterm>
747 </listitem>
748 </varlistentry>
749
[597a2890]750 <varlistentry id="kswitch">
751 <term><command>kswitch</command></term>
752 <listitem>
[fa47d680]753 <para>
[0d7900a]754 makes the specified credential cache the
755 primary cache for the collection, if a cache
[4c24eb0a]756 collection is available
[fa47d680]757 </para>
[597a2890]758 <indexterm zone="mitkrb kswitch">
759 <primary sortas="b-kswitch">kswitch</primary>
760 </indexterm>
761 </listitem>
762 </varlistentry>
763
[fa47d680]764 <varlistentry id="ktutil">
[93c27d5]765 <term><command>ktutil</command></term>
766 <listitem>
[fa47d680]767 <para>
[4c24eb0a]768 is a program for managing Kerberos keytabs
[fa47d680]769 </para>
770 <indexterm zone="mitkrb ktutil">
[93c27d5]771 <primary sortas="b-ktutil">ktutil</primary>
772 </indexterm>
773 </listitem>
774 </varlistentry>
775
776 <varlistentry id="kvno">
777 <term><command>kvno</command></term>
778 <listitem>
[fa47d680]779 <para>
[4c24eb0a]780 prints keyversion numbers of Kerberos principals
[fa47d680]781 </para>
[93c27d5]782 <indexterm zone="mitkrb kvno">
783 <primary sortas="b-kvno">kvno</primary>
784 </indexterm>
785 </listitem>
786 </varlistentry>
787
[597a2890]788 <varlistentry id="sclient">
789 <term><command>sclient</command></term>
[93c27d5]790 <listitem>
[fa47d680]791 <para>
[2f12da13]792 is used to contact a sample server and authenticate to it
[fa47d680]793 using Kerberos 5 tickets, then display the server's
[4c24eb0a]794 response
[fa47d680]795 </para>
[597a2890]796 <indexterm zone="mitkrb sclient">
797 <primary sortas="b-sclient">sclient</primary>
[93c27d5]798 </indexterm>
799 </listitem>
800 </varlistentry>
801
[73fe507]802 <varlistentry id="sim_client">
803 <term><command>sim_client</command></term>
804 <listitem>
805 <para>
806 is a simple UDP-based sample client program, for
[4c24eb0a]807 demonstration
[73fe507]808 </para>
809 <indexterm zone="mitkrb sim_client">
810 <primary sortas="b-sim_client">sim_client</primary>
811 </indexterm>
812 </listitem>
813 </varlistentry>
814
815 <varlistentry id="sim_server">
816 <term><command>sim_server</command></term>
817 <listitem>
818 <para>
819 is a simple UDP-based server application, for
[4c24eb0a]820 demonstration
[73fe507]821 </para>
822 <indexterm zone="mitkrb sim_server">
823 <primary sortas="b-sim_server">sim_server</primary>
824 </indexterm>
825 </listitem>
826 </varlistentry>
827
[597a2890]828 <varlistentry id="sserver">
829 <term><command>sserver</command></term>
[93c27d5]830 <listitem>
[fa47d680]831 <para>
[4c24eb0a]832 is the sample Kerberos 5 server
[fa47d680]833 </para>
[597a2890]834 <indexterm zone="mitkrb sserver">
835 <primary sortas="b-sserver">sserver</primary>
[93c27d5]836 </indexterm>
837 </listitem>
838 </varlistentry>
839
[73fe507]840 <varlistentry id="uuclient">
841 <term><command>uuclient</command></term>
842 <listitem>
843 <para>
[4c24eb0a]844 is another sample client
[73fe507]845 </para>
846 <indexterm zone="mitkrb uuclient">
847 <primary sortas="b-uuclient">uuclient</primary>
848 </indexterm>
849 </listitem>
850 </varlistentry>
851
852 <varlistentry id="uuserver">
853 <term><command>uuserver</command></term>
854 <listitem>
855 <para>
[4c24eb0a]856 is another sample server
[73fe507]857 </para>
858 <indexterm zone="mitkrb uuserver">
859 <primary sortas="b-uuserver">uuserver</primary>
860 </indexterm>
861 </listitem>
862 </varlistentry>
863
864
[fa47d680]865 <varlistentry id="libgssapi_krb5">
[3ff3b9b]866 <term><filename class="libraryfile">libgssapi_krb5.so</filename></term>
[93c27d5]867 <listitem>
[fa47d680]868 <para>
[2f12da13]869 contains the Generic Security Service Application Programming
[fa47d680]870 Interface (GSSAPI) functions which provides security services
871 to callers in a generic fashion, supportable with a range of
872 underlying mechanisms and technologies and hence allowing
873 source-level portability of applications to different
[4c24eb0a]874 environments
[fa47d680]875 </para>
876 <indexterm zone="mitkrb libgssapi_krb5">
[f91ceaa]877 <primary sortas="c-libgssapi_krb5">libgssapi_krb5.so</primary>
[93c27d5]878 </indexterm>
879 </listitem>
880 </varlistentry>
881
[fa47d680]882 <varlistentry id="libkadm5clnt">
[3ff3b9b]883 <term><filename class="libraryfile">libkadm5clnt.so</filename></term>
[93c27d5]884 <listitem>
[fa47d680]885 <para>
886 contains the administrative authentication and password checking
[4c24eb0a]887 functions required by Kerberos 5 client-side programs
[fa47d680]888 </para>
889 <indexterm zone="mitkrb libkadm5clnt">
[f91ceaa]890 <primary sortas="c-libkadm5clnt">libkadm5clnt.so</primary>
[93c27d5]891 </indexterm>
892 </listitem>
893 </varlistentry>
894
[fa47d680]895 <varlistentry id="libkadm5srv">
[3ff3b9b]896 <term><filename class="libraryfile">libkadm5srv.so</filename></term>
[93c27d5]897 <listitem>
[fa47d680]898 <para>
[2f12da13]899 contains the administrative authentication and password
[4c24eb0a]900 checking functions required by Kerberos 5 servers
[fa47d680]901 </para>
902 <indexterm zone="mitkrb libkadm5srv">
[f91ceaa]903 <primary sortas="c-libkadm5srv">libkadm5srv.so</primary>
[93c27d5]904 </indexterm>
905 </listitem>
906 </varlistentry>
907
908 <varlistentry id="libkdb5">
[3ff3b9b]909 <term><filename class="libraryfile">libkdb5.so</filename></term>
[93c27d5]910 <listitem>
[fa47d680]911 <para>
912 is a Kerberos 5 authentication/authorization database
[4c24eb0a]913 access library
[fa47d680]914 </para>
[93c27d5]915 <indexterm zone="mitkrb libkdb5">
[f91ceaa]916 <primary sortas="c-libkdb5">libkdb5.so</primary>
[93c27d5]917 </indexterm>
918 </listitem>
919 </varlistentry>
920
[bf7a21dd]921 <varlistentry id="libkrad">
922 <term><filename class="libraryfile">libkrad.so</filename></term>
923 <listitem>
924 <para>
[4c24eb0a]925 contains the internal support library for RADIUS functionality
[bf7a21dd]926 </para>
927 <indexterm zone="mitkrb libkrad">
928 <primary sortas="c-libkrad">libkrad.so</primary>
929 </indexterm>
930 </listitem>
931 </varlistentry>
932
[fa47d680]933 <varlistentry id="libkrb5">
[3ff3b9b]934 <term><filename class="libraryfile">libkrb5.so</filename></term>
[93c27d5]935 <listitem>
[fa47d680]936 <para>
[4c24eb0a]937 is an all-purpose <application>Kerberos 5</application> library
[fa47d680]938 </para>
939 <indexterm zone="mitkrb libkrb5">
[f91ceaa]940 <primary sortas="c-libkrb5">libkrb5.so</primary>
[93c27d5]941 </indexterm>
942 </listitem>
943 </varlistentry>
944
945 </variablelist>
[af22057]946
[93c27d5]947 </sect2>
[1dce143]948
949</sect1>
Note: See TracBrowser for help on using the repository browser.