diff options
-rw-r--r-- | source3/utils/net_ads.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c index 8945d99014..9665a3aa86 100644 --- a/source3/utils/net_ads.c +++ b/source3/utils/net_ads.c @@ -541,7 +541,7 @@ static int ads_user_info(struct net_context *c, int argc, const char **argv) char *escaped_user; struct dom_sid primary_group_sid; uint32_t group_rid; - enum SID_NAME_USE type; + enum wbcSidType type; if (argc < 1 || c->display_usage) { return net_ads_user_usage(c, argc, argv); @@ -596,7 +596,7 @@ static int ads_user_info(struct net_context *c, int argc, const char **argv) wbc_status = wbcLookupSid((struct wbcDomainSid *)&primary_group_sid, NULL, /* don't look up domain */ &primary_group, - (enum wbcSidType *) &type); + &type); if (!WBC_ERROR_IS_OK(wbc_status)) { d_fprintf(stderr, "wbcLookupSid: %s\n", wbcErrorString(wbc_status)); |