/*
SSSD
ID-mapping plugin for winbind
Authors:
Sumit Bose <sbose@redhat.com>
Copyright (C) 2016 Red Hat
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 <string.h>
#include <errno.h>
#include "lib/winbind_idmap_sss/winbind_idmap_sss.h"
#include "sss_client/idmap/sss_nss_idmap.h"
#include "lib/idmap/sss_idmap.h"
#include "util/util_sss_idmap.h"
struct idmap_sss_ctx {
};
{
return ERROR_INVALID_PARAMETER;
}
return NT_STATUS_NO_MEMORY;
}
if (err != IDMAP_SUCCESS) {
return NT_STATUS_NO_MEMORY;
}
return NT_STATUS_OK;
}
{
size_t c;
int ret;
char *sid_str;
return ERROR_INVALID_PARAMETER;
}
return ERROR_INVALID_PARAMETER;
}
for (c = 0; map[c]; c++) {
}
for (c = 0; map[c]; c++) {
if (ret != 0) {
}
continue;
}
switch (id_type) {
case SSS_ID_TYPE_UID:
break;
case SSS_ID_TYPE_GID:
break;
case SSS_ID_TYPE_BOTH:
break;
default:
continue;
}
if (err != IDMAP_SUCCESS) {
continue;
}
}
return NT_STATUS_OK;
}
{
size_t c;
int ret;
char *sid_str;
return ERROR_INVALID_PARAMETER;
}
return ERROR_INVALID_PARAMETER;
}
for (c = 0; map[c]; c++) {
}
for (c = 0; map[c]; c++) {
if (err != IDMAP_SUCCESS) {
continue;
}
if (ret != 0) {
}
continue;
}
switch (id_type) {
case SSS_ID_TYPE_UID:
break;
case SSS_ID_TYPE_GID:
break;
case SSS_ID_TYPE_BOTH:
break;
default:
continue;
}
}
return NT_STATUS_OK;
}
};
{
}
{
}