1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00
[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 commit is contained in:
Andrew Bartlett
-
parent 696d439515
commit a21a951ff9

View File

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