From adb08b2853bfcba76ebb35b4e7bb4a6403b54239 Mon Sep 17 00:00:00 2001 From: Michal Zidek Date: Mon, 17 Sep 2012 18:18:29 +0200 Subject: LDB_ERR_INVALID_ATTRIBUTE_SYNTAX added to sysdb_error_to_errno. --- src/db/sysdb.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/db') 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", -- cgit