[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: ldapadd Vs slapadd



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