doc: Use kinit instead of dig in the manpage example
authorJakub Hrozek <jhrozek@redhat.com>
Mon, 9 Feb 2015 16:26:10 +0000 (17:26 +0100)
committerAndreas Schneider <asn@samba.org>
Tue, 18 Aug 2015 10:27:50 +0000 (12:27 +0200)
Signed-off-by: Jakub Hrozek <jakub.hrozek@posteo.se>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
doc/resolv_wrapper.1
doc/resolv_wrapper.1.txt

index 5482b3d..2691964 100644 (file)
@@ -2,12 +2,12 @@
 .\"     Title: resolv_wrapper
 .\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
 .\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
-.\"      Date: 10/12/2014
+.\"      Date: 2015-08-18
 .\"    Manual: \ \&
 .\"    Source: \ \&
 .\"  Language: English
 .\"
-.TH "RESOLV_WRAPPER" "1" "10/12/2014" "\ \&" "\ \&"
+.TH "RESOLV_WRAPPER" "1" "2015\-08\-18" "\ \&" "\ \&"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
@@ -147,11 +147,13 @@ If you need to see what is going on in resolv_wrapper itself or try to find a bu
 .RE
 .SH "EXAMPLE"
 .sp
+The following command would trick \fIkinit(1)\fR into using DNS servers from "\&./resolv\&.conf" for Kerberos service resolution:
+.sp
 .if n \{\
 .RS 4
 .\}
 .nf
-$ LD_PRELOAD=libresolv_wrapper\&.so RESOLV_WRAPPER_CONF="\&./resolv\&.conf" dig test\&.example\&.site
+$ LD_PRELOAD=libresolv_wrapper\&.so RESOLV_WRAPPER_CONF="\&./resolv\&.conf" kinit user@EXAMPLE\&.COM
 .fi
 .if n \{\
 .RE
index a9e4ec5..e2e6837 100644 (file)
@@ -1,5 +1,6 @@
 resolv_wrapper(1)
 =================
+:revdate: 2015-08-18
 
 NAME
 ----
@@ -61,4 +62,7 @@ debug symbols.
 EXAMPLE
 -------
 
-  $ LD_PRELOAD=libresolv_wrapper.so RESOLV_WRAPPER_CONF="./resolv.conf" dig test.example.site
+The following command would trick 'kinit(1)' into using DNS servers from "./resolv.conf"
+for Kerberos service resolution:
+
+  $ LD_PRELOAD=libresolv_wrapper.so RESOLV_WRAPPER_CONF="./resolv.conf" kinit user@EXAMPLE.COM