Searched defs:grp (Results 1 - 16 of 16) sorted by relevance

/sssd/src/responder/common/
H A Dnegcache_files.c24 #include <grp.h>
74 struct group grp = { 0 }; local
86 ret = getgrnam_r(shortname, &grp, buffer, BUFFER_SIZE, &grp_result);
98 struct group grp = { 0 }; local
104 ret = getgrgid_r(gid, &grp, buffer, BUFFER_SIZE, &grp_result);
/sssd/src/tests/intg/
H A Dsssd_id.py21 import grp namespace
115 return grp.getgrgid(gid).gr_name
H A Dtest_local_domain.py22 import grp namespace
118 grp.getgrnam(name)
H A Dent.py22 import grp namespace
350 Convert a group entry returned by grp module to an entry dictionary.
362 return _convert_group(grp.getgrnam(name))
367 return _convert_group(grp.getgrgid(gid))
392 group_list = grp.getgrall()
H A Dtest_enumeration.py22 import grp namespace
294 grp.getgrnam("non_existent_group")
296 grp.getgrgid(1)
342 grp.getgrnam("non_existent_group")
344 grp.getgrgid(1)
H A Dtest_memory_cache.py22 import grp namespace
544 grp.getgrnam(group)
548 grp.getgrgid(gid)
606 grp.getgrgid(gid)
609 grp.getgrnam(group)
778 grp.getgrnam('group1')
780 grp.getgrgid(2001)
H A Dtest_ts_cache.py23 import grp namespace
388 grp.getgrnam("group1")
505 grp.getgrnam("group1")
H A Dldap_local_override_test.py22 import grp namespace
H A Dtest_ldap.py22 import grp namespace
337 grp.getgrnam("non_existent_group")
339 grp.getgrgid(1)
385 grp.getgrnam("non_existent_group")
387 grp.getgrgid(1)
/sssd/src/tests/cmocka/
H A Dtest_ldap_id_cleanup.c188 char *grp; local
211 grp = sss_create_internal_fqname(test_ctx, "grp", test_ctx->domain->name);
212 assert_non_null(grp);
229 ret = sysdb_store_group(test_ctx->domain, grp,
264 grp, NULL, &msg);
274 invalidate_group(test_ctx, test_ctx->domain, grp);
289 grp, NULL, &msg);
/sssd/src/sss_client/libwbclient/
H A Dwbc_pwd_sssd.c372 wbcErr wbcGetgrnam(const char *name, struct group **grp) argument
386 if (name == NULL || grp == NULL) {
401 memset(grp, 0, sizeof(struct group));
405 wbc_status = copy_grp(&lgrp, grp);
416 wbcErr wbcGetgrgid(gid_t gid, struct group **grp) argument
430 if (grp == NULL) {
445 memset(grp, 0, sizeof(struct group));
449 wbc_status = copy_grp(&lgrp, grp);
559 wbcErr wbcGetgrent(struct group **grp) argument
573 if (grp
603 wbcGetgrlist(struct group **grp) argument
[all...]
H A Dwbc_ctx_sssd.c206 const char *name, struct group **grp)
212 gid_t gid, struct group **grp)
242 wbcErr wbcCtxGetgrent(struct wbcContext *ctx, struct group **grp) argument
247 wbcErr wbcCtxGetgrlist(struct wbcContext *ctx, struct group **grp) argument
205 wbcCtxGetgrnam(struct wbcContext *ctx, const char *name, struct group **grp) argument
211 wbcCtxGetgrgid(struct wbcContext *ctx, gid_t gid, struct group **grp) argument
/sssd/src/tests/
H A Dstress-tests.c29 #include <grp.h>
82 struct group *grp = NULL; local
86 grp = getgrnam(name);
87 if (grp == NULL) {
/sssd/src/providers/proxy/
H A Dproxy_id.c558 #define DEBUG_GR_MEM(level, grp) \
561 if (!grp->gr_mem || !grp->gr_mem[0]) { \
563 grp->gr_name); \
566 while (grp->gr_mem[i]) { \
571 grp->gr_name, i); \
583 struct group *grp,
599 DEBUG_GR_MEM(SSSDBG_TRACE_LIBS, grp);
608 if (grp->gr_mem && grp
582 save_group(struct sysdb_ctx *sysdb, struct sss_domain_info *dom, struct group *grp, const char *real_name, const char *alias) argument
760 handle_getgr_result(enum nss_status status, struct group *grp, struct sss_domain_info *dom, bool *delete_group) argument
807 struct group *grp; local
961 struct group *grp; local
1046 struct group *grp; local
[all...]
/sssd/src/sss_client/nfs/
H A Dsss_nfs_client.c106 struct group grp; local
125 rc = sss_nss_mc_getgrnam(name, len, &grp, buf, buflen);
130 *gid = grp.gr_gid;
184 struct group grp; local
201 rc = sss_nss_mc_getgrgid(gid, &grp, buf, buflen);
205 gr_name_len = strlen(grp.gr_name) + 1;
212 memcpy(name, grp.gr_name, gr_name_len);
/sssd/src/ldb_modules/
H A Dmemberof.c3921 static int mbof_add_memuid(struct mbof_member *grp, const char *user);
4067 struct mbof_member *grp; local
4091 grp = talloc_zero(ctx, struct mbof_member);
4092 if (!grp) {
4097 grp->status = MBOF_GROUP_TO_DO;
4098 grp->dn = talloc_steal(grp, ares->message->dn);
4099 grp->name = ldb_msg_find_attr_as_string(ares->message, DB_NAME, NULL);
4102 grp->name = talloc_steal(grp, nam
4365 mbof_add_memuid(struct mbof_member *grp, const char *user) argument
[all...]

Completed in 50 milliseconds