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

Upgrade 2.0.X to 2.1.X troubles.



I am currently running 2.0.25-6dbm on my RedHat 7.3 box. I am trying to move
my ldap server over to a new fedora box running 2.1.22-8

On the 7.3 box i shutdown the server and run
slapcat > ldap.ldiff

On the fedora box i make sure ldap is not running and that /var/lib/ldap is
empty and owned by the user ldap
I scp the ldif file over to the new box and run
slapadd -l ldap.ldiff


[root@localhost root]# slapadd -vl ldap.ldif
added: "ou=macosxodconfig,cn=config,dc=newberg,dc=k12,dc=or,dc=us"
(00000003)
added: 
"cn=poppassd,ou=udp,ou=Services,ou=oldcrap,dc=newberg,dc=k12,dc=or,dc=us"
(00000007)
added: "cn=exec,ou=tcp,ou=Services,ou=oldcrap,dc=newberg,dc=k12,dc=or,dc=us"
(00000009)
slapadd: could not parse entry (line=428)
Error, entries missing!
  entry 1: dc=newberg,dc=k12,dc=or,dc=us
  entry 2: cn=config,dc=newberg,dc=k12,dc=or,dc=us
  entry 4: ou=oldcrap,dc=newberg,dc=k12,dc=or,dc=us
  entry 5: ou=services,ou=oldcrap,dc=newberg,dc=k12,dc=or,dc=us
  entry 6: ou=udp,ou=services,ou=oldcrap,dc=newberg,dc=k12,dc=or,dc=us
  entry 8: ou=tcp,ou=services,ou=oldcrap,dc=newberg,dc=k12,dc=or,dc=us
[root@localhost root]#



Line 428 is the first line after the first user entry. Heres her entry:

dn: uid=lea.weber,ou=2002users,dc=newberg,dc=k12,dc=or,dc=us
uid: lea.weber     
cn: lea.weber      
objectClass: account
objectClass: posixAccount
objectClass: sambaAccount
objectClass: top
objectClass: shadowAccount
objectClass: apple-user
objectClass: extensibleObject
objectClass: inetOrgPerson
objectClass: newberg
userPassword:: e2NyeXB0fSQxJDMyOTYxNTM1JHd3dkRFT0xGLzdnbG1TLktvQ3ZRbS8=
shadowLastChange: 11955
loginShell: /bin/false
rid: 7544
primaryGroupID: 7545
acctFlags: [U          ]
uidNumber: 3272
gidNumber: 504
homeDirectory: /data/students/lea.weber
gecos: lea.weber   
ntPassword: 1542F86FF2A92D4CAAD3B435B51404EE
lmPassword: C7936E6D33A2A37E3F00C8DBD9973C41
sn: none
apple-user-homeurl::
PGhvbWVfZGlyPjx1cmw+YWZwOi8vMTcyLjE2LjExMi44MC9zdHVkZW50c
 zwvdXJsPjxwYXRoPmxlYS53ZWJlcjwvcGF0aD48L2hvbWVfZGlyPg==
userPKCS12: /Network/Servers/172.16.112.80/students/lea.weber


Any ideas? I'm stumped. - Jamie