[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
RE: ldapadd Vs slapadd
- To: Karamat Adil IHMD <KaramatA@ih.navy.mil>
- Subject: RE: ldapadd Vs slapadd
- From: Cécile Leyman <cecile.leyman@gfi.be>
- Date: Tue, 1 Apr 2003 21:48:59 +0200
- Cc: openldap-software@OpenLDAP.org
- In-reply-to: <9718D3B1ED18D31180F000A0C99DE223058DE6D7@ihmdex03.ih.navy.mil>
- References: <9718D3B1ED18D31180F000A0C99DE223058DE6D7@ihmdex03.ih.navy.mil>
- User-agent: Internet Messaging Program (IMP) 3.1
See this example...
--------------------------
# home.be
dn: dc=home,dc=be
objectClass: top
objectClass: dcObject
objectClass: organization
o: Home
dc: home
# Manager, home.be
dn: cn=Manager,dc=home,dc=be
cn: Manager
objectClass: top
objectClass: organizationalRole
# test.home.be
dn: dc=test,dc=home,dc=be
objectClass: top
objectClass: domain
dc: test
# cle, home.be
dn: cn=cle,dc=home,dc=be
cn: cle
uid: cle
objectClass: top
objectClass: person
objectClass: inetorgPerson
mail: cle@gfi.be
sn: cle
# marushka, home.be
dn: cn=marushka,dc=home,dc=be
cn: marushka
uid: marushka
objectClass: top
objectClass: person
objectClass: inetOrgPerson
mail: marushka@gfi.be
sn: marushka
# testuser, test.home.be
dn: cn=testuser,dc=test,dc=home,dc=be
cn: testuser
objectClass: groupOfUniqueNames
uniqueMember: cn=cle,dc=home,dc=be
uniqueMember: cn=marushka,dc=home,dc=be
# testou, test.home.be
dn: ou=testou,dc=test,dc=home,dc=be
ou=testou
description: Test OU
------------------------------------------
I think that's your "objectClass: Person" isn't right.
If you would like create "subdomains", follow the sample above.
Regards,
Cécile.
Quoting Karamat Adil IHMD <KaramatA@ih.navy.mil>:
> Thanks for your help.
> But I am still not clear on the first question. The file I posted on the
> first mail was from tomcat website
> http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html
>
> And when I try to do a ldapadd on the file I get the error that told you
> about. Any suggestions or comments.
> Thanks for your help
> Adil
>
> -----Original Message-----
> From: Cécile Leyman [mailto:cecile.leyman@gfi.be]
> Sent: Tuesday, April 01, 2003 1:36 PM
> To: Karamat Adil IHMD
> Cc: openldap-software@openldap.org
> Subject: Re: ldapadd Vs slapadd
>
>
> http://www.openldap.org/lists/openldap-software/200212/msg00366.html
>
> Quoting Karamat Adil IHMD <KaramatA@ih.navy.mil>:
>
> > Can anyone tell me what is the difference b/w ldapadd and slapadd !!!
> > Thanks
> > Adil
> >
>
>
>
>
> -------------------------------------------------
> Mail sent through GFI Mailserver1.0
> info: ava@gfi.be
>
-------------------------------------------------
Mail sent through GFI Mailserver1.0
info: ava@gfi.be