summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/db/sysdb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/db/sysdb.c b/src/db/sysdb.c
index 863707dec..3354cc43e 100644
--- a/src/db/sysdb.c
+++ b/src/db/sysdb.c
@@ -736,6 +736,8 @@ int sysdb_error_to_errno(int ldberr)
return EBUSY;
case LDB_ERR_ENTRY_ALREADY_EXISTS:
return EEXIST;
+ case LDB_ERR_INVALID_ATTRIBUTE_SYNTAX:
+ return EINVAL;
default:
DEBUG(SSSDBG_CRIT_FAILURE,
("LDB returned unexpected error: [%s]\n",