wb-ndr: add WINBIND_TRUST_LEVEL_COMPAT_CHECK_MACHCC
authorStefan Metzmacher <metze@sernet.de>
Wed, 5 Mar 2008 09:56:09 +0000 (10:56 +0100)
committerStefan Metzmacher <metze@sernet.de>
Fri, 2 May 2008 14:13:25 +0000 (16:13 +0200)
metze

source/librpc/idl/winbind_protocol.idl

index 63a2260fffaba83bfb66c9bba65002c4c82b081d..2f7e7267931377e36a586344eb695a06df2271dc 100644 (file)
@@ -99,7 +99,8 @@ import "security.idl",  "lsa.idl";
        winbind_status winbind_list_groups(/*TODO*/);
 
        typedef [v1_enum] enum {
-               WINBIND_TRUST_LEVEL_COMPAT_LIST = 1
+               WINBIND_TRUST_LEVEL_COMPAT_LIST         = 1,
+               WINBIND_TRUST_LEVEL_COMPAT_CHECK_MACHCC = 2
        } winbind_trust_level;
 
        /* Most of what we know from struct winbind_domain */
@@ -119,12 +120,14 @@ import "security.idl",  "lsa.idl";
 
        typedef [switch_type(winbind_trust_level)] union {
        [case(WINBIND_TRUST_LEVEL_COMPAT_LIST)];
+       [case(WINBIND_TRUST_LEVEL_COMPAT_CHECK_MACHCC)];
        [default];
        } winbind_trust_req;
 
        typedef [switch_type(winbind_trust_level)] union {
        [case(WINBIND_TRUST_LEVEL_COMPAT_LIST)]
                struct winbind_domain_info_compat_array compat_trusts;
+       [case(WINBIND_TRUST_LEVEL_COMPAT_CHECK_MACHCC)];
        [default];
        } winbind_trust_rep;
 
@@ -261,8 +264,6 @@ import "security.idl",  "lsa.idl";
                [out,switch_is(*level)] winbind_set_idmap_rep *rep
        );
 
-       /* Check machine account pw works */
-       winbind_status winbind_check_machcc(/*TODO*/);
        /* Various bit of info.  Currently just tidbits */
        winbind_status winbind_info_fixname(/*TODO*/);
        /* The domain this winbind server is a member of (lp_workgroup()) */