.\" -*- mode: troff; coding: utf-8 -*- .\" Automatically generated by Pod::Man 5.0102 (Pod::Simple 3.45) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" \*(C` and \*(C' are quotes in nroff, nothing in troff, for use with C<>. .ie n \{\ . ds C` "" . ds C' "" 'br\} .el\{\ . ds C` . ds C' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is >0, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .\" .\" Avoid warning from groff about undefined register 'F'. .de IX .. .nr rF 0 .if \n(.g .if rF .nr rF 1 .if (\n(rF:(\n(.g==0)) \{\ . if \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . if !\nF==2 \{\ . nr % 0 . nr F 2 . \} . \} .\} .rr rF .\" ======================================================================== .\" .IX Title "IDENT 8" .TH IDENT 8 2023-03-07 "INN 2.7.4" "InterNetNews Documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH NAME ident \- nnrpd ident resolver .SH SYNOPSIS .IX Header "SYNOPSIS" \&\fBident\fR [\fB\-p\fR \fIport\fR] [\fB\-t\fR] .SH DESCRIPTION .IX Header "DESCRIPTION" This program attempts to resolve usernames for \fBnnrpd\fR by using the ident protocol to query the remote host. It contacts the remote host using either IPv4 or IPv6 depending on which protocol was used for the incoming NNTP connection. .SH OPTIONS .IX Header "OPTIONS" .IP "\fB\-p\fR \fIport\fR" 4 .IX Item "-p port" If this option is given, attempt to contact identd on the specified remote port (which can be a numeric or symbolic specification). Non-numeric values will be looked up using getservbyname(3). The default value is the result of \f(CW\*(C`getservbyname("ident")\*(C'\fR if available, or port 113 otherwise. .IP \fB\-t\fR 4 .IX Item "-t" If this option is given, the identity returned will never have a domain part. That is, if the remote server returns a result containing an \f(CW\*(C`@\*(C'\fR character, \fBident\fR truncates the response at the \f(CW\*(C`@\*(C'\fR. This is useful to allow the \fIdefault-domain\fR parameter in \fIreaders.conf\fR to override the domain supplied by the remote host (particularly if the supplied domain part is an unqualified local machine name rather than a full domain name). .SH EXAMPLE .IX Header "EXAMPLE" The following readers.conf(5) fragment tells \fBnnrpd\fR to trust ident information for hosts on a local network, but to replace the domain returned from the ident query: .PP .Vb 5 \& auth LAN { \& hosts: "192.168/16" \& res: "ident \-t" \& default\-domain: "internal.example.com" \& } \& \& access LAN { \& users: "*@internal.example.com" \& newsgroups: example.* \& } .Ve .PP Access is granted to the example.* groups for all users on the local network whose machines respond to ident queries. .SH HISTORY .IX Header "HISTORY" This documentation was written by Jeffrey M.\ Vinocur . .SH "SEE ALSO" .IX Header "SEE ALSO" nnrpd(8), readers.conf(5)