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

What is this?

I'm (obviously) in experimental mode...

  So I tried setting up a "new and different" schema type setup.  My
typical experimental stuff goes like this.

/etc/init.d/ldap stop
rm -f /var/openldap-data/*
/etc/init.d/ldap start
ldapadd -D "cn=mananger,dc=corvu,dc=com" -W -x -f ~ldif/file.ldif

Then a corresponding "ldapsearch" to see what I get.  So I tried something
new, and I got this back...

# extended LDIF
# LDAPv3
# base <> with scope sub
# filter: (objectclass=*)
# requesting: ALL

# search result
search: 2
result: 34 Invalid DN syntax
text: invalid DN

# numResponses: 1

here's the ldif

# This is the master ldif file for FIRE.

# object root of LDAP server using domain components...
dn: dc=corvu,dc=com
objectclass: dcObject
objectclass: organizationalUnit
dc: corvu
ou: CorVu dot Com

# root user of LDAP server...
dn: cn=manager,dc=corvu,dc=com
objectclass: organizationalRole
cn: manager
description: LDAP Directory Administrator

# People Big Flat Group
dn: ou=people,dc=corvu,dc=com
ou: people
objectclass: organizationalUnit
description: All People
# Directory Administrator Group
dn: ou=admin,dc=corvu,dc=com
ou: admin
ou: people
objectclass: organizationalUnit
description: Full Directory Administrators

dn: cn=gvollink,ou=admin,dc=corvu,dc=com
cn: gvollink
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: posixAccount
uid: gvollink
uidNumber: 500
gidNumber: 500
homeDirectory: /home/gvollink
mail: gvldap@CorVu.com
givenname: Gary Allen
sn: Vollink
initials: GAV
title: Information Technology Manager
ou: admin
ou: people
displayName: Gary Allen Vollink
street: 3400 West 66th Street, Suite 445
l: Edina
st: MN
userPassword: whocares
postalCode: 55435