summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.h
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2011-03-07 09:59:13 +0100
committerStephen Gallagher <sgallagh@redhat.com>2011-05-20 07:21:45 -0400
commit77bc3d93ddd41edee6046508884d7e95553ed5b7 (patch)
treef36de2fd8848118b46575e3230a1f84d8442ad65 /src/db/sysdb.h
parentd4bfba145e74aa8c0f9e7c36e548fc9965822a12 (diff)
downloadsssd_unused-77bc3d93ddd41edee6046508884d7e95553ed5b7.tar.gz
sssd_unused-77bc3d93ddd41edee6046508884d7e95553ed5b7.tar.xz
sssd_unused-77bc3d93ddd41edee6046508884d7e95553ed5b7.zip
Change sysdb_add_fake_user to add OriginalDN
RFC2307bis code relies heavily on originalDN, so the fake users need to have an option to store it, too.
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r--src/db/sysdb.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h
index c133072d..190e8120 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -495,7 +495,8 @@ int sysdb_add_user(TALLOC_CTX *mem_ctx,
int sysdb_add_fake_user(struct sysdb_ctx *ctx,
struct sss_domain_info *domain,
- const char *name);
+ const char *name,
+ const char *original_dn);
/* Add group (only basic attrs and w/o checks) */
int sysdb_add_basic_group(TALLOC_CTX *mem_ctx,