summaryrefslogtreecommitdiffstats
path: root/install/tools/ipa-nis-manage
Commit message (Collapse)AuthorAgeFilesLines
* Install tools crash when password prompt is interruptedMartin Kosek2011-10-061-0/+2
| | | | | | | | | When getpass.getpass() function is interrupted via CTRL+D, EOFError exception is thrown. Most of the install tools are not prepared for this event and crash with this exception. Make sure that it is handled properly and nice error message is printed. https://fedorahosted.org/freeipa/ticket/1916
* Convert installation tools to platform-independent access to system servicesAlexander Bokovoy2011-09-131-5/+8
| | | | http://fedorahosted.org/freeipa/ticket/1605
* Fix ipa-compat-manage not working after recent ipa-nis-manage change.Jan Cholasta2011-07-221-1/+1
| | | | ticket 1147
* Don't delete NIS netgroup compat suffix on 'ipa-nis-manage disable'.Jan Cholasta2011-07-191-15/+0
| | | | ticket 1469
* Check IPA configuration in install toolsMartin Kosek2011-07-181-0/+2
| | | | | | | | | Install tools may fail with unexpected error when IPA server is not installed on a system. Improve user experience by implementing a check to affected tools. https://fedorahosted.org/freeipa/ticket/1327 https://fedorahosted.org/freeipa/ticket/1347
* Fix exit status of ipa-nis-manage enable.Jan Cholasta2011-07-151-8/+5
| | | | ticket 1247
* Fix directory manager password validation in ipa-nis-manage.Jan Cholasta2011-06-131-2/+8
| | | | ticket 1283, 1284
* Fix some minor issues uncovered by pylint.Jan Cholasta2011-04-201-0/+1
| | | | | Disable pylint error _ undefined in i18n tests Fix missing os import in ipa-nis-manage
* Fix traceback in ipa-nis-manage.Rob Crittenden2011-04-111-0/+3
| | | | | | | | | | | | | | | | | 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
* Use ldapi: instead of unsecured ldap: in ipa core tools.Pavel Zuna2011-03-031-8/+7
| | | | | | The patch also corrects exception handling in some of the tools. Fix #874
* Execute /usr/bin/python directly instead of /usr/bin/env pythonRob Crittenden2011-01-141-1/+1
| | | | ticket 608
* dbe instead of lde One line bug fix for compat and nis toolsJr Aquino2010-12-221-1/+1
|
* Change FreeIPA license to GPLv3+Jakub Hrozek2010-12-201-5/+5
| | | | | | | | | | The changes include: * Change license blobs in source files to mention GPLv3+ not GPLv2 only * Add GPLv3+ license text * Package COPYING not LICENSE as the license blobs (even the old ones) mention COPYING specifically, it is also more common, I think https://fedorahosted.org/freeipa/ticket/239
* Use sys.exit to quit scriptsJakub Hrozek2010-11-221-9/+4
| | | | | | | Instead of print and return, use sys.exit() to quit scripts with an error message and a non zero return code. https://fedorahosted.org/freeipa/ticket/425
* Fix NotFound exception in ipa-nis-manage.Rob Crittenden2010-11-091-2/+4
| | | | | | | | The signature of ldap2.get_entry() changed so normalize wasn't being handled properly so the basedn was always being appended causing our entry in cn=config to be not found. ticket 414
* Fix ipa-compat-manage and ipa-nis-manageRob Crittenden2010-07-151-31/+63
| | | | | | | | | | | | | | | Neither of these was working properly, I assume due to changes in the ldap backend. The normalizer now appends the basedn if it isn't included and this was causing havoc with these utilities. After fixing the basics I found a few corner cases that I also addressed: - you can't/shouldn't disable compat if the nis plugin is enabled - we always want to load the nis LDAP update so we get the netgroup config - LDAPupdate.update() returns True/False, not an integer I took some time and fixed up some things pylint complained about too. Ticket #83
* Use ldap2 instead of legacy LDAP code from v1 in installer scripts.Pavel Zuna2010-04-191-23/+21
|
* Set default log level in the *-manage utilities to ERROR and not NOTSETRob Crittenden2010-02-041-1/+1
|
* Enable the portmap or rpcbind service if the NIS service is enabledRob Crittenden2009-05-211-0/+17
|
* New tool to enable/disable DS plugin to act as NIS serverRob Crittenden2009-05-131-0/+186