From: Richard Sharpe Date: Wed, 2 May 2018 22:12:44 +0000 (-0700) Subject: Fix some incorrect debug messages that look to be copy-paste issues. X-Git-Tag: ldb-1.4.0~460 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2096d13274b679c282bdb85c63900eba0d76d1be;p=thirdparty%2Fsamba.git Fix some incorrect debug messages that look to be copy-paste issues. Signed-off-by: Richard Sharpe Reviewed-by: Douglas Bagnall Autobuild-User(master): Douglas Bagnall Autobuild-Date(master): Thu May 3 08:16:26 CEST 2018 on sn-devel-144 --- diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index e8dcd1baa57..13846695bd4 100644 --- a/source3/libads/ldap.c +++ b/source3/libads/ldap.c @@ -3454,18 +3454,18 @@ bool ads_has_samaccountname( ADS_STRUCT *ads, TALLOC_CTX *ctx, const char *machi status = ads_find_machine_acct(ads, &res, machine_name); if (!ADS_ERR_OK(status)) { - DEBUG(0,("ads_get_dnshostname: Failed to find account for %s\n", + DEBUG(0,("ads_has_samaccountname: Failed to find account for %s\n", lp_netbios_name())); goto out; } if ( (count = ads_count_replies(ads, res)) != 1 ) { - DEBUG(1,("ads_get_dnshostname: %d entries returned!\n", count)); + DEBUG(1,("ads_has_samaccountname: %d entries returned!\n", count)); goto out; } if ( (name = ads_pull_string(ads, ctx, res, "sAMAccountName")) == NULL ) { - DEBUG(0,("ads_get_dnshostname: No sAMAccountName attribute!\n")); + DEBUG(0,("ads_has_samaccountname: No sAMAccountName attribute!\n")); } out: