Line data Source code
1 : /*
2 : Unix SMB/CIFS implementation.
3 :
4 : Winbind client API
5 :
6 : Copyright (C) Gerald (Jerry) Carter 2007
7 :
8 : This library is free software; you can redistribute it and/or
9 : modify it under the terms of the GNU Lesser General Public
10 : License as published by the Free Software Foundation; either
11 : version 3 of the License, or (at your option) any later version.
12 :
13 : This library is distributed in the hope that it will be useful,
14 : but WITHOUT ANY WARRANTY; without even the implied warranty of
15 : MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 : Library General Public License for more details.
17 :
18 : You should have received a copy of the GNU Lesser General Public License
19 : along with this program. If not, see <http://www.gnu.org/licenses/>.
20 : */
21 :
22 : /* Required Headers */
23 :
24 : #include "libwbclient.h"
25 :
26 : /* Convert a Windows SID to a Unix uid if there already is a mapping */
27 0 : wbcErr wbcQuerySidToUid(const struct wbcDomainSid *sid,
28 : uid_t *puid)
29 : {
30 0 : return WBC_ERR_NOT_IMPLEMENTED;
31 : }
32 :
33 : /* Convert a Unix uid to a Windows SID if there already is a mapping */
34 0 : wbcErr wbcQueryUidToSid(uid_t uid,
35 : struct wbcDomainSid *sid)
36 : {
37 0 : return WBC_ERR_NOT_IMPLEMENTED;
38 : }
39 :
40 : /* Convert a Windows SID to a Unix gid if there already is a mapping */
41 0 : wbcErr wbcQuerySidToGid(const struct wbcDomainSid *sid,
42 : gid_t *pgid)
43 : {
44 0 : return WBC_ERR_NOT_IMPLEMENTED;
45 : }
46 :
47 :
48 : /* Convert a Unix gid to a Windows SID if there already is a mapping */
49 0 : wbcErr wbcQueryGidToSid(gid_t gid,
50 : struct wbcDomainSid *sid)
51 : {
52 0 : return WBC_ERR_NOT_IMPLEMENTED;
53 : }
54 :
55 : /* Set an user id mapping - not implemented any more */
56 0 : wbcErr wbcSetUidMapping(uid_t uid, const struct wbcDomainSid *sid)
57 : {
58 0 : return WBC_ERR_NOT_IMPLEMENTED;
59 : }
60 :
61 : /* Set a group id mapping - not implemented any more */
62 0 : wbcErr wbcSetGidMapping(gid_t gid, const struct wbcDomainSid *sid)
63 : {
64 0 : return WBC_ERR_NOT_IMPLEMENTED;
65 : }
66 :
67 : /* Remove a user id mapping - not implemented any more */
68 0 : wbcErr wbcRemoveUidMapping(uid_t uid, const struct wbcDomainSid *sid)
69 : {
70 0 : return WBC_ERR_NOT_IMPLEMENTED;
71 : }
72 :
73 : /* Remove a group id mapping - not implemented any more */
74 0 : wbcErr wbcRemoveGidMapping(gid_t gid, const struct wbcDomainSid *sid)
75 : {
76 0 : return WBC_ERR_NOT_IMPLEMENTED;
77 : }
78 :
79 : /* Set the highwater mark for allocated uids - not implemented any more */
80 0 : wbcErr wbcSetUidHwm(uid_t uid_hwm)
81 : {
82 0 : return WBC_ERR_NOT_IMPLEMENTED;
83 : }
84 :
85 : /* Set the highwater mark for allocated gids - not implemented any more */
86 0 : wbcErr wbcSetGidHwm(gid_t gid_hwm)
87 : {
88 0 : return WBC_ERR_NOT_IMPLEMENTED;
89 : }
|