summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/db/sysdb.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/db/sysdb.c b/src/db/sysdb.c
index a49fa50d..b0bea9a7 100644
--- a/src/db/sysdb.c
+++ b/src/db/sysdb.c
@@ -737,6 +737,7 @@ int sysdb_error_to_errno(int ldberr)
return ENOENT;
case LDB_ERR_BUSY:
return EBUSY;
+ case LDB_ERR_ATTRIBUTE_OR_VALUE_EXISTS:
case LDB_ERR_ENTRY_ALREADY_EXISTS:
return EEXIST;
case LDB_ERR_INVALID_ATTRIBUTE_SYNTAX: