From ea055e8c7905ec5d229fd5b50ca9ec8f60073b53 Mon Sep 17 00:00:00 2001 From: Kai Blin Date: Thu, 23 Apr 2009 16:37:11 +0200 Subject: s4: Switch to S3-style id mapping data types. --- source4/librpc/idl/winbind.idl | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'source4/librpc/idl') diff --git a/source4/librpc/idl/winbind.idl b/source4/librpc/idl/winbind.idl index 5cefb38f75..73e725bb98 100644 --- a/source4/librpc/idl/winbind.idl +++ b/source4/librpc/idl/winbind.idl @@ -28,11 +28,18 @@ interface winbind id_type type; } unixid; + typedef enum { + ID_UNKNOWN, + ID_MAPPED, + ID_UNMAPPED, + ID_EXPIRED + } id_mapping; + typedef struct { unixid *unixid; dom_sid *sid; - NTSTATUS status; - } id_mapping; + id_mapping status; + } id_map; /* a call to get runtime informations */ void winbind_information(/* TODO */); @@ -62,7 +69,7 @@ interface winbind NTSTATUS winbind_get_idmap( [in] winbind_get_idmap_level level, [in] uint32 count, - [in,out] [size_is(count)] id_mapping ids[] + [in,out] [size_is(count)] id_map ids[] ); } -- cgit