diff options
Diffstat (limited to 'nsswitch/libwbclient/wbc_pwd_sssd.c')
-rw-r--r-- | nsswitch/libwbclient/wbc_pwd_sssd.c | 106 |
1 files changed, 106 insertions, 0 deletions
diff --git a/nsswitch/libwbclient/wbc_pwd_sssd.c b/nsswitch/libwbclient/wbc_pwd_sssd.c new file mode 100644 index 00000000000..164166090e1 --- /dev/null +++ b/nsswitch/libwbclient/wbc_pwd_sssd.c @@ -0,0 +1,106 @@ +/* + Unix SMB/CIFS implementation. + + Winbind client API - SSSD version + + Copyright (C) Sumit Bose <sbose@redhat.com> 2014 + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 3 of the License, or (at your option) any later version. + + This library 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 + Library General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program. If not, see <http://www.gnu.org/licenses/>. +*/ +/* Required Headers */ + +#include "replace.h" +#include "libwbclient.h" +#include "../winbind_client.h" +#include "wbc_sssd_internal.h" + +/* Fill in a struct passwd* for a domain user based on username */ +wbcErr wbcGetpwnam(const char *name, struct passwd **pwd) +{ + WBC_SSSD_NOT_IMPLEMENTED; +} + +/* Fill in a struct passwd* for a domain user based on uid */ +wbcErr wbcGetpwuid(uid_t uid, struct passwd **pwd) +{ + WBC_SSSD_NOT_IMPLEMENTED; +} + +/* Fill in a struct passwd* for a domain user based on sid */ +wbcErr wbcGetpwsid(struct wbcDomainSid *sid, struct passwd **pwd) +{ + WBC_SSSD_NOT_IMPLEMENTED; +} + +/* Fill in a struct passwd* for a domain user based on username */ +wbcErr wbcGetgrnam(const char *name, struct group **grp) +{ + WBC_SSSD_NOT_IMPLEMENTED; +} + +/* Fill in a struct passwd* for a domain user based on uid */ +wbcErr wbcGetgrgid(gid_t gid, struct group **grp) +{ + WBC_SSSD_NOT_IMPLEMENTED; +} + +/* Reset the passwd iterator */ +wbcErr wbcSetpwent(void) +{ + WBC_SSSD_NOT_IMPLEMENTED; +} + +/* Close the passwd iterator */ +wbcErr wbcEndpwent(void) +{ + WBC_SSSD_NOT_IMPLEMENTED; +} + +/* Return the next struct passwd* entry from the pwent iterator */ +wbcErr wbcGetpwent(struct passwd **pwd) +{ + WBC_SSSD_NOT_IMPLEMENTED; +} + +/* Reset the group iterator */ +wbcErr wbcSetgrent(void) +{ + WBC_SSSD_NOT_IMPLEMENTED; +} + +/* Close the group iterator */ +wbcErr wbcEndgrent(void) +{ + WBC_SSSD_NOT_IMPLEMENTED; +} + +/* Return the next struct group* entry from the pwent iterator */ +wbcErr wbcGetgrent(struct group **grp) +{ + WBC_SSSD_NOT_IMPLEMENTED; +} + +/* Return the next struct group* entry from the pwent iterator */ +wbcErr wbcGetgrlist(struct group **grp) +{ + WBC_SSSD_NOT_IMPLEMENTED; +} + +/* Return the unix group array belonging to the given user */ +wbcErr wbcGetGroups(const char *account, + uint32_t *num_groups, + gid_t **_groups) +{ + WBC_SSSD_NOT_IMPLEMENTED; +} |