summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2010-09-29 22:15:39 +0200
committerStephen Gallagher <sgallagh@redhat.com>2010-10-15 09:03:07 -0400
commitc1d525a90f06a9414d0788857b271b80625a5858 (patch)
tree82144584d74a7939e801a3fefdf9432c1afd10ad /src/db/sysdb.h
parent3dd54ad87fd6a2bc8f646cd93be0329647e96f0e (diff)
downloadsssd-c1d525a90f06a9414d0788857b271b80625a5858.tar.gz
sssd-c1d525a90f06a9414d0788857b271b80625a5858.tar.xz
sssd-c1d525a90f06a9414d0788857b271b80625a5858.zip
sysdb interface for adding fake users
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r--src/db/sysdb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h
index 7db1a6ea4..a1baa20d9 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -465,6 +465,10 @@ int sysdb_add_user(TALLOC_CTX *mem_ctx,
struct sysdb_attrs *attrs,
int cache_timeout);
+int sysdb_add_fake_user(struct sysdb_ctx *ctx,
+ struct sss_domain_info *domain,
+ const char *name);
+
/* Add group (only basic attrs and w/o checks) */
int sysdb_add_basic_group(TALLOC_CTX *mem_ctx,
struct sysdb_ctx *ctx,