From 263c7c28e3cc28a91577631cc6e8f1a96426868c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 25 Feb 2012 21:27:28 +0100 Subject: s3: Use the correct enum values wbcIdType and id_type have the same values, but different names Autobuild-User: Volker Lendecke Autobuild-Date: Sat Feb 25 23:46:36 CET 2012 on sn-devel-104 --- source3/winbindd/winbindd_sids_to_xids.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source3/winbindd/winbindd_sids_to_xids.c b/source3/winbindd/winbindd_sids_to_xids.c index b416e3a338..0ed6c89cb4 100644 --- a/source3/winbindd/winbindd_sids_to_xids.c +++ b/source3/winbindd/winbindd_sids_to_xids.c @@ -189,15 +189,15 @@ static void winbindd_sids_to_xids_lookupsids_done(struct tevent_req *subreq) switch (n->sid_type) { case SID_NAME_USER: case SID_NAME_COMPUTER: - t->type = WBC_ID_TYPE_UID; + t->type = ID_TYPE_UID; break; case SID_NAME_DOM_GRP: case SID_NAME_ALIAS: case SID_NAME_WKN_GRP: - t->type = WBC_ID_TYPE_GID; + t->type = ID_TYPE_GID; break; default: - t->type = WBC_ID_TYPE_NOT_SPECIFIED; + t->type = ID_TYPE_NOT_SPECIFIED; break; }; t->domain_index = n->sid_index; -- cgit