diff options
author | Michal Židek <mzidek@redhat.com> | 2015-08-06 09:16:03 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2015-09-03 09:56:45 +0200 |
commit | b0d6d14b5bcc137074383abcd2bf8039c3d74b02 (patch) | |
tree | 6efdd584ed62d67cb0f960b27d98ee8c75d26e42 /src/db/sysdb.h | |
parent | 3b1aa479b377e570c6dff359a1f8099289a2af75 (diff) | |
download | sssd-b0d6d14b5bcc137074383abcd2bf8039c3d74b02.tar.gz sssd-b0d6d14b5bcc137074383abcd2bf8039c3d74b02.tar.xz sssd-b0d6d14b5bcc137074383abcd2bf8039c3d74b02.zip |
SYSDB: Add function to expire entry
Ticket:
https://fedorahosted.org/sssd/ticket/2676
Added function to expire entry in sysdb using
its DN.
Reviewed-by: Pavel Reichl <preichl@redhat.com>
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r-- | src/db/sysdb.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h index 9e28b5c66..3c76fb0ce 100644 --- a/src/db/sysdb.h +++ b/src/db/sysdb.h @@ -717,11 +717,16 @@ int sysdb_delete_entry(struct sysdb_ctx *sysdb, struct ldb_dn *dn, bool ignore_not_found); - int sysdb_delete_recursive(struct sysdb_ctx *sysdb, struct ldb_dn *dn, bool ignore_not_found); +/* Mark entry as expired */ +errno_t sysdb_mark_entry_as_expired_ldb_dn(struct sss_domain_info *dom, + struct ldb_dn *ldbdn); +errno_t sysdb_mark_entry_as_expired_ldb_val(struct sss_domain_info *dom, + struct ldb_val *dn_val); + /* Search Entry */ int sysdb_search_entry(TALLOC_CTX *mem_ctx, struct sysdb_ctx *sysdb, |