I'm not having success with that truncated instance string, either:
$ dsconf -D "cn=Directory Manager" IDENTITY-DEMARCOHOME-COM
directory_manager password_change
Error: Could not find configuration for instance: IDENTITY-DEMARCOHOME-COM
The instance is present. I can also see it on Cockpit's 389DS add in.
$ ls /etc/dirsrv
config ds.keytab schema slapd-IDENTITY-DEMARCOHOME-COM ssca
What is a simple way to verify I do have the correct password for directory
manager?
On Mon, Feb 10, 2020 at 2:24 AM Alexander Bokovoy <abokovoy(a)redhat.com>
wrote:
On su, 09 helmi 2020, Nicholas DeMarco via FreeIPA-users wrote:
>After successfully promoting an IPA server to a replica, ipa-ca-install
>fails with "Directory Manager password is invalid"
>
>This noob would appreciate a command and example to verify I have the
>correct directory manager password. I've looked through this page:
>
https://directory.fedoraproject.org/docs/389ds/howto/howto-resetdirmgrpas...
>
>
>but haven't been successful in getting dsconf or ldapmodify to work.
>
>server:
ipa1.identity.demarcohome.com.
>instance: slapd-IDENTITY-DEMARCOHOME-COM
>
># dsconf -D "cn=Directory Manager" slapd-IDENTITY-DEMARCOHOME-COM
>directory_manager password_change
>
>Error: Could not find configuration for instance:
>slapd-IDENTITY-DEMARCOHOME-COM
dsconf expects instance name, not the whole 'slapd-...' part. Your
instance name would be IDENTITY-DEMARCOHOME-COME.
--
/ Alexander Bokovoy
Sr. Principal Software Engineer
Security / Identity Management Engineering
Red Hat Limited, Finland