Thursday, April 7, 2016

[389-commits] ldap/servers

ldap/servers/slapd/ssl.c | 24 +++++++++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-)

New commits:
commit 6186290df8b4e1fe69091ee021bb4ac7b9e951cc
Author: William Brown <firstyear@redhat.com>
Date: Wed Mar 30 10:57:05 2016 +1000

Ticket 48450 - Systemd password agent support

Bug Description: Directory server needs to be able to prompt for passwords with
with systemd during systemd startup, or post start up.

Fix Description: This allows Directory Server to take advantage of the svrcore
systemd integration, allowing systemd password as the "last resport" if file
or tty is not avaliable to the administrator.

https://fedorahosted.org/389/ticket/48450

Author: wibrown

Review by: nhosoi (Thanks!)

diff --git a/ldap/servers/slapd/ssl.c b/ldap/servers/slapd/ssl.c
index 9c98f7d..38efc73 100644
--- a/ldap/servers/slapd/ssl.c
+++ b/ldap/servers/slapd/ssl.c
@@ -1125,13 +1125,22 @@ svrcore_setup()
{
PRErrorCode errorCode;
int rv = 0;
+#ifdef WITH_SYSTEMD
+ SVRCOREStdSystemdPinObj *StdPinObj;
+ StdPinObj = (SVRCOREStdSystemdPinObj *)SVRCORE_GetRegisteredPinObj();
+#else
SVRCOREStdPinObj *StdPinObj;
-
StdPinObj = (SVRCOREStdPinObj *)SVRCORE_GetRegisteredPinObj();
+

No comments:

Post a Comment