sdap_refresh.c revision ab0eda3622b828df2bfb7850c96d1395f614eb13
/*
Authors:
Pavel Březina <pbrezina@redhat.com>
Copyright (C) 2013 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 <talloc.h>
#include <tevent.h>
#include "providers/ldap/ldap_common.h"
struct sdap_refresh_state {
struct tevent_context *ev;
struct be_acct_req *account_req;
struct sdap_id_ctx *id_ctx;
struct sdap_domain *sdom;
const char *type;
char **names;
};
struct tevent_context *ev,
struct sss_domain_info *domain,
int entry_type,
char **names,
void *pvt)
{
struct sdap_refresh_state);
return NULL;
}
goto immediately;
}
goto immediately;
}
switch (entry_type) {
case BE_REQ_NETGROUP:
break;
default:
}
goto immediately;
}
/* filter will be filled later */
goto immediately;
goto immediately;
}
return req;
} else {
}
return req;
}
{
goto done;
}
goto done;
}
goto done;
}
done:
return ret;
}
{
int sdap_ret;
goto done;
}
return;
}
done:
return;
}
}
{
return EOK;
}
struct tevent_context *ev,
struct sss_domain_info *domain,
char **names,
void *pvt)
{
}
{
return sdap_refresh_recv(req);
}