[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: substitute a schema

paulo bruck wrote:
> Hi Guys
> I develop a simple schema and now I would like to suibstitute the actual
> schema for another one with same attributes and objectclass + another
> attibutes and obcejtclass .
> See its a superseed of ther previus one...
> I have already try using :
> ldapdelete -Y EXTERNAL -H ldapi:/// cn={6}squid,cn=schema,cn=config
> but received a:
> ldap_delete: Server is unwilling to perform (53)
> Doing it by hand it worked ( stoping ldap, substituted cn=squid  with new one
> and restarting ldap), but  I know that is not correct...
> How can I do it using ldapdelete ?

You don't. Use ldapmodify and fix the definitions; don't delete them and
create them again. This isn't Microsoft, deleting and starting over is not the
way things are done.

  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/