Bug 8794 - smbcalcs -s / smbcacls --configfile do not work
Summary: smbcalcs -s / smbcacls --configfile do not work
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.6
Classification: Unclassified
Component: Client Tools (show other bugs)
Version: 3.6.3
Hardware: All All
: P5 major
Target Milestone: ---
Assignee: Volker Lendecke
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-05 17:45 UTC by Matthieu Patou
Modified: 2019-10-23 12:36 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthieu Patou 2012-03-05 17:45:55 UTC
smbcacls keeps on looking for the configuration file in the default location:

strace ./bin/smbcacls  --configfile /tmp/pouet.conf 2>&1 | grep -E '(pouet|smb.conf)'
execve("./bin/smbcacls", ["./bin/smbcacls", "--configfile", "/tmp/pouet.conf"], [/* 23 vars */]) = 0
stat("/usr/local/samba/etc/smb.conf", {st_mode=S_IFREG|0644, st_size=785, ...}) = 0
open("/usr/local/samba/etc/smb.conf", O_RDONLY) = 

The problems exists also in master.
Comment 1 Christian Ambach 2019-10-23 12:36:54 UTC
Has been fixed with 49b500a61f0e1ed9d02654597c0785e7a1b933e9.