Unable to create Samba data with `adcli update --add-samba-data`
Issue
- An error occurs when Samba data (secrets.tdb) is initialized with
adcli update --add-samba-data
:
[root]# adcli update -vvv --computer-password-lifetime=0 --add-samba-data -C
...output omitted...
secrets_prepare_password_change: secrets_fetch_or_upgrade_domain_info(NETBIOS) failed
Unable to write the machine account password in the secrets database ! net command failed with 1.
...
Environment
- Red Hat Enterprise Linux 8
- Active Directory
- Samba
- adcli
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.