1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-05 20:58:40 +03:00

Back out some goofs that accidentally checked in with printer publishing.

(This used to be commit 6b51934616d8dd4280ce3013378f7ddd5569f267)
This commit is contained in:
Jim McDonough 2002-11-18 19:56:55 +00:00
parent bbd3e4b40a
commit 711ad374ce

View File

@ -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";