--On Tuesday, December 05, 2006 1:26 PM -0500 [EMAIL PROTECTED] wrote:


version: 2

#
# filter: (objectclass=*)
# requesting: ALL
#
# people, harrisonburg, k12, va, us
dn: ou=people, dc=harrisonburg,dc=k12,dc=va,dc=us
objectClass: top
objectClass: organizationalUnit
ou: people
# aadamek, people, harrisonburg, k12, va, us
objectClass: posixAccount,dc=harrisonburg,dc=k12,dc=va,dc=us
objectClass: top
objectClass: shadowAccount
objectClass: inetLocalMailRecipient
objectClass: person
mailLocalAddress: [EMAIL PROTECTED]
userPassword:: somepassword
mail: [EMAIL PROTECTED]
sn: User, Some/Someuser
location: SES suser


This looks like either

(a) This is LDIF from an ldapsearch of your server, which means things loaded without error?
or
(b) You used ldapsearch to create the LDIF file you are loading


If (b), you generally should use slapcat. If (a), then how are you generating the error you are seeing?

I will note that the LDIF format specifies there should be a blank line separating entries, which is missing in the above snippet.


#######################################################################
# ldbm and/or bdb database definitions
#######################################################################
backend         ldbm
database        ldbm


Don't use the LDBM database type. It is unstable and may lead to data corruption. Use bdb or hdb.

I really appreciate the help.  If I run slapadd -l -d 5 mail.ldifwould
the output of that help?

Possibly.

Here's example of my LDIF output via slapcat:

dn: dc=stanford,dc=edu
objectClass: dcObject
objectClass: organization
o: Stanford University
dc: stanford
l: Palo Alto
structuralObjectClass: organization
entryUUID: e67c08ca-adc9-102a-8f07-03156481d080
creatorsName: cn=manager,dc=stanford,dc=edu
modifiersName: cn=manager,dc=stanford,dc=edu
createTimestamp: 20060722123236Z
modifyTimestamp: 20060722123236Z
entryCSN: 20060722123236Z#000000#00#000000
contextCSN: 20061205113127Z#000000#00#000000

dn: cn=people,dc=stanford,dc=edu
objectClass: top
objectClass: organizationalRole
cn: people
structuralObjectClass: organizationalRole
entryUUID: e68e78f2-adc9-102a-8f0c-03156481d080
creatorsName: cn=manager,dc=stanford,dc=edu
modifiersName: cn=manager,dc=stanford,dc=edu
createTimestamp: 20060722123236Z
modifyTimestamp: 20060722123236Z
entryCSN: 20060722123236Z#000005#00#000000



As you can see, there are no comment fields (those beginning with the # sign), and there are blank lines between the entries.


BTW, you can cut out my signature when responding, and cut out non relevent bits to the post. ;)

--Quanah


--
Quanah Gibson-Mount
Principal Software Developer
ITS/Shared Application Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html

---
You are currently subscribed to [email protected] as: [EMAIL PROTECTED]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the 
SUBJECT of the message.

Reply via email to