diff -ruN migrationtools-47.orig/migrate_passwd.pl migrationtools-47/migrate_passwd.pl
--- migrationtools-47.orig/migrate_passwd.pl	2007-01-10 22:42:14.000000000 +0100
+++ migrationtools-47/migrate_passwd.pl	2007-01-10 22:47:58.000000000 +0100
@@ -122,7 +122,7 @@
 	print $HANDLE "objectClass: top\n";
 
 	if ($DEFAULT_REALM) {
-		print $HANDLE "objectClass: kerberosSecurityObject\n";
+		print $HANDLE "objectClass: krbPrincipalAux\n";
 	}
 
 	if ($shadowUsers{$user} ne "") {
@@ -132,7 +132,7 @@
 	}
 
 	if ($DEFAULT_REALM) {
-		print $HANDLE "krbName: $user\@$DEFAULT_REALM\n";
+		print $HANDLE "krbPrincipalName: $user\@$DEFAULT_REALM\n";
 	}
 
 	if ($shell) {
