s3:smbcacls add prompt for password
authorChristian Ambach <ambi@samba.org>
Thu, 4 May 2017 10:21:45 +0000 (12:21 +0200)
committerKarolin Seeger <kseeger@samba.org>
Fri, 12 May 2017 10:57:38 +0000 (12:57 +0200)
if no password was given, ask for one

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12765
Signed-off-by: Christian Ambach <ambi@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Christian Ambach <ambi@samba.org>
Autobuild-Date(master): Thu May  4 20:36:50 CEST 2017 on sn-devel-144

(cherry picked from commit 770edb6aab2a1c2cbd85b975511b33b5fc580f13)

Autobuild-User(v4-6-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-6-test): Fri May 12 12:57:38 CEST 2017 on sn-devel-144

source3/utils/smbcacls.c

index 255ff9729b77da352305758603ee8a954b7acf5c..18fb8b028936ac74eaa1ca7b55a917320e8e5b6b 100644 (file)
@@ -903,6 +903,7 @@ int main(int argc, char *argv[])
 
        poptFreeContext(pc);
        popt_burn_cmdline_password(argc, argv);
+       popt_common_credentials_post();
 
        string_replace(path,'/','\\');