aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--krb5-auth-dialog.spec.in1
-rw-r--r--src/Makefile.am4
-rw-r--r--src/krb5-auth-dialog.1.in37
4 files changed, 45 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 9a91572..fe793ca 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2005-11-02 Nalin Dahyabhai <nalin@redhat.com>
+ * src/krb5-auth-dialog.1.in: add a man page.
+
+2005-11-02 Nalin Dahyabhai <nalin@redhat.com>
+
* configure.ac,src/krb5-auth-dialog.c: make the minimum acceptable
lifetime for new credentials the minimum that would force us to take
action, not the amount of time we wait in between checks. Let the
diff --git a/krb5-auth-dialog.spec.in b/krb5-auth-dialog.spec.in
index e62cbe7..ff53725 100644
--- a/krb5-auth-dialog.spec.in
+++ b/krb5-auth-dialog.spec.in
@@ -34,6 +34,7 @@ rm -rf $RPM_BUILD_ROOT
%defattr(-,root,root,-)
%doc
%{_bindir}/krb5-auth-dialog
+%{_mandir}/man?/krb5-auth-dialog.1*
%{_datadir}/krb5-auth-dialog/
diff --git a/src/Makefile.am b/src/Makefile.am
index df31d97..4392dd9 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -2,6 +2,7 @@ INCLUDES = \
-DGLADEDIR=\""$(datadir)/krb5-auth-dialog/"\"
bin_PROGRAMS = krb5-auth-dialog
+man_MANS = krb5-auth-dialog.1
krb5_auth_dialog_SOURCES = \
krb5-auth-dialog.c \
@@ -14,5 +15,6 @@ glade_DATA = \
krb5-auth-dialog.glade
EXTRA_DIST = \
- $(glade_DATA)
+ $(glade_DATA) \
+ krb5-auth-dialog.1.in
diff --git a/src/krb5-auth-dialog.1.in b/src/krb5-auth-dialog.1.in
new file mode 100644
index 0000000..7f83138
--- /dev/null
+++ b/src/krb5-auth-dialog.1.in
@@ -0,0 +1,37 @@
+.TH krb5-auth-dialog 2005/11/02 "GNOME" "System Administrator's Manual"
+
+.SH NAME
+krb5-auth-dialog \- Kerberos 5 credential checking
+
+.SH SYNOPSIS
+.B krb5-auth-dialog [--always|--auto]
+
+.SH DESCRIPTION
+The krb5-auth-dialog application will periodically check (every
+@check_interval@ seconds) if the user has Kerberos credentials, and if so, if
+they will expire soon (in less than @minimum_lifetime@ minutes). If it
+determines that this is the case, krb5-auth-dialog will attempt to obtain fresh
+credentials, prompting the user for whatever information is necessary.
+
+.SH ARGUMENTS
+
+.IP --always
+By default, krb5-auth-dialog will exit if it finds that the user has no
+Kerberos credentials. If this option is specified, then it will instead
+attempt to get credentials.
+
+.IP --auto
+Overrides the --always option, restoring the default behavior.
+
+.SH "SEE ALSO"
+.BR krb5.conf (5)
+
+.SH BUGS
+Probably, but let's hope not. If you find any, please file them in the
+bug database at http://bugzilla.gnome.org/ against the
+"krb5-auth-dialog" component.
+
+.SH AUTHORS
+Christopher Aillon <caillon@redhat.com>
+.br
+Jonathan Blandford <jrb@redhat.com>