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

Re: Naming violation (64) pgpElementType



Thanks all!

I'm still pretty new to ldap. What I'm looking for on
some tips on how to create the ldif file. I will read
through the link you all posted. THANKS! it will save
me some googling time!

Also by the schema I posted is there something I'm
missing that would prevent from ever successfully add
objectclass pgpelement?

cheers and great thanks again!


--- Pierangelo Masarati <ando@sys-net.it> wrote:

> ray v wrote:
> 
> >HOLA!
> >
> >Can someone give me a pointer on what I'm missing?
> >Also, is there a link to where I can find all the
> >error messages neatly defined?
> >
> >--error message when attempting to add from ldif---
> >
> >adding new entry
> >"pgpElementType=pgpprefs,cn=prefs,ou=PGP
> >Prefs,dc=mycom,dc=com"
> >ldapadd: update failed:
> >pgpElementType=pgpprefs,cn=prefs,ou=PGP
> >Prefs,dc=mycom,dc=com
> >ldap_add: Naming violation (64)
> >        additional info: naming attribute
> >'pgpElementType' is not present in entry
> >  
> >
> The messge sounds pretty clear: the naming attribute
> 'pgpElementType'
> is not present in the entry you're trying to add. 
> What's a naming 
> attribute,
> of course, cannot be explained in an error message
> (otherwise we'd need
> to explain what an attribute is, what an entry is,
> and so on).
> 
> See http://www.openldap.org/faq/data/cache/1006.html
> for this specific
> tpe of errors, and
> http://www.openldap.org/faq/data/cache/53.html for
> common errors.  Feel free to improve the FAQ if you
> find it incomplete
> or misleading; it's interactive.
> 
> p.
> 
> >-------ldif file -----------
> >
> >dn:pgpElementType=pgpprefs,cn=prefs,ou=PGP
> >Prefs,dc=mycom,dc=com
> >objectClass:pgpElement
> >cn:pgpprefs
> >
> >--------------Ethereal capture -----------------
> >
> >Error Message: naming attribute 'pgpElementType' is
> >not present in entry
> >
> >------------------------
> >
> >------------- PGP schema --------
> >
> >attributeType ( 1.3.6.1.4.1.3401.8.2.2 NAME
> >'pgpElementType'
> >    DESC 'PGP defined attribute containing the type
> of
> >the pref object'
> >    EQUALITY caseIgnoreMatch
> >    SUBSTR caseIgnoreSubstringsMatch
> >    SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
> >    SINGLE-VALUE
> >    X-ORIGIN 'Pretty Good Privacy (PGP)' )
> >attributeType ( 1.3.6.1.4.1.3401.8.2.3 NAME
> 'pgpData'
> >    DESC 'PGP defined attribute containing the
> admin
> >pref data'
> >    SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
> >    SINGLE-VALUE
> >    X-ORIGIN 'Pretty Good Privacy (PGP)' )
> >
> >objectClass ( 1.3.6.1.4.1.3401.8.2.4 NAME
> 'pgpProfile'
> >    DESC 'PGP defined objectclass of a collection
> >admin prefs'
> >    SUP top
> >    MUST ( objectClass )
> >    MAY ( cn $ owner )
> >    X-ORIGIN 'Pretty Good Privacy (PGP)' )
> >objectClass ( 1.3.6.1.4.1.3401.8.2.1 NAME
> 'pgpElement'
> >    DESC 'PGP defined objectclass of a single admin
> >pref object'
> >    SUP top
> >    MUST ( objectClass )
> >    MAY ( pgpElementType $ pgpData $ owner )
> >    X-ORIGIN 'Pretty Good Privacy (PGP)' )
> >
> >-------------------------------------
> >Thanks!
> >
> >
> >		
> >_______________________________
> >Do you Yahoo!?
> >Win 1 of 4,000 free domain names from Yahoo! Enter
> now.
> >http://promotions.yahoo.com/goldrush
> >  
> >
> 
> 
> 
> 
> 
>     SysNet - via Dossi,8 27100 Pavia Tel:
> +390382573859 Fax: +390382476497
> 
> 



	
		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail