From 3257f91e0f39601f36057bec2e0e6c8b5e061cc8 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Wed, 4 Mar 2009 10:28:09 -0500 Subject: Improve sysdb Add comments in header files to better explain interfaces and intended usage. Expose function to convert from ldb errors to errnos. Add sysdb_attrs helper to add a long integer as a value. --- server/db/sysdb_search.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'server/db/sysdb_search.c') diff --git a/server/db/sysdb_search.c b/server/db/sysdb_search.c index c5a85cac..ff18419e 100644 --- a/server/db/sysdb_search.c +++ b/server/db/sysdb_search.c @@ -79,12 +79,6 @@ static struct sysdb_search_ctx *init_src_ctx(TALLOC_CTX *mem_ctx, return sctx; } -int sysdb_error_to_errno(int ldberr) -{ - /* fake it up for now, requires a mapping table */ - return EIO; -} - static void request_ldberror(struct sysdb_search_ctx *sctx, int error) { sysdb_operation_done(sctx->req); -- cgit