/*
SSSD
files_id.c - Identity operaions on the files provider
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 "providers/data_provider/dp.h"
#include "providers/files/files_private.h"
struct files_account_info_handler_state {
};
struct tevent_req *
struct files_id_ctx *id_ctx,
struct dp_id_data *data,
struct dp_req_params *params)
{
bool needs_update;
struct files_account_info_handler_state);
return NULL;
}
case BE_REQ_USER:
goto immediate;
}
break;
case BE_REQ_GROUP:
goto immediate;
}
break;
case BE_REQ_INITGROUPS:
goto immediate;
}
goto immediate;
}
? true \
: false;
break;
default:
goto immediate;
}
if (needs_update == false) {
goto immediate;
}
if (*update_req != NULL) {
goto immediate;
}
/* id_ctx now must mark the requests as updated when the inotify-induced
* update finishes
*/
*update_req = req;
return req;
} else {
}
return req;
}
{
if (*update_req == NULL) {
return;
}
} else {
}
*update_req = NULL;
}
int req_type,
{
switch (req_type) {
case BE_REQ_USER:
if (id_ctx->updating_groups == false) {
}
break;
case BE_REQ_GROUP:
if (id_ctx->updating_passwd == false) {
}
break;
default:
"Unexpected req_type %d\n", req_type);
return;
}
}
struct tevent_req *req,
struct dp_reply_std *data)
{
return EOK;
}