diff options
author | Volker Lendecke <vl@samba.org> | 2012-02-25 21:27:28 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2012-02-25 23:46:36 +0100 |
commit | 263c7c28e3cc28a91577631cc6e8f1a96426868c (patch) | |
tree | d722c7b3a678b6fbbd42aaa9aa26848fcc4462de /source3/winbindd | |
parent | a5c044644f7387cb0859f823f91d735e94594b7a (diff) | |
download | samba-263c7c28e3cc28a91577631cc6e8f1a96426868c.tar.gz samba-263c7c28e3cc28a91577631cc6e8f1a96426868c.tar.bz2 samba-263c7c28e3cc28a91577631cc6e8f1a96426868c.zip |
s3: Use the correct enum values
wbcIdType and id_type have the same values, but different names
Autobuild-User: Volker Lendecke <vl@samba.org>
Autobuild-Date: Sat Feb 25 23:46:36 CET 2012 on sn-devel-104
Diffstat (limited to 'source3/winbindd')
-rw-r--r-- | source3/winbindd/winbindd_sids_to_xids.c | 6 |
1 files 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; |