summaryrefslogtreecommitdiffstats
path: root/src/responder/pac
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2012-10-15 11:47:01 +0200
committerSumit Bose <sbose@redhat.com>2012-10-26 10:32:05 +0200
commit05ea6f6cf4f92bcb1fe9a46da6500be02285bae5 (patch)
treef310d7753fdcedf85e812299538bcd5e50eb8e4e /src/responder/pac
parent4cf3bc3b94ccf1e60d29c0eb765f02cb49fbac2d (diff)
downloadsssd-05ea6f6cf4f92bcb1fe9a46da6500be02285bae5.tar.gz
sssd-05ea6f6cf4f92bcb1fe9a46da6500be02285bae5.tar.xz
sssd-05ea6f6cf4f92bcb1fe9a46da6500be02285bae5.zip
pac responder: fix copy-and-paste error
This error prevent proper id-mapping in the PAC responder.
Diffstat (limited to 'src/responder/pac')
-rw-r--r--src/responder/pac/pacsrv_utils.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/responder/pac/pacsrv_utils.c b/src/responder/pac/pacsrv_utils.c
index 7d375873e..48caae643 100644
--- a/src/responder/pac/pacsrv_utils.c
+++ b/src/responder/pac/pacsrv_utils.c
@@ -167,13 +167,6 @@ errno_t domsid_rid_to_uid(struct pac_ctx *pac_ctx,
return ENOMEM;
}
- err = sss_idmap_smb_sid_to_sid(pac_ctx->idmap_ctx, domsid, &sid_str);
- if (err != IDMAP_SUCCESS) {
- DEBUG(SSSDBG_OP_FAILURE, ("sss_idmap_smb_sid_to_sid failed.\n"));
- ret = EFAULT;
- goto done;
- }
-
err = sss_idmap_sid_to_unix(pac_ctx->idmap_ctx, sid_str, &id);
if (err == IDMAP_NO_DOMAIN) {
ret = add_idmap_domain(pac_ctx->idmap_ctx, sysdb, domain_name,