From 2630138a5746cde098622c80ee6e875c9743a05f Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Sun, 20 Nov 2016 18:25:10 +0100 Subject: pre_bind: Get gold account status for user binds --- service_passwords.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/service_passwords.c b/service_passwords.c index 048fe29..9067ccd 100644 --- a/service_passwords.c +++ b/service_passwords.c @@ -635,7 +635,7 @@ static int pre_bind(Slapi_PBlock *pb) if (is_service(dn, &service, &gold_service) != 0) { parent_dn = slapi_dn_parent(dn); - rc |= is_user(parent_dn, NULL); + rc |= is_user(parent_dn, &gold_account); slapi_ch_free_string(&parent_dn); if (rc != 0) { @@ -1049,7 +1049,7 @@ void free_connection_data(void *extension, Slapi_PluginDesc bindpdesc = { .spd_id = "service_passwords", .spd_vendor = "spline", - .spd_version = "0.5", + .spd_version = "0.6", .spd_description = "plugin to authenticate a bind " "against different passwords" }; -- cgit v1.2.3-1-g7c22