1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 2 3<html> 4 <head> 5 <meta name="generator" content="HTML Tidy, see www.w3.org"> 6 <title>Authentication</title> 7 <meta name="GENERATOR" content= 8 "Modular DocBook HTML Stylesheet Version 1.7"> 9 <link rel="HOME" title=" LPRng Reference Manual" href= 10 "index.htm"> 11 <link rel="UP" title="Permissions and Authentication " href= 12 "permsref.htm"> 13 <link rel="PREVIOUS" title="More Examples" href="x8947.htm"> 14 <link rel="NEXT" title="User Identification" href="x8974.htm"> 15 </head> 16 17 <body class="SECT1" bgcolor="#FFFFFF" text="#000000" link= 18 "#0000FF" vlink="#840084" alink="#0000FF"> 19 <div class="NAVHEADER"> 20 <table summary="Header navigation table" width="100%" border= 21 "0" cellpadding="0" cellspacing="0"> 22 <tr> 23 <th colspan="3" align="center">LPRng Reference Manual: 5 24 Sep 2003 (For LPRng-3.8.22)</th> 25 </tr> 26 27 <tr> 28 <td width="10%" align="left" valign="bottom"><a href= 29 "x8947.htm" accesskey="P">Prev</a></td> 30 31 <td width="80%" align="center" valign="bottom">Chapter 32 17. Permissions and Authentication</td> 33 34 <td width="10%" align="right" valign="bottom"><a href= 35 "x8974.htm" accesskey="N">Next</a></td> 36 </tr> 37 </table> 38 <hr align="LEFT" width="100%"> 39 </div> 40 41 <div class="SECT1"> 42 <h1 class="SECT1"><a name="AUTHREF">17.7. 43 Authentication</a></h1> 44 45 <p>One of the major problems in a print spooler system is 46 providing privacy and authentication services for users. One 47 method is to construct a specific set of protocols which will 48 be used for providing the privacy or authentication; another 49 is to provide a simple interface to a set of tools that will 50 do the authentication and/or encryption.</p> 51 52 <p><b class="APPLICATION">LPRng</b> provides native support 53 for the MIT Kerberos 4 extensions and Kerberos 5 54 authentication.</p> 55 56 <p><b class="APPLICATION">LPRng</b> uses the OpenSSL 57 libraries to support SSL authentication and encrypted data 58 transfers.</p> 59 60 <p><b class="APPLICATION">LPRng</b> has native support for 61 the PGP (Pretty Good Privacy) program and can sign and 62 optionally encrypt command and responses between servers and 63 clients. Due to legal restrictions, an external PGP program 64 must be used for this purpose.</p> 65 66 <p>A simple MD5 hash based authentication scheme is also 67 provided as an example to illustrate how new or different 68 authentication methods can be adddd.</p> 69 70 <p>Finally, <b class="APPLICATION">LPRng</b> provide a 71 general purpose interface allowing users to insert their own 72 authentication methods, either at the program level or at the 73 code level.</p> 74 75 <p>A careful study of the authentication problem shows that 76 it should be done during reception of commands and/or jobs 77 from a remote user and/or spooler. At this time the following 78 must be done:</p> 79 80 <ol type="1"> 81 <li> 82 <p>The received command must be checked for consistency, 83 and the remote user and host must be determined.</p> 84 </li> 85 86 <li> 87 <p>The remote user and host must be authenticated.</p> 88 </li> 89 90 <li> 91 <p>The command and/or spooling operation must be carried 92 out.</p> 93 </li> 94 95 <li> 96 <p>The results must be returned to the remote system.</p> 97 </li> 98 </ol> 99 <br> 100 <br> 101 </div> 102 103 <div class="NAVFOOTER"> 104 <hr align="LEFT" width="100%"> 105 106 <table summary="Footer navigation table" width="100%" border= 107 "0" cellpadding="0" cellspacing="0"> 108 <tr> 109 <td width="33%" align="left" valign="top"><a href= 110 "x8947.htm" accesskey="P">Prev</a></td> 111 112 <td width="34%" align="center" valign="top"><a href= 113 "index.htm" accesskey="H">Home</a></td> 114 115 <td width="33%" align="right" valign="top"><a href= 116 "x8974.htm" accesskey="N">Next</a></td> 117 </tr> 118 119 <tr> 120 <td width="33%" align="left" valign="top">More 121 Examples</td> 122 123 <td width="34%" align="center" valign="top"><a href= 124 "permsref.htm" accesskey="U">Up</a></td> 125 126 <td width="33%" align="right" valign="top">User 127 Identification</td> 128 </tr> 129 </table> 130 </div> 131 </body> 132</html> 133 134