Samba before 2.2.0 allows local attackers to overwrite arbitrary files via a symlink attack using (1) a printer queue query, (2) the more command in smbclient, or (3) the mput command in smbclient.
http://www.securityfocus.com/bid/2617
http://www.linux-mandrake.com/en/security/2001/MDKSA-2001-040.php3
http://www.kb.cert.org/vuls/id/670568
http://www.debian.org/security/2001/dsa-048
http://www.caldera.com/support/security/advisories/CSSA-2001-015.0.txt
http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000395
http://archives.neohapsis.com/archives/freebsd/2001-04/0608.html
http://archives.neohapsis.com/archives/bugtraq/2001-04/0326.html
http://archives.neohapsis.com/archives/bugtraq/2001-04/0319.html
http://archives.neohapsis.com/archives/bugtraq/2001-04/0305.html