1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose/*
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose Unix SMB/CIFS implementation.
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose Winbind client API - SSSD version
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose Copyright (C) Sumit Bose <sbose@redhat.com> 2015
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose This library is free software; you can redistribute it and/or
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose modify it under the terms of the GNU Lesser General Public
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose License as published by the Free Software Foundation; either
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose version 3 of the License, or (at your option) any later version.
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose This library is distributed in the hope that it will be useful,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose but WITHOUT ANY WARRANTY; without even the implied warranty of
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose Library General Public License for more details.
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose You should have received a copy of the GNU Lesser General Public License
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose along with this program. If not, see <http://www.gnu.org/licenses/>.
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose*/
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose#include "config.h"
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose#include "libwbclient.h"
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose#include "wbc_sssd_internal.h"
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bosestruct wbcContext *wbcCtxCreate(void)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_DEV_LOG;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose return NULL;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bosevoid wbcCtxFree(struct wbcContext *ctx)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_DEV_LOG;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose return;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxPing(struct wbcContext *ctx)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bosestruct wbcContext *wbcGetGlobalCtx(void)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_DEV_LOG;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose return NULL;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxInterfaceDetails(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcInterfaceDetails **details)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxLookupName(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const char *dom_name,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const char *name,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcDomainSid *sid,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose enum wbcSidType *name_type)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxLookupSid(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const struct wbcDomainSid *sid,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose char **domain,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose char **name,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose enum wbcSidType *name_type)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxLookupSids(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const struct wbcDomainSid *sids, int num_sids,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcDomainInfo **domains, int *num_domains,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcTranslatedName **names)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxLookupRids(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcDomainSid *dom_sid,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose int num_rids,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose uint32_t *rids,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const char **domain_name,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const char ***names,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose enum wbcSidType **types)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxLookupUserSids(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const struct wbcDomainSid *user_sid,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose bool domain_groups_only,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose uint32_t *num_sids,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcDomainSid **sids)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxGetSidAliases(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const struct wbcDomainSid *dom_sid,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcDomainSid *sids,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose uint32_t num_sids,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose uint32_t **alias_rids,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose uint32_t *num_alias_rids)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxListUsers(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const char *domain_name,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose uint32_t *num_users,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const char ***users)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxListGroups(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const char *domain_name,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose uint32_t *num_groups,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const char ***groups)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxGetDisplayName(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const struct wbcDomainSid *sid,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose char **pdomain,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose char **pfullname,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose enum wbcSidType *pname_type)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxSidToUid(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const struct wbcDomainSid *sid,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose uid_t *puid)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxUidToSid(struct wbcContext *ctx, uid_t uid,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcDomainSid *sid)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxSidToGid(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const struct wbcDomainSid *sid,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose gid_t *pgid)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxGidToSid(struct wbcContext *ctx, gid_t gid,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcDomainSid *sid)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxSidsToUnixIds(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const struct wbcDomainSid *sids, uint32_t num_sids,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcUnixId *ids)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
f3347a0c72afc75b4d829e9981d1bac6b05a8306Sumit BosewbcErr wbcCtxUnixIdsToSids(struct wbcContext *ctx,
f3347a0c72afc75b4d829e9981d1bac6b05a8306Sumit Bose const struct wbcUnixId *ids, uint32_t num_ids,
f3347a0c72afc75b4d829e9981d1bac6b05a8306Sumit Bose struct wbcDomainSid *sids)
f3347a0c72afc75b4d829e9981d1bac6b05a8306Sumit Bose{
f3347a0c72afc75b4d829e9981d1bac6b05a8306Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
f3347a0c72afc75b4d829e9981d1bac6b05a8306Sumit Bose}
f3347a0c72afc75b4d829e9981d1bac6b05a8306Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxAllocateUid(struct wbcContext *ctx, uid_t *puid)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxAllocateGid(struct wbcContext *ctx, gid_t *pgid)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxGetpwnam(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const char *name, struct passwd **pwd)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxGetpwuid(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose uid_t uid, struct passwd **pwd)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxGetpwsid(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcDomainSid * sid, struct passwd **pwd)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxGetgrnam(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const char *name, struct group **grp)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxGetgrgid(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose gid_t gid, struct group **grp)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxSetpwent(struct wbcContext *ctx)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxEndpwent(struct wbcContext *ctx)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxGetpwent(struct wbcContext *ctx, struct passwd **pwd)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxSetgrent(struct wbcContext *ctx)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxEndgrent(struct wbcContext *ctx)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxGetgrent(struct wbcContext *ctx, struct group **grp)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxGetgrlist(struct wbcContext *ctx, struct group **grp)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxGetGroups(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const char *account,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose uint32_t *num_groups,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose gid_t **_groups)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxDomainInfo(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const char *domain,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcDomainInfo **dinfo)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxDcInfo(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const char *domain, size_t *num_dcs,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const char ***dc_names, const char ***dc_ips)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxListTrusts(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcDomainInfo **domains,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose size_t *num_domains)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxLookupDomainController(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const char *domain,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose uint32_t flags,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcDomainControllerInfo **dc_info)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxLookupDomainControllerEx(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const char *domain,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcGuid *guid,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const char *site,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose uint32_t flags,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcDomainControllerInfoEx **dc_info)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxAuthenticateUser(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const char *username,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const char *password)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxAuthenticateUserEx(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const struct wbcAuthUserParams *params,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcAuthUserInfo **info,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcAuthErrorInfo **error)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxLogonUser(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const struct wbcLogonUserParams *params,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcLogonUserInfo **info,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcAuthErrorInfo **error,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcUserPasswordPolicyInfo **policy)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxLogoffUser(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const char *username, uid_t uid,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const char *ccfilename)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxLogoffUserEx(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const struct wbcLogoffUserParams *params,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcAuthErrorInfo **error)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxChangeUserPassword(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const char *username,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const char *old_password,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const char *new_password)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxChangeUserPasswordEx(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const struct wbcChangePasswordParams *params,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcAuthErrorInfo **error,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose enum wbcPasswordChangeRejectReason *reject_reason,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcUserPasswordPolicyInfo **policy)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxCredentialCache(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcCredentialCacheParams *params,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcCredentialCacheInfo **info,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcAuthErrorInfo **error)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxCredentialSave(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const char *user, const char *password)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxResolveWinsByName(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const char *name, char **ip)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxResolveWinsByIP(struct wbcContext *ctx,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose const char *ip, char **name)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxCheckTrustCredentials(struct wbcContext *ctx, const char *domain,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcAuthErrorInfo **error)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxChangeTrustCredentials(struct wbcContext *ctx, const char *domain,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcAuthErrorInfo **error)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxPingDc(struct wbcContext *ctx, const char *domain,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcAuthErrorInfo **error)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit BosewbcErr wbcCtxPingDc2(struct wbcContext *ctx, const char *domain,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose struct wbcAuthErrorInfo **error,
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose char **dcname)
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose{
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose WBC_SSSD_NOT_IMPLEMENTED;
1270ffe9f3809f2fd488ef4a320d344ae107ab87Sumit Bose}