[PATCH] fix for Bug 12765

Christian Ambach ambi at samba.org
Thu May 4 11:43:20 UTC 2017


Hi list,

please review the attached patch.
Positive confirmation that it fixes the bug was already given by Marc as
the bug reporter.

Cheers,
Christian
-------------- next part --------------
From f31dda7b27150681ec7bcf8c0a1dc0c0319a74eb Mon Sep 17 00:00:00 2001
From: Christian Ambach <ambi at samba.org>
Date: Thu, 4 May 2017 12:21:45 +0200
Subject: [PATCH] s3:smbcacls add prompt for password

if no password was given, ask for one

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12765
Signed-off-by: Christian Ambach <ambi at samba.org>
---
 source3/utils/smbcacls.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/source3/utils/smbcacls.c b/source3/utils/smbcacls.c
index 255ff97..18fb8b0 100644
--- a/source3/utils/smbcacls.c
+++ b/source3/utils/smbcacls.c
@@ -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,'/','\\');
 
-- 
1.9.1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20170504/d67e5102/signature.sig>


More information about the samba-technical mailing list