$ smbmount /windowsServer/share /mnt/smb -o codepage=866,iocharset=utf8 mount "share" in "smb", but cyrillic symbols are not display $ ls /mnt/smb | iconv -f cp866 -t utf8 display folder width normal cyrrilic symbols $ locale -a C en_US.utf8 POSIX ru_RU.cp1251 ru_RU.koi8r ru_RU.utf8 $locale LANG=ru_RU.UTF-8 LC_CTYPE="ru_RU.UTF-8" LC_NUMERIC="ru_RU.UTF-8" LC_TIME="ru_RU.UTF-8" LC_COLLATE="ru_RU.UTF-8" LC_MONETARY="ru_RU.UTF-8" LC_MESSAGES="ru_RU.UTF-8" LC_PAPER="ru_RU.UTF-8" LC_NAME="ru_RU.UTF-8" LC_ADDRESS="ru_RU.UTF-8" LC_TELEPHONE="ru_RU.UTF-8" LC_MEASUREMENT="ru_RU.UTF-8" LC_IDENTIFICATION="ru_RU.UTF-8" LC_ALL=ru_RU.UTF-8 mount.cifs work well, but it dont work with hostname, only ip ( Reproducible: Always $emerge --info Timestamp of tree: Tue, 14 Jul 2009 09:30:20 +0000 app-shells/bash: 3.2_p39 dev-lang/python: 2.5.4-r3 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.63 sys-devel/automake: 1.4_p6, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/ude v/rules.d" CXXFLAGS="-O3 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms str ict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/" LANG="ru_RU.UTF-8" LC_ALL="ru_RU.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="ru en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclu de=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/enlightenment" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi berkdb bzip2 cli cracklib crypt dbus dri fbcondecor gdbm gif gpm gtk iconv isdnlog jpeg jpg midi mp3 mudflap ncurses nls nptl nptlonly opengl op enmp pam pcre perl png pppd python readline reflection samba session spl ssl sys fs tcpd truetype unicode usb utf utf8 x86 xorg zlib" ALSA_CARDS="hda-intel" ALSA _PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks i ec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate rou te share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias auth n_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfil e authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log _config logio mem_cache mime mime_magic negotiation rewrite setenvif speling sta tus unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboa rd mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44 780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARD S="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_CO MPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
$emerge --info Timestamp of tree: Tue, 14 Jul 2009 09:30:20 +0000 app-shells/bash: 3.2_p39 dev-lang/python: 2.5.4-r3 sys-apps/baselayout: 1.12.11.1 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.63 sys-devel/automake: 1.4_p6, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 1.5.26 virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/ude v/rules.d" CXXFLAGS="-O3 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms str ict unmerge-orphans userfetch" GENTOO_MIRRORS="http://mirror.yandex.ru/gentoo-distfiles/" LANG="ru_RU.UTF-8" LC_ALL="ru_RU.UTF-8" LDFLAGS="-Wl,-O1" LINGUAS="ru en" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclu de=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/layman/enlightenment" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acl acpi berkdb bzip2 cli cracklib crypt dbus dri fbcondecor gdbm gif gpm gtk iconv isdnlog jpeg jpg midi mp3 mudflap ncurses nls nptl nptlonly opengl op enmp pam pcre perl png pppd python readline reflection samba session spl ssl sys fs tcpd truetype unicode usb utf utf8 x86 xorg zlib" ALSA_CARDS="hda-intel" ALSA _PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks i ec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate rou te share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias auth n_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfil e authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log _config logio mem_cache mime mime_magic negotiation rewrite setenvif speling sta tus unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboa rd mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44 780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru en" USERLAND="GNU" VIDEO_CARD S="nvidia" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_CO MPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Samba 3.0.x is no longer in portage tree. Please test this behaviour with samba 3.4.9 (current stable)