mirror of
https://git.freebsd.org/ports.git
synced 2025-06-21 12:40:45 -04:00
3.0.26a. Detailed list of all the changes can be found: http://www.samba.org/samba/history/samba-3.0.26a.html Changes are: o Memory leaks in Winbind's IDMap manager. o CVE-2007-4138 - Incorrect primary group assignment for domain users using the rfc2307 or sfu winbind nss info plugin. o File sharing with Widows 9x clients. o Winbind running out of file descriptors due to stalled child processes. o MS-DFS inter-operability issues. o Offline caching of files with Windows XP/Vista clients. o Improper cleanup of expired or invalid byte range locks on files. o Crashes is idmap_ldap and idmap_rid. Approved by: shaun (mentor)
17 lines
519 B
C
17 lines
519 B
C
--- lib/system_smbd.c.orig Sun Sep 16 04:29:55 2007
|
|
+++ lib/system_smbd.c Sun Sep 16 04:31:21 2007
|
|
@@ -104,12 +104,10 @@
|
|
|
|
restore_re_gid();
|
|
|
|
- if (sys_setgroups(ngrp_saved, gids_saved) != 0) {
|
|
+ if (sys_setgroups(gid, ngrp_saved, gids_saved) != 0) {
|
|
/* yikes! */
|
|
DEBUG(0,("ERROR: getgrouplist: failed to reset group list!\n"));
|
|
- smb_panic("getgrouplist: failed to reset group list!\n");
|
|
- free(gids_saved);
|
|
- return -1;
|
|
+ smb_panic("getgrouplist: failed to reset group list!");
|
|
}
|
|
|
|
free(gids_saved);
|