/*
SSSD
PAC Responder
Copyright (C) Sumit Bose <sbose@redhat.com> 2012, 2016
Jan Zeleny <jzeleny@redhat.com> 2012
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "responder/common/cache_req/cache_req.h"
{
int ret;
/* async processing, just return here */
return EOK;
}
return ret;
}
return EOK;
}
struct pac_req_ctx {
const char *domain_name;
char *user_sid_str;
char *user_dom_sid_str;
};
{
int ret;
return ENOMEM;
}
return EINVAL;
}
&pr_ctx->logon_info);
goto done;
}
goto done;
}
if (err != IDMAP_SUCCESS) {
goto done;
}
goto done;
}
} else {
}
goto done;
goto done;
}
done:
}
}
{
struct pac_req_ctx);
int ret;
goto done;
}
goto done;
}
done:
}
}
{
int ret;
pw_attrs);
return ENOMEM;
}
return ret;
}
{
struct pac_req_ctx);
return;
}
"Expected only 1 result for SID lookup, got [%ud].\n",
goto done;
}
if (user_attrs == NULL) {
goto done;
}
goto done;
}
goto done;
}
goto done;
}
done:
return;
}
{
{1, "2011-04-12", "initial version"},
};
return pac_cli_protocol_version;
}
{SSS_CLI_NULL, NULL}
};
return pac_cmds;
}