diff options
author | Timur I. Bakeyev <timur@FreeBSD.org> | 2007-09-18 22:27:58 +0000 |
---|---|---|
committer | Timur I. Bakeyev <timur@FreeBSD.org> | 2007-09-18 22:27:58 +0000 |
commit | 2a1c6bc502e0d421e486d9ab1d520e71f3817242 (patch) | |
tree | 19f78cc4ed08c52af326afb49621e16c61d92443 /net/samba3/files/patch-lib__system_smbd.c | |
parent | - Update to 1.2.1. (diff) |
This is a cummulative update of net/samba3 from version 3.0.25a to
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)
Notes
Notes:
svn path=/head/; revision=199730
Diffstat (limited to 'net/samba3/files/patch-lib__system_smbd.c')
-rw-r--r-- | net/samba3/files/patch-lib__system_smbd.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/net/samba3/files/patch-lib__system_smbd.c b/net/samba3/files/patch-lib__system_smbd.c new file mode 100644 index 000000000000..edc1c797251d --- /dev/null +++ b/net/samba3/files/patch-lib__system_smbd.c @@ -0,0 +1,17 @@ +--- 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); |