summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-12-23 18:40:50 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:45 -0500
commit883874c5628f70279ea733e08153b91ea3f83c25 (patch)
tree4e4757972cc9840d49755471f888d6154e712065 /source3/libads
parente15e7a5f1fc8dfc2e49045f63813d29eb73450e5 (diff)
downloadsamba-883874c5628f70279ea733e08153b91ea3f83c25.tar.gz
samba-883874c5628f70279ea733e08153b91ea3f83c25.tar.bz2
samba-883874c5628f70279ea733e08153b91ea3f83c25.zip
r4346: Fix cut-and-paste error - bugid #2189. Fixed by Buck Huppmann <buckh@pobox.com>
Jeremy. (This used to be commit 5c22cb082c86088add0db21541a8079c516c9fd9)
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/ldap.c2
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) {