Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 2095834

Summary: smbcacls returns IDs instead of user/group names by default
Product: Red Hat Enterprise Linux 8 Reporter: Denis Karpelevich <dkarpele>
Component: sambaAssignee: Andreas Schneider <asn>
Status: CLOSED DUPLICATE QA Contact: Denis Karpelevich <dkarpele>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.7CC: aboscatt, asn, dkarpele, gdeschner, jarrpa
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-08-02 09:44:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2108383    
Bug Blocks:    

Comment 1 Andreas Schneider 2022-06-14 12:36:17 UTC
$ bin/smbcacls //$SERVER/tmp / -U$DC_USERNAME%$DC_PASSWORD
REVISION:1
CONTROL:SR|DP
OWNER:LOCALADMEMBER/asn
GROUP:Unix Group/asn-group
ACL:LOCALADMEMBER/asn:ALLOWED/0x0/FULL
ACL:Unix Group/asn-group:ALLOWED/0x0/FULL
ACL:Everyone:ALLOWED/0x0/FULL
ACL:Creator Owner:ALLOWED/OI|CI|IO/FULL
ACL:Creator Group:ALLOWED/OI|CI|IO/READ
ACL:Everyone:ALLOWED/OI|CI|IO/READ

$ bin/smbcacls //$SERVER/tmp / -U$DC_USERNAME%$DC_PASSWORD --numeric
REVISION:1
CONTROL:0x8004
OWNER:S-1-5-21-3826115596-2464953040-1130031652-1000
GROUP:S-1-22-2-100
ACL:S-1-5-21-3826115596-2464953040-1130031652-1000:0/0x0/0x001f01ff
ACL:S-1-22-2-100:0/0x0/0x001f01ff
ACL:S-1-1-0:0/0x0/0x001f01ff
ACL:S-1-3-0:0/0xb/0x001f01ff
ACL:S-1-3-1:0/0xb/0x001200a9
ACL:S-1-1-0:0/0xb/0x001200a9

This works for me. Is winbind running?


Can you provide level 10 logs for smbcacls, smbd and winbind please?