Searched refs:lock (Results 1 - 8 of 8) sorted by relevance

/sssd/src/util/
H A Dutil_lock.c35 struct flock lock; local
42 lock.l_type = F_WRLCK;
43 lock.l_whence = SEEK_SET;
44 lock.l_start = start;
45 lock.l_len = len;
46 lock.l_pid = 0;
49 ret = fcntl(fd, F_SETLK, &lock);
54 "Failed to lock file. Retries left: %d\n",
73 "Unable to lock file.\n");
82 DEBUG(SSSDBG_CRIT_FAILURE, "Unable to lock fil
[all...]
/sssd/src/sysv/
H A Dsssd.in40 LOCK_FILE=@localstatedir@/lock/subsys/sssd
/sssd/src/tools/
H A Dsss_sync_ops.h46 int lock; member in struct:ops_ctx
H A Dsss_sync_ops.c202 int lock,
249 if (ret == EOK && lock == DO_LOCK) {
256 if (ret == EOK && lock == DO_UNLOCK) {
304 data->lock,
775 out->lock = DO_UNLOCK;
778 out->lock = DO_LOCK;
780 out->lock = DO_UNLOCK;
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
H A Dsss_userdel.c80 tctx->octx->lock = 1;
H A Dsss_usermod.c55 { "lock", 'L', POPT_ARG_NONE, NULL, 'L', _("Lock the account"), NULL },
255 tctx->octx->lock = pc_lock;
/sssd/src/python/
H A Dpysss.c85 int lock; member in struct:__anon20
417 " * ``lock``: Lock or unlock the account\n");
432 unsigned long lock = 0; local
433 const char * const kwlist[] = { "username", "uid", "gid", "lock",
445 &lock,
462 if (lock && lock != DO_LOCK && lock != DO_UNLOCK) {
464 "Unknown value for lock parameter");
492 tctx->octx->lock
[all...]
/sssd/src/tests/
H A Dpython-test.py335 lock=self.local.lock)
339 lock=self.local.unlock)

Completed in 43 milliseconds