summaryrefslogtreecommitdiff
path: root/source3/groupdb/mapping.c
diff options
context:
space:
mode:
authorJean-François Micouleau <jfm@samba.org>2001-05-08 16:33:18 +0000
committerJean-François Micouleau <jfm@samba.org>2001-05-08 16:33:18 +0000
commitb6a6b4b02ef923ce71a8be8258ccee1cbb439c6f (patch)
tree4adc6c0fce3385d225493b43a544e12c43a5fd46 /source3/groupdb/mapping.c
parentacc0ca79a0d95160c2bcca40957b7d09c236c516 (diff)
downloadsamba-b6a6b4b02ef923ce71a8be8258ccee1cbb439c6f.tar.gz
samba-b6a6b4b02ef923ce71a8be8258ccee1cbb439c6f.tar.bz2
samba-b6a6b4b02ef923ce71a8be8258ccee1cbb439c6f.zip
fixes to the group mapping code.
Not ready yet. J.F. (This used to be commit 62a7a567fdea230b77cc97a3f74d868542c34700)
Diffstat (limited to 'source3/groupdb/mapping.c')
-rw-r--r--source3/groupdb/mapping.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/groupdb/mapping.c b/source3/groupdb/mapping.c
index bc5ac3e9eb..5b844e93d2 100644
--- a/source3/groupdb/mapping.c
+++ b/source3/groupdb/mapping.c
@@ -662,6 +662,7 @@ BOOL get_uid_list_of_group(gid_t gid, uid_t **uid, int *num_uids)
char *gr;
*num_uids = 0;
+ *uid=NULL;
if ( (grp=getgrgid(gid)) == NULL)
return False;