From e9e3421db90c41d9839cf5d3cba494e0c32d7a42 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 15 Jul 2003 17:23:36 +0000 Subject: We should report if a group mapping fails. This should fix bug#225. Jerry, this is assigned to you. Do you want to answer it? However, we have to decide what to do if a mapping is to be done for a unix group not in LDAP.... Volker (This used to be commit bf449d467cfe4987df17010490a16ab0472c0803) --- source3/groupdb/mapping.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'source3/groupdb/mapping.c') diff --git a/source3/groupdb/mapping.c b/source3/groupdb/mapping.c index 8a6f514860..951361f4d4 100644 --- a/source3/groupdb/mapping.c +++ b/source3/groupdb/mapping.c @@ -222,9 +222,7 @@ BOOL add_initial_entry(gid_t gid, const char *sid, enum SID_NAME_USE sid_name_us fstrcpy(map.nt_name, nt_name); fstrcpy(map.comment, comment); - pdb_add_group_mapping_entry(&map); - - return True; + return pdb_add_group_mapping_entry(&map); } /**************************************************************************** -- cgit