|
Bugzilla – Full Text Bug Listing |
| Summary: | yast2-ldap-server: segfault while loading kerberos.ldif as schema file | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.2 | Reporter: | Michael Calmer <mc> |
| Component: | YaST2 | Assignee: | Ralf Haferkamp <ralf> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P3 - Medium | ||
| Version: | Milestone 7 | ||
| Target Milestone: | Milestone 8 | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Development | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Bug Depends on: | |||
| Bug Blocks: | 542165 | ||
| Attachments: | Simple schema to LDIF tool | ||
|
Description
Michael Calmer
2009-09-24 15:24:19 UTC
Ugh, the kerberos.ldif from krb5-plugin-kdb-ldap is actually meant to be loaded into eDir it doesn't work for OpenLDAP. I agree though, that yast2-ldap-server shouldn't crash on it :). As a workaround you can you kerberos.schema. yast2-ldap-server converts that on the fly to ldif and should load it successfully. We should probably have a kerberos-openldap.ldif as well and preferably rename kerberos.ldif to kerberos-edir.ldif to make the problem more obvious. Submitted fixed yast2-ldap-server and ldapcpplib to Factory. Created a clone of this report as a reminder for SLE11-SP1. (In reply to comment #1) > We should probably have a > kerberos-openldap.ldif as well and preferably rename kerberos.ldif to > kerberos-edir.ldif to make the problem more obvious. Is there a simple way to create a kerberos-openldap.ldif from kerberos.schema. Than I can put a generation command it into the spec file. Created attachment 320093 [details]
Simple schema to LDIF tool
I'll add the attached script the openldap2-client package. Usage:
/usr/sbin/schema2ldif <schemafile>
the LDIF is printed to stdout.
Package submitted to factory. Contains a slightly enhanced version of the above script that should preserve comment lines. I guess it's best to open a separate request for krb-plugin-kdb-ldap to make use of the tool, I'll take care of that. Using perl was a bad idea actually, converted the script to awk. Usage is the same. This is an autogenerated message for OBS integration: This bug (541819) was mentioned in https://build.opensuse.org/request/show/21096 Factory / ldapcpplib https://build.opensuse.org/request/show/21249 Factory / openldap2 |