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

Re: (ITS#7393) slapd crash when changing an attribute name to an existing name



ddick@cpan.org wrote:
> Full_Name: David Dick
> Version: 2.4.26
> OS: Fedora 16
> URL: 
> Submission from: (NULL) (124.148.129.18)
> 
> 
> When changing the NAME of an attribute to the name of an existing attribute, the
> slapd process crashes.

Unable to reproduce this in current OpenLDAP. (2.4.32 is latest.) You need to
upgrade, closing this ITS.

> The following set of statements in ldif format will crash the server; 
> The cn={12} was chosen as the next available schema index and may need to be
> adjusted appropriately.
> 
> dn: cn={12}crashme,cn=schema,cn=config
> changetype: add
> objectClass: olcSchemaConfig
> cn: {12}crashme
> olcAttributeTypes: {0}( 1.3.6.1.4.1.70001.2.1 NAME 'SmtpHost' EQUALITY
> caseExactMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
> 
> dn: cn={12}crashme,cn=schema,cn=config
> changetype: modify
> replace: olcAttributeTypes
> olcAttributeTypes: {0}( 1.3.6.1.4.1.70001.2.1 NAME 'MailHost' EQUALITY
> caseExactMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
> 
> 


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