Re: Recommended way to modify cn=schema entries?

2010-07-13 Thread Ralf Haferkamp
Am Montag 12 Juli 2010, 18:00:29 schrieb Quanah Gibson-Mount:
> --On Monday, July 12, 2010 11:43 PM +1200 Ian Collins
> 
> 
> wrote:
> > On 07/ 6/10 02:12 PM, Ian Collins wrote:
> >> I would like to re-order two schema entries to resolve a dependency
> >> issue (our local schema, included before dyngroup.schema, now
> >> references memberURL).
> >> 
> >> However deleting a schema entry with ldapmodify does not appear to
> >> be supported:
> >> 
> >> dn: cn={8}dyngroup,cn=schema,cn=config
> >> changetype: delete
> >> 
> >> deleting entry "cn={8}dyngroup,cn=schema,cn=config"
> >> ldap_delete: Server is unwilling to perform (53)
> >> 
> >> Any suggestions?
> > 
> > To answer my own question, stopping slapd, editing the ldif and
> > restarting appears to be the only way to do this.
> 
> Delete is not implemented for cn=config until OpenLDAP 2.5.
Based on previous discussion on the -devel list it is still questionable 
if there will be delete support for Schema Entries though.

-- 
Ralf


Re: Recommended way to modify cn=schema entries?

2010-07-12 Thread Quanah Gibson-Mount
--On Monday, July 12, 2010 11:43 PM +1200 Ian Collins  
wrote:



On 07/ 6/10 02:12 PM, Ian Collins wrote:

I would like to re-order two schema entries to resolve a dependency
issue (our local schema, included before dyngroup.schema, now
references memberURL).

However deleting a schema entry with ldapmodify does not appear to be
supported:

dn: cn={8}dyngroup,cn=schema,cn=config
changetype: delete

deleting entry "cn={8}dyngroup,cn=schema,cn=config"
ldap_delete: Server is unwilling to perform (53)

Any suggestions?


To answer my own question, stopping slapd, editing the ldif and
restarting appears to be the only way to do this.


Delete is not implemented for cn=config until OpenLDAP 2.5.

--Quanah


--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc

Zimbra ::  the leader in open source messaging and collaboration


Re: Recommended way to modify cn=schema entries?

2010-07-12 Thread Ian Collins

On 07/ 6/10 02:12 PM, Ian Collins wrote:
I would like to re-order two schema entries to resolve a dependency 
issue (our local schema, included before dyngroup.schema, now 
references memberURL).


However deleting a schema entry with ldapmodify does not appear to be 
supported:


dn: cn={8}dyngroup,cn=schema,cn=config
changetype: delete

deleting entry "cn={8}dyngroup,cn=schema,cn=config"
ldap_delete: Server is unwilling to perform (53)

Any suggestions?

To answer my own question, stopping slapd, editing the ldif and 
restarting appears to be the only way to do this.


--
Ian.



Recommended way to modify cn=schema entries?

2010-07-05 Thread Ian Collins
I would like to re-order two schema entries to resolve a dependency 
issue (our local schema, included before dyngroup.schema, now references 
memberURL).


However deleting a schema entry with ldapmodify does not appear to be 
supported:


dn: cn={8}dyngroup,cn=schema,cn=config
changetype: delete

deleting entry "cn={8}dyngroup,cn=schema,cn=config"
ldap_delete: Server is unwilling to perform (53)

Any suggestions?

--
Ian.