From d42bf3f530759824586bba0df52f9bd8a6f20df7 Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Mon, 11 Apr 2011 15:30:11 -0400 Subject: Fix traceback in ipa-nis-manage. The root user cannot use ldapi because of the autobind configuration. Fall back to a standard GSSAPI sasl bind if the external bind fails. With --ldapi a regular user may be trying this as well, catch that and report a reasonable error message. This also gives priority to the DM password if it is passed in. Also require the user be root to run the ipa-nis-manage command. We enable/disable and start/stop services which need to be done as root. Add a new option to ipa-ldap-updater to prompt for the DM password. Remove restriction to be run as root except when doing an upgrade. Ticket 1157 --- install/tools/man/ipa-ldap-updater.1 | 3 +++ 1 file changed, 3 insertions(+) (limited to 'install/tools/man/ipa-ldap-updater.1') diff --git a/install/tools/man/ipa-ldap-updater.1 b/install/tools/man/ipa-ldap-updater.1 index 9924d2f8e..761ca14c4 100644 --- a/install/tools/man/ipa-ldap-updater.1 +++ b/install/tools/man/ipa-ldap-updater.1 @@ -79,6 +79,9 @@ Connect to the LDAP server using the ldapi socket .TP \fB\-u\fR, \fB\-\-\-upgrade\fR Upgrade an installed server in offline mode (implies \-\-ldapi) +.TP +\fB\-W\fR, \fB\-\-\-password\fR +Prompt for the Directory Manager password .SH "EXIT STATUS" 0 if the command was successful -- cgit