From 711ad374ce23f36ab7945fda1283d49aca8afa8a Mon Sep 17 00:00:00 2001 From: Jim McDonough Date: Mon, 18 Nov 2002 19:56:55 +0000 Subject: Back out some goofs that accidentally checked in with printer publishing. (This used to be commit 6b51934616d8dd4280ce3013378f7ddd5569f267) --- source3/utils/net_ads.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/utils') diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c index bb311b9b30..81a2750457 100644 --- a/source3/utils/net_ads.c +++ b/source3/utils/net_ads.c @@ -69,13 +69,13 @@ static int net_ads_lookup(int argc, const char **argv) ads->auth.flags |= ADS_AUTH_NO_BIND; } - /* ads_connect(ads); + ads_connect(ads); if (!ads || !ads->config.realm) { d_printf("Didn't find the cldap server!\n"); return -1; } - */ + return ads_cldap_netlogon(ads); } @@ -116,7 +116,7 @@ static ADS_STRUCT *ads_startup(void) BOOL need_password = False; BOOL second_time = False; - ads = ads_init(lp_realm(), NULL, opt_host); + ads = ads_init(NULL, NULL, opt_host); if (!opt_user_name) { opt_user_name = "administrator"; -- cgit