mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-12 09:11:55 -06:00
update use-new-nssdb.diff
This commit is contained in:
parent
81869f54eb
commit
6d1db97cfd
11
debian/patches/use-new-nssdb.diff
vendored
11
debian/patches/use-new-nssdb.diff
vendored
@ -36,3 +36,14 @@
|
||||
except CalledProcessError, e:
|
||||
root_logger.info("Failed to add CA to the default NSS database.")
|
||||
return CLIENT_INSTALL_ERROR
|
||||
--- a/ipalib/rpc.py
|
||||
+++ b/ipalib/rpc.py
|
||||
@@ -322,7 +322,7 @@ class SSLTransport(LanguageAwareTranspor
|
||||
if self._connection and host == self._connection[0]:
|
||||
return self._connection[1]
|
||||
|
||||
- dbdir = '/etc/pki/nssdb'
|
||||
+ dbdir = 'sql:/etc/pki/nssdb'
|
||||
no_init = self.__nss_initialized(dbdir)
|
||||
if sys.version_info < (2, 7):
|
||||
conn = NSSHTTPS(host, 443, dbdir=dbdir, no_init=no_init)
|
||||
|
Loading…
Reference in New Issue
Block a user