[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE:
I have done the same way. But it says attribute not allowed.
here is my program's content.
--------------------------
myAttrs = new BasicAttributes(true);
Attribute oc = new BasicAttribute("objectclass");
oc.add("inetOrgPerson");
oc.add("organizationalPerson");
oc.add("person");
oc.add("top");
oc.add("pilotPerson");
myAttrs.put(oc);
myAttrs.put("userid","pp");
myAttrs.put("cn","monica gupta");
myAttrs.put("sn","gupta");
Thanks
Monica
From: "Alexandre Ghisoli" <alexandre.ghisoli@ycom.ch>
Reply-To: <alexandre.ghisoli@ycom.ch>
To: "monica gupta" <monicaldap@hotmail.com>
CC: "Liste openldap" <openldap-software@openldap.org>
Subject: RE:
Date: Tue, 16 Jan 2001 21:14:24 +0100
> > oc.add("inetOrgPerson");
> > oc.add("organizationalPerson");
> > oc.add("person");
> > oc.add("top");
add oc.add("pilotPerson");
> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of monica gupta
> Sent: Tuesday, January 16, 2001 8:38 PM
> To: alexandre.ghisoli@ycom.ch
> Cc: openldap-software@OpenLDAP.org
> Subject: RE:
>
>
> Hi,
>
> It still says the same thing....Attribute not allowed. If I try to use
> anything which is not in core.schema then it says so.
>
> Both "pilotPerson" and "inetOrgPerson" are defined in
>
> cosine.schema & inetorgperson.schema
>
> I have included both these files in slapd.conf. I also did a stop
> and start
> server. But then also its not working.
>
> Thanks
>
> Monica
>
>
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com