|
|
|
@ -87,7 +87,7 @@ post_modify (Slapi_PBlock *pb)
|
|
|
|
|
stream << "\n\n";
|
|
|
|
|
|
|
|
|
|
stream << "# Internal Kerberos administration account\n";
|
|
|
|
|
stream << TQString("kadmin/%1@%2\tall").arg(rootaccountname).arg(realmname);
|
|
|
|
|
stream << TQString("kadmin/%1@%2\tall,get-keys").arg(rootaccountname).arg(realmname);
|
|
|
|
|
stream << "\n\n";
|
|
|
|
|
|
|
|
|
|
stream << "# Configured realm administrators\n";
|
|
|
|
@ -98,7 +98,7 @@ post_modify (Slapi_PBlock *pb)
|
|
|
|
|
krbConvertedUser.truncate(cmpos);
|
|
|
|
|
krbConvertedUser.remove(0, eqpos);
|
|
|
|
|
krbConvertedUser.append("@"+realmname);
|
|
|
|
|
stream << krbConvertedUser << "\tall\n";
|
|
|
|
|
stream << krbConvertedUser << "\tall,get-keys\n";
|
|
|
|
|
}
|
|
|
|
|
file.close();
|
|
|
|
|
}
|
|
|
|
|