Added code to initialize the salt information in the kdb entry
authorTheodore Tso <tytso@mit.edu>
Fri, 1 Mar 1991 00:42:06 +0000 (00:42 +0000)
committerTheodore Tso <tytso@mit.edu>
Fri, 1 Mar 1991 00:42:06 +0000 (00:42 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1821 dc483132-0cff-0310-8789-dd5450dbe970

src/admin/create/kdb5_create.c

index 6ad008bf4dfd8e49033861eb579f4aeddacdef63..ee329324dc62b9df77460905a96fcd1f771a32a5 100644 (file)
@@ -312,6 +312,9 @@ struct realm_info *pblock;
        break;
     }
     entry.key = ekey;
+    entry.salt_type = KRB5_KDB_SALTTYPE_NORMAL;
+    entry.salt_length = 0;
+    entry.salt = 0;
 
     if (retval = krb5_db_put_principal(&entry, &nentries))
        return retval;