bcb4e51a409d94ae670de96afb8483a4f7855294Stephan Bosch/*
a81d5c3f5a4ad5d100b258d10d4c75f4a02ab1f6Stephan Bosch Authors:
00544ad37ece26b2c4f2210ed5e5295241d0db19Teemu Huovila Hristo Venev <hristo@venev.name>
00544ad37ece26b2c4f2210ed5e5295241d0db19Teemu Huovila
00544ad37ece26b2c4f2210ed5e5295241d0db19Teemu Huovila Copyright (C) 2017 Red Hat
00544ad37ece26b2c4f2210ed5e5295241d0db19Teemu Huovila
00544ad37ece26b2c4f2210ed5e5295241d0db19Teemu Huovila This program is free software; you can redistribute it and/or modify
00544ad37ece26b2c4f2210ed5e5295241d0db19Teemu Huovila it under the terms of the GNU General Public License as published by
00544ad37ece26b2c4f2210ed5e5295241d0db19Teemu Huovila the Free Software Foundation; either version 3 of the License, or
00544ad37ece26b2c4f2210ed5e5295241d0db19Teemu Huovila (at your option) any later version.
00544ad37ece26b2c4f2210ed5e5295241d0db19Teemu Huovila
00544ad37ece26b2c4f2210ed5e5295241d0db19Teemu Huovila This program is distributed in the hope that it will be useful,
00544ad37ece26b2c4f2210ed5e5295241d0db19Teemu Huovila but WITHOUT ANY WARRANTY; without even the implied warranty of
00544ad37ece26b2c4f2210ed5e5295241d0db19Teemu Huovila MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
00544ad37ece26b2c4f2210ed5e5295241d0db19Teemu Huovila GNU General Public License for more details.
00544ad37ece26b2c4f2210ed5e5295241d0db19Teemu Huovila
00544ad37ece26b2c4f2210ed5e5295241d0db19Teemu Huovila You should have received a copy of the GNU General Public License
00544ad37ece26b2c4f2210ed5e5295241d0db19Teemu Huovila along with this program. If not, see <http://www.gnu.org/licenses/>.
00544ad37ece26b2c4f2210ed5e5295241d0db19Teemu Huovila*/
00544ad37ece26b2c4f2210ed5e5295241d0db19Teemu Huovila
00544ad37ece26b2c4f2210ed5e5295241d0db19Teemu Huovila#include "providers/ipa/ipa_common.h"
00544ad37ece26b2c4f2210ed5e5295241d0db19Teemu Huovila#include "providers/ldap/sdap_hostid.h"
00544ad37ece26b2c4f2210ed5e5295241d0db19Teemu Huovila
00544ad37ece26b2c4f2210ed5e5295241d0db19Teemu Huovilaerrno_t ipa_hostid_init(TALLOC_CTX *mem_ctx,
507ea0bc5b25efb4c96033a19dec66689a50ebd0Baofeng Wang struct be_ctx *be_ctx,
507ea0bc5b25efb4c96033a19dec66689a50ebd0Baofeng Wang struct ipa_id_ctx *id_ctx,
507ea0bc5b25efb4c96033a19dec66689a50ebd0Baofeng Wang struct dp_method *dp_methods)
507ea0bc5b25efb4c96033a19dec66689a50ebd0Baofeng Wang{
507ea0bc5b25efb4c96033a19dec66689a50ebd0Baofeng Wang return sdap_hostid_init(mem_ctx, be_ctx, id_ctx->sdap_id_ctx, dp_methods);
507ea0bc5b25efb4c96033a19dec66689a50ebd0Baofeng Wang}
eb568e46e82bc814ca3384236a483691a12f9c54Baofeng Wang