Bug 504715 - ipa-nis-manage generates error
Summary: ipa-nis-manage generates error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: freeIPA
Classification: Retired
Component: ipa-server
Version: 2.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Rob Crittenden
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks: 431020
TreeView+ depends on / blocked
 
Reported: 2009-06-08 23:18 UTC by Yi Zhang
Modified: 2015-01-04 23:39 UTC (History)
3 users (show)

Fixed In Version: freeipa-2.0.0-1.fc15
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-27 07:14:32 UTC
Embargoed:


Attachments (Terms of Use)

Description Yi Zhang 2009-06-08 23:18:35 UTC
Description of problem:

error message generates after "ipa-nis-manage" executes

Traceback (most recent call last):
  File "/usr/sbin/ipa-compat-manage", line 154, in ?
    sys.exit(main())
  File "/usr/sbin/ipa-compat-manage", line 134, in main
    conn.deleteEntry("cn=Schema Compatibility,cn=plugins,cn=config")
  File "/usr/lib/python2.4/site-packages/ipaserver/ipaldap.py", line 553, in deleteEntry
    self.__handle_errors(e, **kw)
  File "/usr/lib/python2.4/site-packages/ipaserver/ipaldap.py", line 324, in __handle_errors
    raise errors.DatabaseError(desc=desc,info=info)
ipalib.errors.DatabaseError: Operation not allowed on non-leaf:
This setting will not take effect until you restart Directory Server.

The problem is that I can only reproduce this with my tet automate script, When I run "ipa-nis-manage" manually, it works fine. 

Of course, this error cause most of my nis acceptance test failed. 

Version-Release number of selected component (if applicable): ipa daily build (June 8, 2009)


How reproducible: each time I run  nis test script  

Steps to Reproduce:
1. follow the tet automation procedure.  
  
 
Additional info: I am still trying to find out the exact reproduce condition

Comment 1 Rob Crittenden 2010-02-03 21:28:39 UTC
I can't duplicate this so it may be that it has already been addressed. Please re-open if it happens again.

Comment 2 Jenny Severance 2011-01-25 16:47:55 UTC
verified:

<snip>

# ipa-nis-manage 
You must specify one action, either enable or disable

# ipa-nis-manage enable
Directory Manager password: 

Enabling plugin
This setting will not take effect until you restart Directory Server.
The rpcbind service may need to be started.

# ipa-nis-manage disable
Directory Manager password: 

This setting will not take effect until you restart Directory Server.

version:
ipa-server-2.0-0.2011012121git8cc46af.fc14.i686


Note You need to log in before you can comment on or make changes to this bug.