ldapadd issue in custom objectclass

pankaj bhamare <[email protected]> Thu, 25 Jun 2009 12:46:29 +0530
Newsgroups gmane.ietf.ldapbis
Message-ID <[email protected]>
--0016e64769b6b52f94046d270021
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

hi,
I have created custom object class and its attribute

attributetype ( 1.2006.08.20.1 NAME 'DealerCode'
DESC 'RFC2256: Dealer code'
SUP name )

attributetype ( 1.2006.08.20.2 NAME 'GroupCode'
DESC 'RFC2256: Group code'
SUP name )

objectclass ( 1.2006.08.20.3 NAME 'DealerMaster'
DESC 'Information regarding dealer'
SUP top STRUCTURAL
MUST ( DealerCode )
MAY ( GroupCode $ mail ))

i have stored this file in /etc/openldap/schema/dealer.schema then i have
include this file in slapd.conf file then i have started server.
For testing purpose i have created one ldif file

dn: DealerCode=PankajB,dc=abacus,dc=com
DealerCode: PankajB
objectClass: DealerMaster

When i execute this ldif file with below mention command

ldapadd -x -D "cn=Manager,dc=abacus,dc=com" -W -f dealerentry.ldif

It ask for ldap password after entering the password

"adding new entry "DealerCode=PankajB,dc=abacus,dc=com"
appears on sceen then it hangs

Awaiting for your reply.
Thanks in advance

--0016e64769b6b52f94046d270021
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<p>=A0</p>
<p>hi,<br>I have created custom object class and its attribute</p>
<p>attributetype ( 1.2006.08.20.1 NAME &#39;DealerCode&#39; <br>DESC &#39;R=
FC2256: Dealer code&#39;<br>SUP name )</p>
<p>attributetype ( 1.2006.08.20.2 NAME &#39;GroupCode&#39; <br>DESC &#39;RF=
C2256: Group code&#39;<br>SUP name )</p>
<p>objectclass ( 1.2006.08.20.3 NAME &#39;DealerMaster&#39;<br>DESC &#39;In=
formation regarding dealer&#39;<br>SUP top STRUCTURAL<br>MUST ( DealerCode =
)<br>MAY ( GroupCode $ mail ))</p>
<p>i have stored this file in /etc/openldap/schema/dealer.schema then i hav=
e include this file in slapd.conf file then i have started server.<br>For t=
esting purpose i have created one ldif file</p>
<p>dn: DealerCode=3DPankajB,dc=3Dabacus,dc=3Dcom<br>DealerCode: PankajB<br>=
objectClass: DealerMaster</p>
<p>When i execute this ldif file with below mention command</p>
<p>ldapadd -x -D &quot;cn=3DManager,dc=3Dabacus,dc=3Dcom&quot; -W -f dealer=
entry.ldif</p>
<p>It ask for ldap password after entering the password </p>
<p>&quot;adding new entry &quot;DealerCode=3DPankajB,dc=3Dabacus,dc=3Dcom&q=
uot; <br>appears on sceen then it hangs </p>
<p>Awaiting for your reply.<br>Thanks in advance</p>

--0016e64769b6b52f94046d270021--