URL: https://github.com/SSSD/sssd/pull/5934 Author: alexey-tikhonov Title: #5934: Removed unused file. Action: opened
PR body: """ None """ To pull the PR as Git branch: git remote add ghsssd https://github.com/SSSD/sssd git fetch ghsssd pull/5934/head:pr5934 git checkout pr5934
From af7f90d7f4d6c4fff45407c84012ad8d5dea215a Mon Sep 17 00:00:00 2001 From: Alexey Tikhonov <atikh...@redhat.com> Date: Tue, 28 Dec 2021 14:42:15 +0100 Subject: [PATCH] Removed unused file. --- src/providers/data_provider.h | 8 ----- src/providers/data_provider/dp_sbus.c | 46 --------------------------- 2 files changed, 54 deletions(-) delete mode 100644 src/providers/data_provider/dp_sbus.c diff --git a/src/providers/data_provider.h b/src/providers/data_provider.h index 32215a0fa5..bacc282a9e 100644 --- a/src/providers/data_provider.h +++ b/src/providers/data_provider.h @@ -45,9 +45,6 @@ #include "providers/data_provider_req.h" #define DATA_PROVIDER_VERSION 0x0001 -#define DATA_PROVIDER_PIPE "private/sbus-dp" - -#define DP_PATH "/org/freedesktop/sssd/dataprovider" /** * @defgroup pamHandler PAM DBUS request @@ -161,11 +158,6 @@ bool dp_unpack_pam_response(DBusMessage *msg, struct pam_data *pd, void dp_id_callback(DBusPendingCall *pending, void *ptr); -/* from dp_sbus.c */ -int dp_get_sbus_address(TALLOC_CTX *mem_ctx, - char **address, const char *domain_name); - - /* Reserved filter name for request which waits until the files provider finishes mirroring * the file content */ diff --git a/src/providers/data_provider/dp_sbus.c b/src/providers/data_provider/dp_sbus.c deleted file mode 100644 index 623d7dd9cf..0000000000 --- a/src/providers/data_provider/dp_sbus.c +++ /dev/null @@ -1,46 +0,0 @@ -/* - SSSD - - Data Provider Helpers - - Copyright (C) Stephen Gallagher <sgall...@redhat.com> 2009 - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see <http://www.gnu.org/licenses/>. -*/ - -#include "config.h" -#include <talloc.h> -#include <tevent.h> - -#include "confdb/confdb.h" -#include "sbus/sssd_dbus.h" -#include "providers/data_provider.h" - -int dp_get_sbus_address(TALLOC_CTX *mem_ctx, - char **address, const char *domain_name) -{ - char *default_address; - - *address = NULL; - default_address = talloc_asprintf(mem_ctx, "unix:path=%s/%s_%s", - PIPE_PATH, DATA_PROVIDER_PIPE, - domain_name); - if (default_address == NULL) { - return ENOMEM; - } - - *address = default_address; - return EOK; -} -
_______________________________________________ sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure