From 3490a3dded7ecfafd056ee13d879ac506a71f60f Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Thu, 13 Mar 2014 17:00:31 -0400 Subject: Ignore unnamed entries when constructing NIS maps --- src/back-nis.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/back-nis.c b/src/back-nis.c index be6bb6a..0d4e227 100644 --- a/src/back-nis.c +++ b/src/back-nis.c @@ -1,5 +1,5 @@ /* - * Copyright 2008,2011,2012 Red Hat, Inc. + * Copyright 2008,2011,2012,2013,2014 Red Hat, Inc. * * This Program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -362,7 +362,8 @@ backend_set_entry(Slapi_PBlock *pb, Slapi_Entry *e, "examining input entry \"%s\"\n", ndn); } else { slapi_log_error(SLAPI_LOG_PLUGIN, plugin_id, - "examining unnamed input entry(?)\n"); + "input entry has no name, ignoring\n"); + return; } /* Pull out the keys and value for the entry. */ all_keys = backend_gather_data(data->common.state, pb, e, -- cgit