From 453e4b50aae52089eb2c2ae6a2abc3b48425ee55 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Sat, 13 May 2006 01:29:04 +0000 Subject: r15559: Smaller fixes for the new cldap code: * replace printf to stderr with DEBUG statements as they get printed in daemons * "net ads lookup" return code Guenther (This used to be commit 8dd925c5fbfcbe711c596d08e8eadc19607d5492) --- source3/utils/net_ads.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source3/utils') diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c index a514b6c4e6..e75090449d 100644 --- a/source3/utils/net_ads.c +++ b/source3/utils/net_ads.c @@ -83,7 +83,6 @@ int net_ads_usage(int argc, const char **argv) */ static int net_ads_cldap_netlogon(ADS_STRUCT *ads) { - int ret; struct cldap_netlogon_reply reply; if ( !ads_cldap_netlogon( inet_ntoa(ads->ldap_ip), ads->server.realm, &reply ) ) { @@ -147,7 +146,7 @@ static int net_ads_cldap_netlogon(ADS_STRUCT *ads) d_printf("LMNT Token: %.2x\n", reply.lmnt_token); d_printf("LM20 Token: %.2x\n", reply.lm20_token); - return ret; + return 0; } -- cgit