Cross Reference: /sssd-io/src/python/pysss.c

Lines Matching defs:octx

113     struct ops_ctx *octx = NULL;
127 octx = talloc_zero(tctx, struct ops_ctx);
128 if (octx == NULL) {
132 octx->domain = self->local;
134 tctx->octx = octx;
202 tctx->octx->addgroups = PyList_AsStringList(tctx, py_groups, "groups");
203 if (!tctx->octx->addgroups) {
217 tctx->octx->name = username;
218 tctx->octx->uid = uid;
223 tctx->octx, gecos,
241 tctx->error = useradd(tctx, tctx->octx);
255 if (tctx->octx->create_homedir) {
258 if (tctx->octx->uid == 0 || tctx->octx->gid == 0) {
260 tctx->octx->name,
261 tctx->octx);
268 ret = create_homedir(tctx->octx->skeldir,
269 tctx->octx->home,
270 tctx->octx->uid,
271 tctx->octx->gid,
272 tctx->octx->umask);
280 tctx->octx->name,
281 tctx->octx->maildir,
282 tctx->octx->uid,
283 tctx->octx->gid);
340 tctx->octx->name = username;
353 tctx->octx,
366 if (tctx->octx->remove_homedir) {
368 tctx->octx->name,
369 tctx->octx);
377 ret = userdel(tctx, self->sysdb, tctx->octx);
383 if (tctx->octx->remove_homedir) {
385 tctx->octx->home,
386 tctx->octx->maildir,
387 tctx->octx->name,
388 tctx->octx->uid,
471 tctx->octx->addgroups = PyList_AsStringList(tctx,
474 if (!tctx->octx->addgroups) {
480 tctx->octx->rmgroups = PyList_AsStringList(tctx,
483 if (!tctx->octx->rmgroups) {
488 tctx->octx->name = username;
489 tctx->octx->uid = uid;
490 tctx->octx->gid = gid;
491 tctx->octx->gecos = gecos;
492 tctx->octx->home = home;
493 tctx->octx->shell = shell;
494 tctx->octx->lock = lock;
505 tctx->error = usermod(tctx, tctx->octx);
567 tctx->octx->name = groupname;
568 tctx->octx->gid = gid;
579 tctx->error = groupadd(tctx->octx);
631 tctx->octx->name = groupname;
634 ret = groupdel(tctx, self->sysdb, tctx->octx);
693 tctx->octx->addgroups = PyList_AsStringList(tctx,
696 if (!tctx->octx->addgroups) {
702 tctx->octx->rmgroups = PyList_AsStringList(tctx,
705 if (!tctx->octx->rmgroups) {
710 tctx->octx->name = groupname;
711 tctx->octx->gid = gid;
722 tctx->error = groupmod(tctx, tctx->octx);