diff options
Diffstat (limited to 'source3/libnet')
-rw-r--r-- | source3/libnet/libnet_join.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libnet/libnet_join.c b/source3/libnet/libnet_join.c index 3678ff9498..4a2a658497 100644 --- a/source3/libnet/libnet_join.c +++ b/source3/libnet/libnet_join.c @@ -124,7 +124,7 @@ static ADS_STATUS libnet_connect_ads(const char *dns_domain_name, my_ads->auth.password = SMB_STRDUP(password); } - status = ads_connect(my_ads); + status = ads_connect_user_creds(my_ads); if (!ADS_ERR_OK(status)) { ads_destroy(&my_ads); return status; |