schema in ldif format question
From: flor_lai (flor_lai_at_yahoo.com)
Date: 02/24/04
- Next message: Antonio Ruiz Martínez: "Associate a private key (container) with the certificate?"
- Previous message: Ruslan: "How to send a secure email ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 24 Feb 2004 12:22:32 -0500
hi,
I create the ldif to modify the schema ( ADD, modify, etc).
1. Is it possible to add some logic in the ldif ?
Something liks If the objectclass doesn't exist, then create the add
objectclass. If the attribute doesn't exist, then create else not create.
2. I created the attribute "Attrib1" , When I add this attribute to the
exist objectclass, Why I have to use the OID. When I use "Attrib1", Error
return "No such attribute". What problem when I create the attribute, Is it
some parameter is missing.
dn: CN=attrib1,CN=Schema,CN=Configuration,DC=X
changetype: add
adminDisplayName: attrib1
adminDescription: attrib1
attributeId: 1.2.840.113556.1.4.997
attributeSyntax: 2.5.5.8
cn: attrib1
description: Attribute testing2
isMemberOfPartialAttributeSet: FALSE
isSingleValued: TRUE
lDAPDisplayName: attrib1
distinguishedName: CN=attrib1,CN=Schema,CN=Configuration,DC=X
objectCategory: CN=Attribute-Schema,CN=Schema,CN=Configuration,DC=X
objectClass: attributeSchema
oMSyntax: 1
name: attrib1
searchFlags: 0
-
dn: CN=StructObjClass1,CN=Schema,CN=Configuration,DC=X
changetype: modify
add: maycontain
mayContain : 1.2.840.113556.1.4.997 ( Why doesn't work on "mayContain :
Attrib1")
-
Thx for help
FL
- Next message: Antonio Ruiz Martínez: "Associate a private key (container) with the certificate?"
- Previous message: Ruslan: "How to send a secure email ?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]