summaryrefslogtreecommitdiffstats
path: root/src/lib/idmap/sss_idmap.h
diff options
context:
space:
mode:
authorMichal Zidek <mzidek@redhat.com>2012-11-14 15:36:22 +0100
committerJakub Hrozek <jhrozek@redhat.com>2012-11-28 11:20:09 +0100
commitd6f283302268520c1506fb3da4f2a22f5a741be5 (patch)
tree1db58d6866fe821754a7e49d5442c2b427cdc075 /src/lib/idmap/sss_idmap.h
parent82505163d22f0ce9cc63f22b2cac5d3ca3af0937 (diff)
downloadsssd-d6f283302268520c1506fb3da4f2a22f5a741be5.tar.gz
sssd-d6f283302268520c1506fb3da4f2a22f5a741be5.tar.xz
sssd-d6f283302268520c1506fb3da4f2a22f5a741be5.zip
idmap: Silence DEBUG messages when dealing with built-in SIDs.
When converting built-in SID to unix GID/UID a confusing debug message about the failed conversion was printed. This patch special cases these built-in objects. https://fedorahosted.org/sssd/ticket/1593
Diffstat (limited to 'src/lib/idmap/sss_idmap.h')
-rw-r--r--src/lib/idmap/sss_idmap.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/idmap/sss_idmap.h b/src/lib/idmap/sss_idmap.h
index 6b7cbe507..22a4d5484 100644
--- a/src/lib/idmap/sss_idmap.h
+++ b/src/lib/idmap/sss_idmap.h
@@ -68,7 +68,10 @@ enum idmap_error_code {
IDMAP_SID_UNKNOWN,
/** The provided UID or GID could not be mapped */
- IDMAP_NO_RANGE
+ IDMAP_NO_RANGE,
+
+ /** The provided SID is a built-in one */
+ IDMAP_BUILTIN_SID
};
/**