summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2003-07-15 17:23:36 +0000
committerVolker Lendecke <vlendec@samba.org>2003-07-15 17:23:36 +0000
commite9e3421db90c41d9839cf5d3cba494e0c32d7a42 (patch)
treeb6cc155913bf13f840370bbf4e92b903d63c9bac
parent4a12fe6044229cc5f59bd5029309ba9fe331b214 (diff)
downloadsamba-e9e3421db90c41d9839cf5d3cba494e0c32d7a42.tar.gz
samba-e9e3421db90c41d9839cf5d3cba494e0c32d7a42.tar.bz2
samba-e9e3421db90c41d9839cf5d3cba494e0c32d7a42.zip
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)
-rw-r--r--source3/groupdb/mapping.c4
1 files changed, 1 insertions, 3 deletions
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);
}
/****************************************************************************