/sssd-io/src/tests/intg/ |
H A D | ldap_ent.py | 23 gecos=None, 52 if gecos is not None: 53 user[1].append(('gecos', [gecos.encode('utf-8')])) 117 gecos=None, 126 gecos=gecos,
|
H A D | test_memory_cache.py | 245 gecos='1001', shell='/bin/bash')) 249 gecos='1001', shell='/bin/bash')) 254 gecos='1002', shell='/bin/bash')) 258 gecos='1002', shell='/bin/bash')) 263 gecos='1003', shell='/bin/bash')) 267 gecos='1003', shell='/bin/bash')) 272 gecos='1011', shell='/bin/bash')) 276 gecos='1011', shell='/bin/bash')) 281 gecos='1012', shell='/bin/bash')) 285 gecos [all...] |
H A D | files_ops.py | 113 def _pwd2line(self, name, uid, gid, passwd, gecos, homedir, shell): 114 pwd_fmt = "{name}:{passwd}:{uid}:{gid}:{gecos}:{homedir}:{shell}\n" 119 gecos=gecos, 123 def useradd(self, name, uid, gid, passwd='', gecos='', dir='', shell=''): 124 pwd_line = self._pwd2line(name, uid, gid, passwd, gecos, dir, shell) 127 def usermod(self, name, uid, gid, passwd='', gecos='', dir='', shell=''): 128 pwd_line = self._pwd2line(name, uid, gid, passwd, gecos, dir, shell)
|
H A D | ldap_local_override_test.py | 193 gecos='User Number 1', 197 gecos='User Number 2', 218 gecos='Overriden User 1', 223 gecos='Overriden User 2', 255 gecos='User Number 1', 260 gecos='User Number 2', 380 gecos='Overriden User 1', 389 gecos='Overriden User 2', 409 gecos='User Number 1', 419 gecos [all...] |
H A D | test_sssctl.py | 211 gecos='1001', shell='/bin/bash')) 215 gecos='1002', shell='/bin/bash')) 239 gecos='1001', shell='/bin/bash')) 243 gecos='1002', shell='/bin/bash')) 268 gecos='1001', shell='/bin/bash')) 272 gecos='1002', shell='/bin/bash'))
|
H A D | test_files_ops.py | 26 gecos='User for tests', variable
|
H A D | test_enumeration.py | 281 dict(name='user1', passwd='*', uid=1001, gid=2001, gecos='1001', 283 dict(name='user2', passwd='*', uid=1002, gid=2002, gecos='1002', 285 dict(name='user3', passwd='*', uid=1003, gid=2003, gecos='1003', 313 dict(name='user1', passwd='*', uid=1001, gid=2001, gecos='1001', 315 dict(name='user2', passwd='*', uid=1002, gid=2002, gecos='1002', 317 dict(name='user3', passwd='*', uid=1003, gid=2003, gecos='1003', 730 dict(name='user1', passwd='*', uid=1001, gid=1001, gecos='1001', 732 dict(name='user2', passwd='*', uid=1002, gid=1002, gecos='1002', 734 dict(name='user3', passwd='*', uid=1003, gid=1003, gecos='1003',
|
H A D | test_ldap.py | 311 gecos='181818', shell='/bin/bash')) 316 dict(name='user1', passwd='*', uid=1001, gid=2001, gecos='1001', 318 dict(name='user2', passwd='*', uid=1002, gid=2002, gecos='1002', 320 dict(name='user3', passwd='*', uid=1003, gid=2003, gecos='1003', 348 dict(name='user1', passwd='*', uid=1001, gid=2001, gecos='1001', 350 dict(name='user2', passwd='*', uid=1002, gid=2002, gecos='1002', 352 dict(name='user3', passwd='*', uid=1003, gid=2003, gecos='1003', 429 gecos='1001', shell='/bin/bash')) 472 gecos='1001', shell='/bin/bash')) 477 gecos [all...] |
H A D | test_files_provider.py | 44 gecos='Used to check if passwd is resolvable', variable 49 gecos='User for tests', variable 54 gecos='User2 for tests', variable 59 gecos='Overriden User 1', variable 64 gecos='User for tests from alt files', variable 398 gecos='User for tests', 497 "-c", OV_USER1["gecos"], 644 Test that resolving a user without a gecos defined works and returns 647 check_user(incomplete_user_setup(setup_pw_with_canary, 'gecos', '')) 1085 gecos [all...] |
H A D | ent_test.py | 42 gecos="User 1", dir="/home/user1", shell="/bin/bash") 44 gecos="User 2", dir="/home/user2", shell="/bin/bash") 75 "{name}:{passwd}:{uid}:{gid}:{gecos}:{dir}:{shell}\n".format(**u)
|
H A D | test_infopipe.py | 433 attributes = ['name', 'uidNumber', 'gidNumber', 'gecos', 'homeDirectory', 436 gecos='181818', homeDirectory='/home/usr\\\\001', 477 attributes = ['name', 'uidNumber', 'gidNumber', 'gecos', 'homeDirectory', 480 gecos='1001', homeDirectory='/home/user1',
|
/sssd-io/src/tools/ |
H A D | sss_sync_ops.h | 43 char *gecos; member in struct:ops_ctx 68 const char *gecos,
|
H A D | sss_sync_ops.c | 197 const char *gecos, 228 if (ret == EOK && gecos) { 232 gecos); 299 data->gecos, 467 const char *gecos, 482 /* gecos */ 483 data->gecos = talloc_strdup(mem_ctx, gecos ? gecos : data->name); 484 if (!data->gecos) { 196 usermod_build_attrs(TALLOC_CTX *mem_ctx, const char *gecos, const char *home, const char *shell, uid_t uid, gid_t gid, int lock, struct sysdb_attrs **_attrs) argument 464 useradd_defaults(TALLOC_CTX *mem_ctx, struct confdb_ctx *confdb, struct ops_ctx *data, const char *gecos, const char *homedir, const char *shell, int create_home, const char *skeldir) argument [all...] |
H A D | sss_seed.c | 41 char *gecos; member in struct:user_ctx 375 if (uctx->gecos == NULL) { 376 ret = seed_str_input(input_uctx, _("user comment (gecos)"), 377 &input_uctx->gecos); 383 input_uctx->gecos = talloc_strdup(input_uctx, uctx->gecos); 384 if (input_uctx->gecos == NULL) { 460 { "gecos", 'c', POPT_ARG_STRING, &pc_gecos, 0, 561 sctx->uctx->gecos = talloc_strdup(sctx->uctx, pc_gecos); 562 if (sctx->uctx->gecos [all...] |
H A D | sss_override.c | 43 const char *gecos; member in struct:override_user 104 {"gecos", 'c', POPT_ARG_STRING, &user->gecos, 0, _("Override gecos"), NULL }, 306 const char *gecos, 359 if (gecos != NULL) { 360 ret = sysdb_attrs_add_string(attrs, SYSDB_GECOS, gecos); 388 user->home, user->shell, user->gecos, user->cert); 1175 objs[i].gecos = ldb_msg_find_attr_as_string(msgs[i], SYSDB_GECOS, NULL); 1194 talloc_steal(objs, objs[i].gecos); 299 build_attrs(TALLOC_CTX *mem_ctx, struct sss_domain_info *dom, const char *name, uid_t uid, gid_t gid, const char *home, const char *shell, const char *gecos, const char *cert) argument [all...] |
H A D | sss_usermod.c | 50 { "gecos", 'c', POPT_ARG_STRING, &pc_gecos, 0, _("The comment string"), NULL }, 250 tctx->octx->gecos = pc_gecos;
|
/sssd-io/src/responder/nss/ |
H A D | nss_protocol_pwent.c | 176 const char *gecos; local 196 gecos = sss_view_ldb_msg_find_attr_as_string(domain, msg, SYSDB_GECOS, 216 to_sized_string(_gecos, gecos == NULL ? "" : gecos); 236 struct sized_string gecos; local 270 &name, &gecos, &homedir, &shell); 278 + name->len + gecos.len + homedir.len 292 SAFEALIGN_SET_STRING(&body[rp], gecos.str, gecos.len, &rp); 303 uid, gid, &gecos, [all...] |
H A D | nsssrv_mmap_cache.h | 44 struct sized_string *gecos,
|
H A D | nsssrv_mmap_cache.c | 704 struct sized_string *gecos, 729 data_len = name->len + pw->len + gecos->len + homedir->len + shell->len; 760 memcpy(&data->strs[pos], gecos->str, gecos->len); 761 pos += gecos->len; 700 sss_mmap_cache_pw_store(struct sss_mc_ctx **_mcc, struct sized_string *name, struct sized_string *pw, uid_t uid, gid_t gid, struct sized_string *gecos, struct sized_string *homedir, struct sized_string *shell) argument
|
/sssd-io/src/python/ |
H A D | pysss.c | 148 " * ``gecos``: The comment string\n" 163 const char *gecos = NULL; local 169 const char * const kwlist[] = { "username", "uid", "gid", "gecos", 184 &gecos, 223 tctx->octx, gecos, 414 " * ``gecos``: The comment string\n" 430 char *gecos = NULL; local 436 "gecos", "homedir", "shell", 448 &gecos, 491 tctx->octx->gecos [all...] |
/sssd-io/src/tests/ |
H A D | python-test.py | 174 gecos="foo bar", 178 gecos="foo bar", 311 gecos="foo bar", 315 gecos="foo bar",
|
/sssd-io/src/providers/ldap/ |
H A D | sdap_async_users.c | 185 const char *gecos; local 292 if (el->num_values == 0) gecos = NULL; 293 else gecos = (const char *)el->values[0].data; 295 if (!gecos) { 301 if (el->num_values > 0) gecos = (const char *)el->values[0].data; 622 gecos, homedir, shell, orig_dn,
|
/sssd-io/src/providers/files/ |
H A D | files_ops.c | 290 const char *gecos; local 325 gecos = pw->pw_gecos; 327 gecos = NULL; 336 gecos,
|
/sssd-io/src/db/ |
H A D | sysdb_ops.c | 1689 const char *gecos, 1726 /* We set gecos to be the same as fullname on user creation, 1730 if (gecos && *gecos) { 1731 ret = sysdb_add_string(msg, SYSDB_FULLNAME, gecos); 1733 ret = sysdb_add_string(msg, SYSDB_GECOS, gecos); 1956 const char *gecos, 2049 ret = sysdb_add_basic_user(domain, name, uid, gid, gecos, homedir, shell); 2646 const char *gecos, 2659 const char *gecos, 1686 sysdb_add_basic_user(struct sss_domain_info *domain, const char *name, uid_t uid, gid_t gid, const char *gecos, const char *homedir, const char *shell) argument 1953 sysdb_add_user(struct sss_domain_info *domain, const char *name, uid_t uid, gid_t gid, const char *gecos, const char *homedir, const char *shell, const char *orig_dn, struct sysdb_attrs *attrs, int cache_timeout, time_t now) argument 2671 sysdb_store_user(struct sss_domain_info *domain, const char *name, const char *pwd, uid_t uid, gid_t gid, const char *gecos, const char *homedir, const char *shell, const char *orig_dn, struct sysdb_attrs *attrs, char **remove_attrs, uint64_t cache_timeout, time_t now) argument 2767 sysdb_store_new_user(struct sss_domain_info *domain, const char *name, uid_t uid, gid_t gid, const char *gecos, const char *homedir, const char *shell, const char *orig_dn, struct sysdb_attrs *attrs, uint64_t cache_timeout, time_t now) argument 2813 sysdb_store_user_attrs(struct sss_domain_info *domain, const char *name, uid_t uid, gid_t gid, const char *gecos, const char *homedir, const char *shell, const char *orig_dn, struct sysdb_attrs *attrs, char **remove_attrs, uint64_t cache_timeout, time_t now) argument [all...] |
/sssd-io/src/providers/proxy/ |
H A D | proxy_id.c | 294 const char *gecos; local 305 gecos = pwd->pw_gecos; 307 gecos = NULL; 321 gecos,
|