906cd7c Fix traceback in ipa-nis-manage.

Authored and Committed by rcritten 12 years ago
    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
    
        
file modified
+3 -0
file modified
+32 -28