r16952: New derive DES salt code and Krb5 keytab generation
[ira/wip.git] / source3 / libads / util.c
index 8e3001ccb045c34f38f1d54bd77f721a3dda8047..eb6dccb3afdbae1960910b099b82383e6a3fe4ff 100644 (file)
@@ -48,14 +48,6 @@ ADS_STATUS ads_change_trust_account_password(ADS_STRUCT *ads, char *host_princip
                goto failed;
        }
 
-       /* Determine if the KDC is salting keys for this principal in a
-        * non-obvious way. */
-       if (!kerberos_derive_salting_principal(host_principal)) {
-               DEBUG(1,("Failed to determine correct salting principal for %s\n", host_principal));
-               ret = ADS_ERROR_SYSTEM(EACCES);
-               goto failed;
-       }
-
 failed:
        SAFE_FREE(password);
        return ret;