Bug 1991619
| Summary: | Regression/bz1608107-authentication-fails-after-joining-with-add-samba-data | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | shridhar <sgadekar> |
| Component: | adcli | Assignee: | Sumit Bose <sbose> |
| Status: | CLOSED ERRATA | QA Contact: | shridhar <sgadekar> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.5 | CC: | aboscatt, andreas.vogel, dataportzslinuxsystemtechnik, sbose, sgadekar |
| Target Milestone: | beta | Keywords: | Regression, Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | adcli-0.9.2-1.el8 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2023-05-16 09:09:19 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: | |||
| Bug Blocks: | 1969483 | ||
|
Comment 2
dataportzslinuxsystemtechnik
2022-08-12 17:20:20 UTC
The adcli join/update - Command can't set samba-Data in /var/lib/samba/private/secrets.tdb on Red Hat Enterprise Linux Server 7.9 (Maipo) 7.9 (On Red Hat Enterprise Linux 8.6 (Ootpa) 8.6 it's working) /usr/sbin/adcli update -H myhost.domain.de --computer-password-lifetime=0 --add-samba-data --login-ccache=/tmp/krb5cc_0 -v * Found realm in keytab: DOMAIN.DE * Found computer name in keytab: MYHOST * Found service principal in keytab: host/MYHOST * Found service principal in keytab: host/myhost.domain.de * Found host qualified name in keytab: myhost.domain.de * Found service principal in keytab: RestrictedKrbHost/MYHOST * Found service principal in keytab: RestrictedKrbHost/myhost.domain.de * Using fully qualified name: myhost.domain.de * Calculated domain name from host fqdn: domain.de * Calculated computer account name from fqdn: MYHOST * Using domain realm: domain.de * Discovering domain controllers: _ldap._tcp.domain.de * Sending NetLogon ping to domain controller: pd008.domain.de * Received NetLogon info from: PD008.domain.de * Wrote out krb5.conf snippet to /tmp/adcli-krb5-53Hz2j/krb5.d/adcli-krb5-conf-L05sCC * Using GSS-SPNEGO for SASL bind * Looked up short domain name: DOMAIN * Looked up domain SID: S-1-5-21-3425413891-304784137-3751339189 * Using fully qualified name: myhost.domain.de * Using domain name: domain.de * Using computer account name: MYHOST * Using domain realm: domain.de * Using fully qualified name: myhost.domain.de * Enrolling computer name: MYHOST * Generated 120 character computer password * Using keytab: FILE:/etc/krb5.keytab * Found computer account for MYHOST$ at: CN=MYHOST,OU=UnixServer,OU=M111,OU=03,OU=000,OU=Mandanten,DC=domain,DC=de * Retrieved kvno '5' for computer account in directory: CN=MYHOST,OU=UnixServer,OU=M111,OU=03,OU=000,OU=Mandanten,DC=domain,DC=de * Password lifetime is 0, forcing renewal * Sending NetLogon ping to domain controller: pd008.domain.de * Received NetLogon info from: PD008.domain.de * Set computer password * kvno incremented to 6 * Checking RestrictedKrbHost/myhost.domain.de * Added RestrictedKrbHost/myhost.domain.de * Checking RestrictedKrbHost/MYHOST * Added RestrictedKrbHost/MYHOST * Checking host/myhost.domain.de * Added host/myhost.domain.de * Checking host/MYHOST * Added host/MYHOST * Trying to set Samba secret. secrets_prepare_password_change: secrets_fetch_or_upgrade_domain_info(DOMAIN) failed Unable to write the machine account password in the secrets database ! net command failed with 1. * Trying to set domain SID S-1-5-21-3425413891-304784137-3751339189 for Samba. * Cleared old entries from keytab: FILE:/etc/krb5.keytab * Discovered which keytab salt to use * Added the entries to the keytab: MYHOST$@DOMAIN.DE: FILE:/etc/krb5.keytab * Cleared old entries from keytab: FILE:/etc/krb5.keytab * Added the entries to the keytab: host/MYHOST: FILE:/etc/krb5.keytab * Cleared old entries from keytab: FILE:/etc/krb5.keytab The Problem seams to be the net-tool (net-tools-2.0-0.25.20131004git.el7.x86_64). We have installed following samba-Packages: samba-winbind-4.10.16-19.el7_9.x86_64 samba-winbind-clients-4.10.16-19.el7_9.x86_64 samba-common-libs-4.10.16-19.el7_9.x86_64 samba-client-libs-4.10.16-19.el7_9.x86_64 samba-libs-4.10.16-19.el7_9.x86_64 samba-winbind-modules-4.10.16-19.el7_9.x86_64 samba-common-4.10.16-19.el7_9.noarch samba-common-tools-4.10.16-19.el7_9.x86_64 Upstream: - https://gitlab.freedesktop.org/realmd/adcli/-/commit/0e1aafad7da78ded9ed45fd0638c42876d2a8d6a Can you tell me when adcli-0.9.2-1.el8 will be available? Will a patch also be available for RHEL7.9? Hi Andreas, Unfortunately we can't commit on dates at this point, we can just share that we are addressing it to the nearest RHEL-8.x release candidate. Back-porting it to 7.9 it is not in the plans since it is in Support/Maintenance mode only [1], please let us know if your request to add it into 7.9 falls into any of those pre-established requirements. Let us know if you have any additional questions, Kind Regards [1] https://access.redhat.com/support/policy/updates/errata#Maintenance_Support_2_Phase 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 (adcli bug fix and enhancement update), 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-2023:2997 |