pkgsrc/net/samba/patches/patch-aa
taca 4e41ddcf9f Update samba package to 3.0.37.
This is a security release in order to address CVE-2009-2813, CVE-2009-2948
and CVE-2009-2906.
Please note that Samba 3.0 is not maintained any longer. This security
release is shipped on a voluntary basis.

   o CVE-2009-2813:
     In all versions of Samba later than 3.0.11, connecting to the home
     share of a user will use the root of the filesystem
     as the home directory if this user is misconfigured to have
     an empty home directory in /etc/passwd.

   o CVE-2009-2948:
     If mount.cifs is installed as a setuid program, a user can pass it a
     credential or password path to which he or she does not have access and
     then use the --verbose option to view the first line of that file.

   o CVE-2009-2906:
     Specially crafted SMB requests on authenticated SMB connections can
     send smbd into a 100% CPU loop, causing a DoS on the Samba server.
2009-10-04 16:58:38 +00:00

13 lines
361 B
Text

$NetBSD: patch-aa,v 1.33 2009/10/04 16:58:38 taca Exp $
--- nsswitch/pam_winbind.c.orig 2009-09-30 21:21:56.000000000 +0900
+++ nsswitch/pam_winbind.c
@@ -1295,6 +1295,8 @@ static char *_pam_delete(register char *
return NULL;
}
+PAM_EXTERN int pam_sm_close_session(pam_handle_t *, int, int, const char **);
+
/*
* obtain a password from the user
*/