summaryrefslogtreecommitdiffstats
path: root/src/lib/idmap/sss_idmap.c
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2012-05-14 13:14:14 +0200
committerStephen Gallagher <sgallagh@redhat.com>2012-05-14 11:25:32 -0400
commitc51a204a40b8f85f7f525edb3e24520916d8b9c7 (patch)
tree78fdc29a4e0c73b853d65c8773eaac7a90f82068 /src/lib/idmap/sss_idmap.c
parent6270c10037cd0b5ea59567aaf423dcb1205e5683 (diff)
downloadsssd-c51a204a40b8f85f7f525edb3e24520916d8b9c7.tar.gz
sssd-c51a204a40b8f85f7f525edb3e24520916d8b9c7.tar.xz
sssd-c51a204a40b8f85f7f525edb3e24520916d8b9c7.zip
Rename struct dom_sid to struct sss_dom_sid
To avoid conflicts with struct dom_sid used by samba the sss_ prefix is added to the struct used by libsss_idmap.
Diffstat (limited to 'src/lib/idmap/sss_idmap.c')
-rw-r--r--src/lib/idmap/sss_idmap.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/idmap/sss_idmap.c b/src/lib/idmap/sss_idmap.c
index c970293bc..c589bd458 100644
--- a/src/lib/idmap/sss_idmap.c
+++ b/src/lib/idmap/sss_idmap.c
@@ -361,7 +361,7 @@ enum idmap_error_code sss_idmap_unix_to_sid(struct sss_idmap_ctx *ctx,
}
enum idmap_error_code sss_idmap_dom_sid_to_unix(struct sss_idmap_ctx *ctx,
- struct dom_sid *dom_sid,
+ struct sss_dom_sid *dom_sid,
uint32_t *id)
{
enum idmap_error_code err;
@@ -407,11 +407,11 @@ done:
enum idmap_error_code sss_idmap_unix_to_dom_sid(struct sss_idmap_ctx *ctx,
uint32_t id,
- struct dom_sid **_dom_sid)
+ struct sss_dom_sid **_dom_sid)
{
enum idmap_error_code err;
char *sid = NULL;
- struct dom_sid *dom_sid = NULL;
+ struct sss_dom_sid *dom_sid = NULL;
CHECK_IDMAP_CTX(ctx, IDMAP_CONTEXT_INVALID);