From dev-return-41333-apmail-directory-dev-archive=directory.apache.org@directory.apache.org Fri Sep 7 13:51:03 2012 Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3BC6DD495 for ; Fri, 7 Sep 2012 13:51:03 +0000 (UTC) Received: (qmail 68741 invoked by uid 500); 7 Sep 2012 13:51:02 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 68689 invoked by uid 500); 7 Sep 2012 13:51:02 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 68658 invoked by uid 99); 7 Sep 2012 13:51:02 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2012 13:51:02 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mervet2009@gmail.com designates 209.85.214.178 as permitted sender) Received: from [209.85.214.178] (HELO mail-ob0-f178.google.com) (209.85.214.178) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Sep 2012 13:50:55 +0000 Received: by obbwd20 with SMTP id wd20so5463011obb.37 for ; Fri, 07 Sep 2012 06:50:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=LXJ9hUXZf0WfCpyXt+L9QK5OQ4/8skJL6JuwauNHM4k=; b=yviid+MgRApAQFYouqIwsdgKKLuV2o88acQh4KvS1weyohEfBQJpNzvD107806QMG1 zFKVfMnVKmgfu2TbKPuBAk8Rbnh3foHzc5pNnebX3wWU/wD+bGS+pjsHT19wrQtfbCAA zUFFVV+YK8aCZDNFUiPtv2lplrJFKbn6aAt3GRSXXTaQwX1lQB2ITsH83nzxZVinOBi5 SoF3YiTIeKAYzdLWFYULjJjCh/J9x9UEqFhzXKLoiofXpKGJI4U+PCTdmNGtiN7+zBso yfXyrPBdDX3+GuUwp3SHDeEdsrwkofroxFn+KQHLkI/LJ7LYcdjvczSa5ezsFkGSiDyW 120g== MIME-Version: 1.0 Received: by 10.182.146.46 with SMTP id sz14mr5956934obb.76.1347025834444; Fri, 07 Sep 2012 06:50:34 -0700 (PDT) Received: by 10.76.84.134 with HTTP; Fri, 7 Sep 2012 06:50:34 -0700 (PDT) In-Reply-To: <3D31DD9E-7E57-40D4-97B7-780D777EEB82@marcelot.net> References: <819DBBE2-F2E3-4001-B457-41BA8371A501@marcelot.net> <3D31DD9E-7E57-40D4-97B7-780D777EEB82@marcelot.net> Date: Fri, 7 Sep 2012 16:50:34 +0300 Message-ID: Subject: Re: Custom Attribute From: Merve Temizer To: Apache Directory Developers List Content-Type: multipart/alternative; boundary=f46d0444e92b5d863604c91ce408 --f46d0444e92b5d863604c91ce408 Content-Type: text/plain; charset=ISO-8859-1 That's it! Thanks in advance. 2012/9/7 Pierre-Arnaud Marcelot > On 7 sept. 2012, at 15:35, Merve Temizer wrote: > > I think i have tried to import two times by mistake. > Now it does not give error, but there is a different question, should not > i see objectClass myUser in adding new entry wizard? > > I can not see despite of rebooting the server. > > > Use the "Reload Schema" button in the "New Entry Wizard" when choosing the > object classes for your entry. > > Apache Directory Studio stores a cache copy of the schema of the server > and it probably wasn't updated since you added the new schema elements. > > Regards, > Pierre-Arnaud > > > 2012/9/7 Pierre-Arnaud Marcelot > >> >> On 7 sept. 2012, at 15:03, Merve Temizer wrote: >> >> Hi, >> Thanks for reply. >> >> I checked out 2 months ago, from svn co >> http://svn.apache.org/repos/asf/directory/apacheds/trunk-with-dependencies >> >> Do you advise to check it out again from same url, or something else? >> >> >> Yes. >> >> Or just download the latest milestone release here: >> http://directory.apache.org/apacheds/2.0/downloads.html >> >> Regards, >> Pierre-Arnaud >> >> Thanks. >> >> 2012/9/7 Pierre-Arnaud Marcelot >> >>> Hi, >>> >>> What version of ApacheDS are you using? >>> >>> I successfully imported your LDIF with the latest version: >>> >>> #!RESULT OK >>> #!CONNECTION ldap://localhost:10389 >>> #!DATE 2012-09-07T12:34:10.932 >>> dn: cn=schema >>> changetype: modify >>> add: attributeTypes >>> attributeTypes: ( 2.25.128424792425578037463837247958458780603.1 >>> NAME 'u >>> serEmail' EQUALITY caseIgnoreMatch SUBSTR >>> caseIgnoreSubstringsMat >>> ch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) >>> attributeTypes: ( 2.25.128424792425578037463837247958458780603.2 >>> NAME 'u >>> serOrganizationDn' EQUALITY caseIgnoreMatch SUBSTR >>> caseIgnoreSubs >>> tringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) >>> attributeTypes: ( 2.25.128424792425578037463837247958458780603.3 >>> NAME 'u >>> serSuborganizationDn' EQUALITY caseIgnoreMatch SUBSTR >>> caseIgnoreS >>> ubstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) >>> attributeTypes: ( 2.25.128424792425578037463837247958458780603.4 >>> NAME 'u >>> serMobilePhone' EQUALITY caseIgnoreMatch SUBSTR >>> caseIgnoreSubstri >>> ngsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) >>> attributeTypes: ( 2.25.128424792425578037463837247958458780603.5 >>> NAME 'u >>> serNotifEmail' EQUALITY caseIgnoreMatch SUBSTR >>> caseIgnoreSubstrin >>> gsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) >>> attributeTypes: ( 2.25.128424792425578037463837247958458780603.6 >>> NAME 'u >>> serNotifPhone' EQUALITY caseIgnoreMatch SUBSTR >>> caseIgnoreSubstrin >>> gsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) >>> attributeTypes: ( 2.25.128424792425578037463837247958458780603.7 >>> NAME 'u >>> serStatusOption' EQUALITY caseIgnoreMatch SUBSTR >>> caseIgnoreSubstr >>> ingsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) >>> attributeTypes: ( 2.25.128424792425578037463837247958458780603.8 >>> NAME 'u >>> serAccountOption' EQUALITY caseIgnoreMatch SUBSTR >>> caseIgnoreSubst >>> ringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) >>> attributeTypes: ( 2.25.128424792425578037463837247958458780603.9 >>> NAME 'u >>> serEmailQuota' EQUALITY caseIgnoreMatch SUBSTR >>> caseIgnoreSubstrin >>> gsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) >>> attributeTypes: ( 2.25.128424792425578037463837247958458780603.10 >>> NAME ' >>> userStorageQuota' EQUALITY caseIgnoreMatch SUBSTR >>> caseIgnoreSubst >>> ringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) >>> attributeTypes: ( 2.25.128424792425578037463837247958458780603.11 >>> NAME ' >>> userLastSignIn' EQUALITY caseIgnoreMatch SUBSTR >>> caseIgnoreSubstri >>> ngsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) >>> attributeTypes: ( 2.25.128424792425578037463837247958458780603.12 >>> NAME ' >>> userPhone' EQUALITY caseIgnoreMatch SUBSTR >>> caseIgnoreSubstringsMa >>> tch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) >>> attributeTypes: ( 2.25.128424792425578037463837247958458780603.13 >>> NAME ' >>> userCertificateType' EQUALITY caseIgnoreMatch SUBSTR >>> caseIgnoreSu >>> bstringsMatch SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) >>> attributeTypes: ( 2.25.128424792425578037463837247958458780603.14 >>> NAME ' >>> userAddress' EQUALITY caseIgnoreMatch SUBSTR >>> caseIgnoreSubstrings >>> Match SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) >>> - >>> add: objectClasses >>> objectClasses: ( 2.25.128424792425578037463837247958458780603.15 NAME >>> 'myUse >>> r' DESC 'myUser' SUP inetOrgPerson STRUCTURAL MAY ( userEmail >>> $ user >>> OrganizationDn $ userSuborganizationDn $ userMobilePhone $ >>> userNotifEmail $ u >>> serNotifPhone $ userStatusOption $ userAccountOption $ userEmailQuota $ >>> userS >>> torageQuota $ userLastSignIn $ userPhone $ userCertificateType $ >>> userAddress) >>> ) >>> - >>> >>> >>> Regards, >>> Pierre-Arnaud >>> >>> On 7 sept. 2012, at 11:31, Merve Temizer wrote: >>> >>> Hello, >>> I have tried to add a custom objectClass and custom attributes of it. >>> So i wrote an ldif file >>> >>> dn: cn=schema >>> changetype: modify >>> add: attributeTypes >>> attributeTypes: ( 2.25.128424792425578037463837247958458780603.1 >>> NAME 'userEmail' >>> EQUALITY caseIgnoreMatch >>> SUBSTR caseIgnoreSubstringsMatch >>> SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 ) >>> attributeTypes: ( 2.25.128424792425578037463837247958458780603.2 >>> NAME 'userOrganizationDn' >>> EQUALITY caseIgnoreMatch >>> SUBSTR caseIgnoreSubstringsMatch >>> SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) >>> attributeTypes: ( 2.25.128424792425578037463837247958458780603.3 >>> NAME 'userSuborganizationDn' >>> EQUALITY caseIgnoreMatch >>> SUBSTR caseIgnoreSubstringsMatch >>> SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) >>> attributeTypes: ( 2.25.128424792425578037463837247958458780603.4 >>> NAME 'userMobilePhone' >>> EQUALITY caseIgnoreMatch >>> SUBSTR caseIgnoreSubstringsMatch >>> SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) >>> attributeTypes: ( 2.25.128424792425578037463837247958458780603.5 >>> NAME 'userNotifEmail' >>> EQUALITY caseIgnoreMatch >>> SUBSTR caseIgnoreSubstringsMatch >>> SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) >>> attributeTypes: ( 2.25.128424792425578037463837247958458780603.6 >>> NAME 'userNotifPhone' >>> EQUALITY caseIgnoreMatch >>> SUBSTR caseIgnoreSubstringsMatch >>> SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) >>> attributeTypes: ( 2.25.128424792425578037463837247958458780603.7 >>> NAME 'userStatusOption' >>> EQUALITY caseIgnoreMatch >>> SUBSTR caseIgnoreSubstringsMatch >>> SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) >>> attributeTypes: ( 2.25.128424792425578037463837247958458780603.8 >>> NAME 'userAccountOption' >>> EQUALITY caseIgnoreMatch >>> SUBSTR caseIgnoreSubstringsMatch >>> SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) >>> attributeTypes: ( 2.25.128424792425578037463837247958458780603.9 >>> NAME 'userEmailQuota' >>> EQUALITY caseIgnoreMatch >>> SUBSTR caseIgnoreSubstringsMatch >>> SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) >>> attributeTypes: ( 2.25.128424792425578037463837247958458780603.10 >>> NAME 'userStorageQuota' >>> EQUALITY caseIgnoreMatch >>> SUBSTR caseIgnoreSubstringsMatch >>> SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) >>> attributeTypes: ( 2.25.128424792425578037463837247958458780603.11 >>> NAME 'userLastSignIn' >>> EQUALITY caseIgnoreMatch >>> SUBSTR caseIgnoreSubstringsMatch >>> SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) >>> attributeTypes: ( 2.25.128424792425578037463837247958458780603.12 >>> NAME 'userPhone' >>> EQUALITY caseIgnoreMatch >>> SUBSTR caseIgnoreSubstringsMatch >>> SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) >>> attributeTypes: ( 2.25.128424792425578037463837247958458780603.13 >>> NAME 'userCertificateType' >>> EQUALITY caseIgnoreMatch >>> SUBSTR caseIgnoreSubstringsMatch >>> SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) >>> attributeTypes: ( 2.25.128424792425578037463837247958458780603.14 >>> NAME 'userAddress' >>> EQUALITY caseIgnoreMatch >>> SUBSTR caseIgnoreSubstringsMatch >>> SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} ) >>> - >>> add: objectClasses >>> objectClasses: ( 2.25.128424792425578037463837247958458780603.15 >>> NAME 'myUser' >>> DESC 'myUser' >>> SUP inetOrgPerson >>> STRUCTURAL >>> MAY ( userEmail $ userOrganizationDn $ userSuborganizationDn $ >>> userMobilePhone $ userNotifEmail $ userNotifPhone $ userStatusOption $ >>> userAccountOption $ userEmailQuota $ userStorageQuota $ userLastSignIn $ >>> userPhone $ userCertificateType $ userAddress) >>> ) >>> >>> I tried to import it using apacheDS directory studio-> ou=schema >>> rightclick->import->LDIF file >>> >>> But i am getting error >>> >>> org.apache.directory.shared.ldap.model.message.ModifyRequestImpl@cfeedf56: >>> ERR_335 Oid 2.25.128424792425578037463837247958458780603.1 for new schema >>> entity is not unique.]; remaining name 'cn=schema' >>> >>> I do not know how to determine the uid number string. Where can i read >>> how to determine it? >>> >>> Or could you give some idea? >>> >>> Thanks >>> >>> >>> >> >> > > --f46d0444e92b5d863604c91ce408 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable That's it! Thanks in advance.

2012/9/= 7 Pierre-Arnaud Marcelot <pa@marcelot.net>
On 7 sept. = 2012, at 15:35, Merve Temizer <mervet2009@gmail.com> wrote:

I think i have tried to import two times by mistake.
Now it does not gi= ve error, but there is a different question, should not i see objectClass m= yUser in adding new entry wizard?

I can not see de= spite of rebooting the server.=A0

Use the "Reload Schema" bu= tton in the "New Entry Wizard" when choosing the object classes f= or your entry.

Apache Directory Studio stores a ca= che copy of the schema of the server and it probably wasn't updated sin= ce you added the new schema elements.

Regards,
Pierre-Arnaud


2012/9/7 Pierre-Arnaud Marcelot <pa@marcel= ot.net>

On 7 sept. 2012, at = 15:03, Merve Temizer <mervet2009@gmail.com> wrote:

Hi,
Thanks for reply.


Do you advise to check it out again from same url, or s= omething else?

Yes.
<= br>
Or just download the latest milestone release here:

Regards,
Pierre-Arnaud

Thanks.

2012/9/7 Pierre-Arnaud Marcelot <pa@marcelot.net>
Hi,
=
What version of ApacheDS are you using?

=
I successfully imported your LDIF with the latest version:
#!RESULT OK
#!DATE 2012-09-07T12:34:10.932
dn: cn=3Dsch= ema
changetype: modify
add: attributeTypes
attributeTypes: ( 2.25.128424792425578037463837247958458780603.1 =A0 = =A0 =A0 NAME 'u
=A0serEmail' =A0 =A0 =A0 EQUALITY caseIgnoreMatch =A0 =A0 =A0 SUBS= TR caseIgnoreSubstringsMat
=A0ch =A0 =A0 =A0 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
attributeTypes: ( 2.25.128424792425578037463837247958458780603.2 =A0 =A0 =A0 NA= ME 'u
=A0serOrganizationDn' =A0 =A0 =A0 EQUALITY caseIgnoreMatch =A0 =A0= =A0 SUBSTR caseIgnoreSubs
=A0tringsMatch =A0 =A0 =A0 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
attributeTypes: ( 2.25.128424792425578037463837247958458780603.= 3 =A0 =A0 =A0 NAME 'u
=A0serSuborganizationDn' =A0 =A0 =A0 EQUALITY caseIgnoreMatch =A0 = =A0 =A0 SUBSTR caseIgnoreS
=A0ubstringsMatch =A0 =A0 =A0 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )<= /div>
attributeTypes: ( 2.25.12842479242557803746383724795845878060= 3.4 =A0 =A0 =A0 NAME 'u
=A0serMobilePhone' =A0 =A0 =A0 EQUALITY caseIgnoreMatch =A0 =A0 = =A0 SUBSTR caseIgnoreSubstri
=A0ngsMatch =A0 =A0 =A0 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
<= div>
attributeTypes: ( 2.25.128424792425578037463837247958458780603.5 = =A0 =A0 =A0 NAME 'u
=A0serNotifEmail' =A0 =A0 =A0 EQUALITY caseIgnoreMatch =A0 =A0 =A0= SUBSTR caseIgnoreSubstrin
=A0gsMatch =A0 =A0 =A0 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
attributeTypes: ( 2.25.128424792425578037463837247958458780603.6 =A0= =A0 =A0 NAME 'u
=A0serNotifPhone' =A0 =A0 =A0 EQUALITY caseIgnoreMatch =A0 =A0 =A0= SUBSTR caseIgnoreSubstrin
=A0gsMatch =A0 =A0 =A0 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
attributeTypes: ( 2.25.128424792425578037463837247958458780603.7 =A0= =A0 =A0 NAME 'u
=A0serStatusOption' =A0 =A0 =A0 EQUALITY caseIgnoreMatch =A0 =A0 = =A0 SUBSTR caseIgnoreSubstr
=A0ingsMatch =A0 =A0 =A0 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
=
attributeTypes: ( 2.25.128424792425578037463837247958458780603.8 = =A0 =A0 =A0 NAME 'u
=A0serAccountOption' =A0 =A0 =A0 EQUALITY caseIgnoreMatch =A0 =A0 = =A0 SUBSTR caseIgnoreSubst
=A0ringsMatch =A0 =A0 =A0 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
attributeTypes: ( 2.25.128424792425578037463837247958458780603.= 9 =A0 =A0 =A0 NAME 'u
=A0serEmailQuota' =A0 =A0 =A0 EQUALITY caseIgnoreMatch =A0 =A0 =A0= SUBSTR caseIgnoreSubstrin
=A0gsMatch =A0 =A0 =A0 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
attributeTypes: ( 2.25.128424792425578037463837247958458780603.10 = =A0 =A0 =A0 NAME '
=A0userStorageQuota' =A0 =A0 =A0 EQUALITY caseIgnoreMatch =A0 =A0 = =A0 SUBSTR caseIgnoreSubst
=A0ringsMatch =A0 =A0 =A0 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
attributeTypes: ( 2.25.128424792425578037463837247958458780603.= 11 =A0 =A0 =A0 NAME '
=A0userLastSignIn' =A0 =A0 =A0 EQUALITY caseIgnoreMatch =A0 =A0 = =A0 SUBSTR caseIgnoreSubstri
=A0ngsMatch =A0 =A0 =A0 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
<= div>
attributeTypes: ( 2.25.128424792425578037463837247958458780603.12 = =A0 =A0 =A0 NAME '
=A0userPhone' =A0 =A0 =A0 EQUALITY caseIgnoreMatch =A0 =A0 =A0 SUB= STR caseIgnoreSubstringsMa
=A0tch =A0 =A0 =A0 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
<= div style=3D"margin:0px;font-size:11px;font-family:Monaco;color:rgb(3,38,20= 4)">attributeTypes: ( 2.25.128424792425578037463837247958458780603.13 =A0 = =A0 =A0 NAME '
=A0userCertificateType' =A0 =A0 =A0 EQUALITY caseIgnoreMatch =A0 = =A0 =A0 SUBSTR caseIgnoreSu
=A0bstringsMatch =A0 =A0 =A0 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
attributeTypes: ( 2.25.128424792425578037463837247958458780603= .14 =A0 =A0 =A0 NAME '
=A0userAddress' =A0 =A0 =A0 EQUALITY caseIgnoreMatch =A0 =A0 =A0 S= UBSTR caseIgnoreSubstrings
=A0Match =A0 =A0 =A0 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
-
add: objectClasses
objectClasses: ( 2.25.12842479242557803746383724= 7958458780603.15 =A0 NAME 'myUse
=A0r' =A0 DESC 'myUser' =A0 SUP inetOrgPerson =A0 ST= RUCTURAL =A0 MAY=A0 ( userEmail $ user
=A0OrganizationDn $ userSuborganizationDn $ userMobilePhone $ userNotifEmai= l $ u
=A0serNotifPhone $ userStatusOption $ userAccountOption $ u= serEmailQuota $ userS
=A0torageQuota $ userLastSignIn $ userPhone $ userCertificateType $ us= erAddress)
=A0)
-

Re= gards,
Pierre-Arnaud=

On 7 sept. 2012, at 11:31, Merve Temizer <mervet2009@gmail.com= > wrote:

Hello,
I have tried to a= dd a custom objectClass and custom attributes of it.
So i wrote an ldif file=A0

dn: cn=3Dsche= ma
changetype: modify
add: attributeTypes
attributeTypes: ( 2.25.128424792425578037463837247958458780603.1
=
=A0 =A0 =A0 =A0 NAME 'userEmail'
=A0 =A0 =A0 =A0 EQU= ALITY caseIgnoreMatch
=A0 =A0 =A0 =A0 SUBSTR caseIgnoreSubstrings= Match
=A0 =A0 =A0 =A0 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 )
attributeTypes: ( 2.25.128424792425578037463837247958458780603.2
=
=A0 =A0 =A0 =A0 NAME 'userOrganizationDn'
=A0 =A0 = =A0 =A0 EQUALITY caseIgnoreMatch
=A0 =A0 =A0 =A0 SUBSTR caseIgnor= eSubstringsMatch
=A0 =A0 =A0 =A0 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
attributeTypes: ( 2.25.128424792425578037463837247958458780603.3
=A0 =A0 =A0 =A0 NAME 'userSuborganizationDn'
=A0 =A0 =A0= =A0 EQUALITY caseIgnoreMatch
=A0 =A0 =A0 =A0 SUBSTR caseIgnoreSubstringsMatch
=A0 =A0 =A0= =A0 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} )
attributeTypes:= ( 2.25.128424792425578037463837247958458780603.4
=A0 =A0 =A0 =A0= NAME 'userMobilePhone'
=A0 =A0 =A0 =A0 EQUALITY caseIgnoreMatch
=A0 =A0 =A0 =A0 SUB= STR caseIgnoreSubstringsMatch
=A0 =A0 =A0 =A0 SYNTAX 1.3.6.1.4.1.= 1466.115.121.1.15{1024} )
attributeTypes: ( 2.25.1284247924255780= 37463837247958458780603.5
=A0 =A0 =A0 =A0 NAME 'userNotifEmail'
=A0 =A0 =A0 = =A0 EQUALITY caseIgnoreMatch
=A0 =A0 =A0 =A0 SUBSTR caseIgnoreSub= stringsMatch
=A0 =A0 =A0 =A0 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15= {1024} )
attributeTypes: ( 2.25.128424792425578037463837247958458= 780603.6
=A0 =A0 =A0 =A0 NAME 'userNotifPhone'
=A0 =A0 =A0 = =A0 EQUALITY caseIgnoreMatch
=A0 =A0 =A0 =A0 SUBSTR caseIgnoreSub= stringsMatch
=A0 =A0 =A0 =A0 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15= {1024} )
attributeTypes: ( 2.25.128424792425578037463837247958458= 780603.7
=A0 =A0 =A0 =A0 NAME 'userStatusOption'
=A0 =A0 =A0 = =A0 EQUALITY caseIgnoreMatch
=A0 =A0 =A0 =A0 SUBSTR caseIgnoreSub= stringsMatch
=A0 =A0 =A0 =A0 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15= {1024} )
attributeTypes: ( 2.25.128424792425578037463837247958458= 780603.8
=A0 =A0 =A0 =A0 NAME 'userAccountOption'
=A0 =A0 =A0= =A0 EQUALITY caseIgnoreMatch
=A0 =A0 =A0 =A0 SUBSTR caseIgnoreSu= bstringsMatch
=A0 =A0 =A0 =A0 SYNTAX 1.3.6.1.4.1.1466.115.121.1.1= 5{1024} )
attributeTypes: ( 2.25.12842479242557803746383724795845= 8780603.9
=A0 =A0 =A0 =A0 NAME 'userEmailQuota'
=A0 =A0 =A0 = =A0 EQUALITY caseIgnoreMatch
=A0 =A0 =A0 =A0 SUBSTR caseIgnoreSub= stringsMatch
=A0 =A0 =A0 =A0 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15= {1024} )
attributeTypes: ( 2.25.128424792425578037463837247958458= 780603.10
=A0 =A0 =A0 =A0 NAME 'userStorageQuota'
=A0 =A0 =A0 = =A0 EQUALITY caseIgnoreMatch
=A0 =A0 =A0 =A0 SUBSTR caseIgnoreSub= stringsMatch
=A0 =A0 =A0 =A0 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15= {1024} )
attributeTypes: ( 2.25.128424792425578037463837247958458= 780603.11
=A0 =A0 =A0 =A0 NAME 'userLastSignIn'
=A0 =A0 =A0 = =A0 EQUALITY caseIgnoreMatch
=A0 =A0 =A0 =A0 SUBSTR caseIgnoreSub= stringsMatch
=A0 =A0 =A0 =A0 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15= {1024} )
attributeTypes: ( 2.25.128424792425578037463837247958458= 780603.12
=A0 =A0 =A0 =A0 NAME 'userPhone'
=A0 =A0 =A0 =A0 EQU= ALITY caseIgnoreMatch
=A0 =A0 =A0 =A0 SUBSTR caseIgnoreSubstrings= Match
=A0 =A0 =A0 =A0 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024} = )
attributeTypes: ( 2.25.128424792425578037463837247958458780603.= 13
=A0 =A0 =A0 =A0 NAME 'userCertificateType'
=A0 =A0 = =A0 =A0 EQUALITY caseIgnoreMatch
=A0 =A0 =A0 =A0 SUBSTR caseIgnor= eSubstringsMatch
=A0 =A0 =A0 =A0 SYNTAX 1.3.6.1.4.1.1466.115.121.= 1.15{1024} )
attributeTypes: ( 2.25.12842479242557803746383724795= 8458780603.14
=A0 =A0 =A0 =A0 NAME 'userAddress'
=A0 =A0 =A0 =A0 E= QUALITY caseIgnoreMatch
=A0 =A0 =A0 =A0 SUBSTR caseIgnoreSubstrin= gsMatch
=A0 =A0 =A0 =A0 SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{1024= } )
-
add: objectClasses
objectClasses: ( 2.25.128424792425578037463837247958458780603.15
=
=A0 =A0 NAME 'myUser'
=A0 =A0 DESC 'myUser'<= /div>
=A0 =A0 SUP inetOrgPerson
=A0 =A0 STRUCTURAL
= =A0 =A0 MAY =A0( userEmail $ userOrganizationDn $ userSuborganizationDn $ u= serMobilePhone $ userNotifEmail $ userNotifPhone $ userStatusOption $ userA= ccountOption $ userEmailQuota $ userStorageQuota $ userLastSignIn $ userPho= ne $ userCertificateType $ userAddress)
=A0)

I tried to import it using apacheD= S directory studio-> ou=3Dschema rightclick->import->LDIF file

But i am getting error

org.apache.directory.shared.ldap.model.messag= e.ModifyRequestImpl@cfeedf56: ERR_335 Oid 2.25.1284247924255780374638372479= 58458780603.1 for new schema entity is not unique.]; remaining name 'cn= =3Dschema'

I do not know how to determine the uid number strin= g. Where can i read how to determine it?

Or could you give some idea?

Thanks






--f46d0444e92b5d863604c91ce408--