[SSSD] [PATCH] LDAP services: Keep the protocol around

Jakub Hrozek jhrozek at redhat.com
Thu Mar 22 23:07:47 UTC 2012


We forgot to set the protocol member of a state structure which resulted
in a funny behaviour - if a service supported a protocol and another
protocol was requested, the sysdb entry for that service was removed.
-------------- next part --------------
From 340dcab0445e93b11b15cdf59fb5a353ba0fe514 Mon Sep 17 00:00:00 2001
From: Jakub Hrozek <jhrozek at redhat.com>
Date: Thu, 22 Mar 2012 17:49:27 +0100
Subject: [PATCH] LDAP services: Keep the protocol around

---
 src/providers/ldap/ldap_id_services.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/providers/ldap/ldap_id_services.c b/src/providers/ldap/ldap_id_services.c
index bd7bb56..c1ee28e 100644
--- a/src/providers/ldap/ldap_id_services.c
+++ b/src/providers/ldap/ldap_id_services.c
@@ -79,6 +79,7 @@ services_get_send(TALLOC_CTX *mem_ctx,
     state->sysdb = id_ctx->be->sysdb;
     state->domain = state->id_ctx->be->domain;
     state->name = name;
+    state->protocol = protocol;
     state->filter_type = filter_type;
 
     state->op = sdap_id_op_create(state, state->id_ctx->conn_cache);
-- 
1.7.7.6



More information about the sssd-devel mailing list