diff options
Diffstat (limited to 'source3/libads')
-rw-r--r-- | source3/libads/ldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index c18e253f7b..8c37a90e73 100644 --- a/source3/libads/ldap.c +++ b/source3/libads/ldap.c @@ -1454,7 +1454,7 @@ static ADS_STATUS ads_add_machine_acct(ADS_STRUCT *ads, const char *machine_name psp4 = talloc_asprintf(ctx, "HOST/%s", my_fqdn); strlower_m(&psp4[5]); for (i = 0; i < next_spn; i++) { - if (strequal(servicePrincipalName[i], psp3)) + if (strequal(servicePrincipalName[i], psp4)) break; } if (i == next_spn) { |