Bug 541816

Summary: yast2-ldap-server: cannot delete schema files
Product: [openSUSE] openSUSE 11.2 Reporter: Michael Calmer <mc>
Component: YaST2Assignee: Ralf Haferkamp <ralf>
Status: RESOLVED INVALID QA Contact: Jiri Srain <jsrain>
Severity: Normal    
Priority: P5 - None    
Version: Milestone 7   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Development Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Michael Calmer 2009-09-24 15:11:59 UTC
- starting yast2 ldap-server (already configured)
- selecting "Schema Files"
- select a schema in the list, e.g. kerberos
- below the list is a "Delete" button, but it is disabled.
  I cannot delete this schema.

#> rpm -q yast2-ldap-server
yast2-ldap-server-2.18.2-1.1.x86_64
Comment 1 Ralf Haferkamp 2009-09-24 15:37:44 UTC
This is a known limitation of the cn=config backend. Schema deletion is not implemented in OpenLDAP's cn=config. There's just no reasonable way to make sure on the server side, that a give schema is not needed anymore. Because of that you can only delete schema element in yast2-ldap-server before the change is actually written to the database (which usually happens when leaving the module).
For all schemas which are already in the database the button is disabled.