[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: Cant run ldapadd
- To: Karamat Adil IHMD <KaramatA@ih.navy.mil>
- Subject: RE: Cant run ldapadd
- From: Cécile Leyman <cecile.leyman@gfi.be>
- Date: Tue, 1 Apr 2003 20:15:19 +0200
- Cc: openldap-software@OpenLDAP.org
- In-reply-to: <9718D3B1ED18D31180F000A0C99DE223058DE6D4@ihmdex03.ih.navy.mil>
- References: <9718D3B1ED18D31180F000A0C99DE223058DE6D4@ihmdex03.ih.navy.mil>
- User-agent: Internet Messaging Program (IMP) 3.1
See this page...
http://ldap.akbkhome.com/objectclass/organizationalRole.html
Regards,
Cécile.
Quoting Karamat Adil IHMD <KaramatA@ih.navy.mil>:
> but will it add a role type under the tree ??? And why is the sample on the
> web incorrect !!!!
>
> -----Original Message-----
> From: Cécile Leyman [mailto:cecile.leyman@gfi.be]
> Sent: Tuesday, April 01, 2003 12:33 PM
> To: Karamat Adil IHMD
> Cc: openldap-software@openldap.org
> Subject: Re: Cant run ldapadd
>
>
> Hi,
>
> change "dc=roles,dc=xxx,dc=com" in "cn=roles,dc=xxx,dc=com"
>
> Regards,
>
> Cécile.
>
> Quoting Karamat Adil IHMD <KaramatA@ih.navy.mil>:
>
> > Hi all,
> > I am new at this openLdap stuff and just finally got it to work with
> > BurkeleyDB. Following is the LDIF file that I am trying to add , which is
> a
> > sample file form the tomcat web site to use with openldap:
> > ----------------------
> > # Define a user named 'tomcat'
> > dn: cn=tomcat,dc=xxx,dc=com
> > cn: tomcat
> > userPassword: tomcat
> > sn: Tomcat User
> > objectClass: person
> >
> > # Define a user named 'both'
> > dn: cn=both,dc=xxx,dc=com
> > cn: both
> > userPassword: tomcat
> > sn: Both User
> > objectClass: person
> >
> > # Define an entry to base role searches on
> > dn: dc=roles,dc=xxx,dc=com
> > cn: roles
> > objectClass: person
> > sn: Roles Entry
> >
> > # Define all members of the 'tomcat' role
> > dn: cn=tomcat,dc=roles,dc=xxx,dc=com
> > cn: tomcat
> > objectClass: groupOfUniqueNames
> > uniqueMember: cn=tomcat,dc=xxx,dc=com
> > uniqueMember: cn=both,dc=xxx,dc=com
> > ------------------
> >
> > OK it adds the first two entries i.e tomcat and both and then when it
> tries
> > to add the third entry it gives the following message :
> >
> > adding new entry "dc=roles,dc=xxx,dc=com"
> > ldapadd: update failed: dc=roles,dc=xxx,dc=com
> > ldap_add: No such attribute (16)
> > additional info: naming attribute 'dc' is not present in entry
> >
> >
> > What am I doing wrong ????
> > Thanks,
> > Adil
> >
>
>
>
>
> -------------------------------------------------
> Mail sent through GFI Mailserver1.0
> info: ava@gfi.be
>
-------------------------------------------------
Mail sent through GFI Mailserver1.0
info: ava@gfi.be