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 'DealerCode' <br>DESC 'R= FC2256: Dealer code'<br>SUP name )</p> <p>attributetype ( 1.2006.08.20.2 NAME 'GroupCode' <br>DESC 'RF= C2256: Group code'<br>SUP name )</p> <p>objectclass ( 1.2006.08.20.3 NAME 'DealerMaster'<br>DESC 'In= formation regarding dealer'<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 "cn=3DManager,dc=3Dabacus,dc=3Dcom" -W -f dealer= entry.ldif</p> <p>It ask for ldap password after entering the password </p> <p>"adding new entry "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--