summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/wbint.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-09-06 14:47:06 +0200
committerVolker Lendecke <vl@samba.org>2009-09-07 01:28:32 +0200
commit7159060450e4d5cd3d71e6a5c7837dcd648a6220 (patch)
tree84b5b2c3514d472cc32555682864bf24327cdf70 /source3/librpc/gen_ndr/wbint.h
parentd9b7fd59b026fbad11263e8a018d654325ede0e4 (diff)
downloadsamba-7159060450e4d5cd3d71e6a5c7837dcd648a6220.tar.gz
samba-7159060450e4d5cd3d71e6a5c7837dcd648a6220.tar.bz2
samba-7159060450e4d5cd3d71e6a5c7837dcd648a6220.zip
s3:winbind: Convert WINBINDD_SET_MAPPING to the new API
Diffstat (limited to 'source3/librpc/gen_ndr/wbint.h')
-rw-r--r--source3/librpc/gen_ndr/wbint.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/wbint.h b/source3/librpc/gen_ndr/wbint.h
index 87ce4794d8..4be5e46afb 100644
--- a/source3/librpc/gen_ndr/wbint.h
+++ b/source3/librpc/gen_ndr/wbint.h
@@ -44,6 +44,21 @@ struct wbint_userinfos {
struct wbint_userinfo *userinfos;/* [size_is(num_userinfos)] */
}/* [public] */;
+enum wbint_IdType
+#ifndef USE_UINT_ENUMS
+ {
+ WBINT_ID_TYPE_NOT_SPECIFIED,
+ WBINT_ID_TYPE_UID,
+ WBINT_ID_TYPE_GID
+}
+#else
+ { __donnot_use_enum_wbint_IdType=0x7FFFFFFF}
+#define WBINT_ID_TYPE_NOT_SPECIFIED ( 0 )
+#define WBINT_ID_TYPE_UID ( 1 )
+#define WBINT_ID_TYPE_GID ( 2 )
+#endif
+;
+
struct wbint_Ping {
struct {
@@ -278,4 +293,18 @@ struct wbint_CheckMachineAccount {
};
+
+struct wbint_SetMapping {
+ struct {
+ struct dom_sid *sid;/* [ref] */
+ enum wbint_IdType type;
+ uint64_t id;
+ } in;
+
+ struct {
+ NTSTATUS result;
+ } out;
+
+};
+
#endif /* _HEADER_wbint */