diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-02-15 22:18:52 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-02-15 22:18:52 +0000 |
commit | 62ee445422bf38a9049cb84a99321055bfec8d0b (patch) | |
tree | 3d5328844dbf866f6b635946742ac45bbb6b1749 | |
parent | 83bc6cdd55b6be4001bff2ac758c7a3396740687 (diff) | |
download | samba-62ee445422bf38a9049cb84a99321055bfec8d0b.tar.gz samba-62ee445422bf38a9049cb84a99321055bfec8d0b.tar.bz2 samba-62ee445422bf38a9049cb84a99321055bfec8d0b.zip |
Subject:
[PATCH] net ads error
Date:
Fri, 15 Feb 2002 20:03:32 +0200
From:
Alexander Bokovoy <a.bokovoy@sam-solutions.net>
To:
samba-technical@samba.org
Greetings!
Attached patch fixes a problem with non-working 'net ads -Uuser%pass'
in CVS HEAD.
(This used to be commit a21a951ff9493a6e33e4ff8388a95facdeacf7b4)
-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 28543e43a1..03ec2920b9 100644 --- a/source3/utils/net_ads.c +++ b/source3/utils/net_ads.c @@ -99,9 +99,9 @@ retry: asprintf(&prompt,"%s password: ", opt_user_name); opt_password = getpass(prompt); free(prompt); - ads->password = strdup(opt_password); } + ads->password = strdup(opt_password); ads->user_name = strdup(opt_user_name); status = ads_connect(ads); |