On Thu, 2003-07-31 at 23:07, Justin Clacherty wrote:
Dax,
I tried to use the ldapmigrate script you wrote but it is giving errors when I run it. I expect I haven't got ldap set up correctly. Any help would be appreciated.
[root@leo tmp]# ./ldapmigrate -b "dc=serani,dc=com,dc=au" -D "cn=Manager,dc=serani,dc=com,dc=au" --prepdb Password: failed to add entry dc=serani,dc=com,dc=au: value of naming attribute 'dc' is not present in entry at ./ldapmigrate line 136, <DATA> line 283. failed to add entry People: parent does not exist at ./ldapmigrate line 174, <DATA> line 283. failed to add entry Group: parent does not exist at ./ldapmigrate line 174, <DATA> line 283. failed to add entry Mounts: parent does not exist at ./ldapmigrate line 174, <DATA> line 283. [root@leo tmp]#
Check your "suffix" in /etc/openldap/slapd.conf on your OpenLDAP server to see that it matches the '-b' option you pass to ldapmigrate.
Dax Kelson Guru Labs