1 <?xml version="1.0" encoding="UTF-8"?>
2 <refentry id="afp_signature.conf.5">
5 <refentrytitle>afp_signature.conf</refentrytitle>
7 <manvolnum>5</manvolnum>
9 <refmiscinfo class="date">23 Mar 2012</refmiscinfo>
11 <refmiscinfo class="source">:NETATALK_VERSION:</refmiscinfo>
15 <refname>afp_signature.conf</refname>
17 <refpurpose>Configuration file used by afpd(8) to specify server
19 <primary>afp_signature.conf</primary>
20 </indexterm></refpurpose>
24 <title>Description</title>
26 <para><filename>:STATEDIR:/netatalk/afp_signature.conf</filename> is the
27 configuration file used by <command>afpd</command> to specify
28 server signature automagically. The configuration lines are
31 <para><replaceable>"server name"</replaceable>
32 <replaceable>hexa-string</replaceable></para>
34 <para>The first field is server name. Server names must be quoted
35 if they contain spaces. The second field is the hexadecimal string
36 of 32 characters for 16-bytes server signature.</para>
37 <para>The leading spaces and tabs are ignored. Blank lines are ignored.
38 The lines prefixed with # are ignored. The illegal lines are ignored.
42 <para>Server Signature is unique 16-bytes identifier used to
43 prevent logging on to the same server twice. </para>
44 <para>Netatalk 2.0 and earlier generated server signature by using
45 gethostid(). There was a problem that another servers have the same
46 signature because the hostid is not unique enough.</para>
47 <para>Current netatalk generates the signature from random numbers and
48 saves it into afp_signature.conf. When starting next time, it
49 is read from this file. </para>
50 <para>This file should not be thoughtlessly edited and be copied
51 onto another server. If it wants to set the signature intentionally,
52 use the option "signature =" in afp.conf. In this case,
53 afp_signature.conf is not used.</para>
60 <title>Examples</title>
63 <title>afp_signature.conf</title>
65 <programlisting># This is a comment.
66 "My Server" 74A0BB94EC8C13988B2E75042347E528</programlisting>
71 <title>See also</title>
74 <refentrytitle>afpd</refentrytitle>
76 <manvolnum>8</manvolnum>
77 </citerefentry>, <citerefentry>
78 <refentrytitle>afp.conf</refentrytitle>
80 <manvolnum>5</manvolnum>
81 </citerefentry>, <citerefentry>
82 <refentrytitle>asip-status.pl</refentrytitle>
84 <manvolnum>1</manvolnum>
85 </citerefentry></para>