Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1738573

Summary: adcli update --add-samba-data does not work as expected
Product: Red Hat Enterprise Linux 7 Reporter: Nikola Forró <nforro>
Component: adcliAssignee: Sumit Bose <sbose>
Status: CLOSED ERRATA QA Contact: sssd-qe <sssd-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.6CC: jinjli, nforro, pcech, rgiles, sbose, sgadekar, sgoveas, tscherf
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: adcli-0.8.1-11.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1745931 (view as bug list) Environment:
Last Closed: 2020-03-31 19:45:16 UTC Type: ---
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: 1665794    
Bug Blocks: 1745931    

Description Nikola Forró 2019-08-07 13:40:43 UTC
This is a clone of original report: bug #1665794.
The description of problem is contained in the original bug report.

Comment 3 Sumit Bose 2019-08-26 11:35:43 UTC
Master:
 - 9b187095edb8c914238419ed51fef6041864f4fc

Comment 5 shridhar 2019-11-20 14:56:49 UTC
verified with adcli-0.8.1-12.el7.x86_64,

# man adcli

<snip>

[----]

JOINING THE LOCAL MACHINE TO A DOMAIN
[-----]

       --add-samba-data
           After a successful join add the domain SID and the machine account password to the Samba specific databases by calling
           Samba's net utility.

           Please note that Samba's net requires some settings in smb.conf to create the database entries correctly. Most important
           here is currently the workgroup option, see smb.conf(5) for details.

           Note that if the machine account password is not older than 30 days, you have to pass --computer-password-lifetime=0 to
           force the update.

</snip>

Note: Technically above updated information should be under the 'UPDATING THE MACHINE ACCOUNT PASSWORD AND OTHER ATTRIBUTES" section instead.

Comment 7 errata-xmlrpc 2020-03-31 19:45:16 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2020:1055