diff options
author | Volker Lendecke <vlendec@samba.org> | 2004-08-28 10:12:23 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:52:31 -0500 |
commit | 922d51b522acc06d27cfe37177973513f68c132a (patch) | |
tree | 8650d934ad6b88990cd51275990c26691e3d6644 /source3/rpc_server | |
parent | 725d93954896052e24a6870e9e5f14106063fe78 (diff) | |
download | samba-922d51b522acc06d27cfe37177973513f68c132a.tar.gz samba-922d51b522acc06d27cfe37177973513f68c132a.tar.bz2 samba-922d51b522acc06d27cfe37177973513f68c132a.zip |
r2093: Fix for Bug 1416. This must have been a cut&paste error from add_gid....
Thanks to Jonas Olsson for the bug report & fix.
Volker
(This used to be commit de0eaf7be7d0c3aaf4e17b63653ca68b4332c982)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_samr_nt.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c index ea631d7c85..ce6d9dd37e 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -3245,9 +3245,6 @@ static void add_uid_to_array_unique(uid_t uid, uid_t **uids, int *num) { int i; - if ((*num) >= groups_max()) - return; - for (i=0; i<*num; i++) { if ((*uids)[i] == uid) return; |