summaryrefslogtreecommitdiff
path: root/src/db
diff options
context:
space:
mode:
Diffstat (limited to 'src/db')
-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 863707de..3354cc43 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",