diff options
-rw-r--r-- | source3/utils/net_ads.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c index e9750db83a..28ae7d7ced 100644 --- a/source3/utils/net_ads.c +++ b/source3/utils/net_ads.c @@ -1679,7 +1679,7 @@ static int net_ads_password(int argc, const char **argv) fill in the KDC's addresss */ ads_connect(ads); - if (!ads || !ads->config.realm) { + if (!ads->config.realm) { d_fprintf(stderr, "Didn't find the kerberos server!\n"); return -1; } |