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

Some attributes not allowed (ITS#1633)



Full_Name: Annett Katzschner
Version: current
OS: Linux Suse 7.2
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (193.99.189.51)


Hallo,

I have Suse 7.2 and the current ldap-version.

I want to add an entry to LDAP which have the attribute "mail" with a value (for
example: mail: xy@djfh.com).
Error Message: ldap_add: Object class violation, additional info: attribute
'mail' not allowed. In the core.schema is an attribute mail defined:
attributetype ( 0.9.2342.19200300.100.1.3
	NAME ( 'mail' 'rfc822Mailbox' )
	DESC 'RFC1274: RFC822 Mailbox'
    EQUALITY caseIgnoreIA5Match
    SUBSTR caseIgnoreIA5SubstringsMatch
    SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{256} )

I now a new attribute "Email" an define it in the core.schema and in the
ldaptemplates.conf. Now the ldap add works. 
attributetype ( 2.5.4.55 NAME 'Email'
    	EQUALITY caseIgnoreMatch
   	SUBSTR caseIgnoreSubstringsMatch
    	SYNTAX 1.3.6.1.4.1.1466.115.121.1.26 )
Have I to look up or observe or change something else, so that I have in the
future no problems?
Are there some documents (perhaps in German?) about the new attribute
definitions and what I have to change all, when I configure my own attributes .
The older attribute definition was easier with slapd.at and *oc.conf. ...

Thanks