0N/A/*
0N/A Unix SMB/CIFS implementation.
0N/A
292N/A Winbind client API
573N/A
292N/A Copyright (C) Gerald (Jerry) Carter 2007
0N/A
0N/A This library is free software; you can redistribute it and/or
0N/A modify it under the terms of the GNU Lesser General Public
292N/A License as published by the Free Software Foundation; either
0N/A version 3 of the License, or (at your option) any later version.
0N/A
292N/A This library is distributed in the hope that it will be useful,
0N/A but WITHOUT ANY WARRANTY; without even the implied warranty of
0N/A MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
0N/A Library General Public License for more details.
292N/A
292N/A You should have received a copy of the GNU Lesser General Public License
0N/A along with this program. If not, see <http://www.gnu.org/licenses/>.
0N/A*/
292N/A
0N/A/* Required Headers */
0N/A
0N/A#include "libwbclient.h"
0N/A
0N/A/* Convert a Windows SID to a Unix uid if there already is a mapping */
0N/AwbcErr wbcQuerySidToUid(const struct wbcDomainSid *sid,
0N/A uid_t *puid)
0N/A{
0N/A return WBC_ERR_NOT_IMPLEMENTED;
0N/A}
0N/A
292N/A/* Convert a Unix uid to a Windows SID if there already is a mapping */
0N/AwbcErr wbcQueryUidToSid(uid_t uid,
0N/A struct wbcDomainSid *sid)
0N/A{
0N/A return WBC_ERR_NOT_IMPLEMENTED;
0N/A}
0N/A
0N/A/* Convert a Windows SID to a Unix gid if there already is a mapping */
0N/AwbcErr wbcQuerySidToGid(const struct wbcDomainSid *sid,
0N/A gid_t *pgid)
0N/A{
0N/A return WBC_ERR_NOT_IMPLEMENTED;
0N/A}
0N/A
0N/A
0N/A/* Convert a Unix gid to a Windows SID if there already is a mapping */
0N/AwbcErr wbcQueryGidToSid(gid_t gid,
0N/A struct wbcDomainSid *sid)
0N/A{
0N/A return WBC_ERR_NOT_IMPLEMENTED;
0N/A}
0N/A
0N/A/* Set an user id mapping - not implemented any more */
0N/AwbcErr wbcSetUidMapping(uid_t uid, const struct wbcDomainSid *sid)
0N/A{
0N/A return WBC_ERR_NOT_IMPLEMENTED;
0N/A}
0N/A
0N/A/* Set a group id mapping - not implemented any more */
0N/AwbcErr wbcSetGidMapping(gid_t gid, const struct wbcDomainSid *sid)
0N/A{
0N/A return WBC_ERR_NOT_IMPLEMENTED;
0N/A}
0N/A
0N/A/* Remove a user id mapping - not implemented any more */
0N/AwbcErr wbcRemoveUidMapping(uid_t uid, const struct wbcDomainSid *sid)
0N/A{
0N/A return WBC_ERR_NOT_IMPLEMENTED;
0N/A}
0N/A
0N/A/* Remove a group id mapping - not implemented any more */
0N/AwbcErr wbcRemoveGidMapping(gid_t gid, const struct wbcDomainSid *sid)
0N/A{
0N/A return WBC_ERR_NOT_IMPLEMENTED;
0N/A}
0N/A
0N/A/* Set the highwater mark for allocated uids - not implemented any more */
0N/AwbcErr wbcSetUidHwm(uid_t uid_hwm)
0N/A{
0N/A return WBC_ERR_NOT_IMPLEMENTED;
0N/A}
0N/A
0N/A/* Set the highwater mark for allocated gids - not implemented any more */
0N/AwbcErr wbcSetGidHwm(gid_t gid_hwm)
0N/A{
0N/A return WBC_ERR_NOT_IMPLEMENTED;
0N/A}
0N/A