summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2002-11-18 19:56:55 +0000
committerJim McDonough <jmcd@samba.org>2002-11-18 19:56:55 +0000
commit711ad374ce23f36ab7945fda1283d49aca8afa8a (patch)
treefac9852ea1f9901ad33b8adb47934c8de87e30dc /source3/utils
parentbbd3e4b40a511bff8656e11fa993dce26e02aa0f (diff)
downloadsamba-711ad374ce23f36ab7945fda1283d49aca8afa8a.tar.gz
samba-711ad374ce23f36ab7945fda1283d49aca8afa8a.tar.bz2
samba-711ad374ce23f36ab7945fda1283d49aca8afa8a.zip
Back out some goofs that accidentally checked in with printer publishing.
(This used to be commit 6b51934616d8dd4280ce3013378f7ddd5569f267)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/net_ads.c6
1 files changed, 3 insertions, 3 deletions
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";