Remove internaldb password from password.conf

Remove internaldb password from password.conf after switching over to
client certificate authentication. The password is no longer needed.

https://fedorahosted.org/freeipa/ticket/4005

Reviewed-By: Petr Viktorin <pviktori@redhat.com>
This commit is contained in:
Ana Krivokapic 2013-11-06 13:29:09 +01:00 committed by Petr Viktorin
parent ad6001fc2e
commit d2793a3ca5

View File

@ -265,6 +265,9 @@ class DogtagInstance(service.Service):
config,
'internaldb.ldapconn.secureConn', 'true', quotes=False,
separator='=')
# Remove internaldb password as is not needed anymore
installutils.set_directive(self.dogtag_constants.PASSWORD_CONF_PATH,
'internaldb', None)
def uninstall(self):
if self.is_installed():