re-run make idl.
authorGünther Deschner <gd@samba.org>
Wed, 27 Aug 2008 17:15:02 +0000 (19:15 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 29 Aug 2008 11:58:00 +0000 (13:58 +0200)
Guenther
(This used to be commit 9d33627d723c582f723982d090858e01bf5bd8c8)

source3/librpc/gen_ndr/libnetapi.h
source3/librpc/gen_ndr/ndr_libnetapi.c

index ed99c5d18926c6addc25502b884aeb08a8995c84..a225022fd3dd8eb906d511520f896caeb62e9f2f 100644 (file)
@@ -149,7 +149,7 @@ struct USER_INFO_4 {
        const char * usri4_logon_server;
        uint32_t usri4_country_code;
        uint32_t usri4_code_page;
-       struct dom_sid *usri4_user_sid;/* [unique] */
+       struct domsid *usri4_user_sid;/* [unique] */
        uint32_t usri4_primary_group_id;
        const char * usri4_profile;
        const char * usri4_home_dir_drive;
index 941d4aa9edad4a758ea3d847c835b59e914bc329..9bbcfc9a30823bd610b9b53f49e611ae10609d60 100644 (file)
@@ -543,7 +543,7 @@ _PUBLIC_ enum ndr_err_code ndr_push_USER_INFO_4(struct ndr_push *ndr, int ndr_fl
                        NDR_CHECK(ndr_push_uint8(ndr, NDR_SCALARS, *r->usri4_logon_hours));
                }
                if (r->usri4_user_sid) {
-                       NDR_CHECK(ndr_push_dom_sid(ndr, NDR_SCALARS|NDR_BUFFERS, r->usri4_user_sid));
+                       NDR_CHECK(ndr_push_domsid(ndr, NDR_SCALARS, r->usri4_user_sid));
                }
        }
        return NDR_ERR_SUCCESS;
@@ -607,7 +607,7 @@ _PUBLIC_ enum ndr_err_code ndr_pull_USER_INFO_4(struct ndr_pull *ndr, int ndr_fl
                if (r->usri4_user_sid) {
                        _mem_save_usri4_user_sid_0 = NDR_PULL_GET_MEM_CTX(ndr);
                        NDR_PULL_SET_MEM_CTX(ndr, r->usri4_user_sid, 0);
-                       NDR_CHECK(ndr_pull_dom_sid(ndr, NDR_SCALARS|NDR_BUFFERS, r->usri4_user_sid));
+                       NDR_CHECK(ndr_pull_domsid(ndr, NDR_SCALARS, r->usri4_user_sid));
                        NDR_PULL_SET_MEM_CTX(ndr, _mem_save_usri4_user_sid_0, 0);
                }
        }
@@ -650,7 +650,7 @@ _PUBLIC_ void ndr_print_USER_INFO_4(struct ndr_print *ndr, const char *name, con
        ndr_print_ptr(ndr, "usri4_user_sid", r->usri4_user_sid);
        ndr->depth++;
        if (r->usri4_user_sid) {
-               ndr_print_dom_sid(ndr, "usri4_user_sid", r->usri4_user_sid);
+               ndr_print_domsid(ndr, "usri4_user_sid", r->usri4_user_sid);
        }
        ndr->depth--;
        ndr_print_uint32(ndr, "usri4_primary_group_id", r->usri4_primary_group_id);