o.alexandre
(usa Debian)
Enviado em 30/09/2015 - 14:27h
renato_pacheco escreveu:
Cara, vc não leu direito o q pus. O guest é uma opção do mount.cifs, não um usuário. Vc testou como se fosse um usuário. Coloque do jeito q t passei e d o retorno.
--
Renato Carneiro Pacheco
Certificado Linux LPIC-1
Especialista em Segurança em Redes de Computadores
Graduado em Redes de Comunicação
http://br.linkedin.com/in/renatocarneirop
http://www.facebook.com/renatocarneirop
"Não acredite no que eu digo, pois é a minha experiência e não a sua. Experimente, indague e busque." - Osho Rajneesh
Não consegui mesmo usando a opção exatamente como você mostrou:
root@DEBIAN-TESTES:~# mount -t cifs //10.88.17.1/pub /mnt/backup -o username=administrador,guest
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Desejo detalhar mais meu ambiente e o modo como estão configurados:
A - Computador físico que roda Windows 7 64 Bits com o VMWare Workstation 11 e integrante do domínio XYZ.
B - Máquina virtual com Linux Debian 8.1 64 bits hospedada no PC (A) em modo bridge e standalone (fora do domínio);
C - Máquina virtual com Windows 7 64 Bits em modo bridge e standalone (fora do domínio);
Criei a máquina virtual C para testar se o problema é por ser integrante de um domínio. Descobri que ao compartilhar uma pasta no PC (C) e montar no Linux PC (B) o comando de mount que discutimos acima funciona perfeitamente, porém, tentar montar um compartilhamento do Windows PC (A) no Linux PC (B) está sendo quase uma missão impossível.
Depois de chegar a essa conclusão, resolvi colocar o Linux PC (B) no domínio e testar novamente. E pra minha surpresa, mesmo após inserir o Linux no domínio, não funcionou, mesma coisa, permissão negada.
Alguma luz no caminho a trilhar?
No Linux, estão instalados os seguintes pacotes:
acl install
acpi install
acpi-support-base install
acpid install
adduser install
apt install
apt-listchanges install
apt-utils install
aptitude install
aptitude-common install
aptitude-doc-en install
aspell install
aspell-pt-br install
at install
attr install
base-files install
base-passwd install
bash install
bash-completion install
bc install
bind9-host install
bsd-mailx install
bsdmainutils install
bsdutils install
busybox install
bzip2 install
ca-certificates install
cifs-utils install
console-setup install
console-setup-linux install
coreutils install
cpio install
cron install
dash install
dbus install
dc install
debconf install
debconf-i18n install
debian-archive-keyring install
debian-faq install
debianutils install
dictionaries-common install
diffutils install
discover install
discover-data install
dmeventd install
dmidecode install
dmsetup install
dnsutils install
doc-debian install
docutils-common install
docutils-doc install
dpkg install
e2fslibs:amd64 install
e2fsprogs install
eject install
emacsen-common install
exim4 install
exim4-base install
exim4-config install
exim4-daemon-light install
file install
findutils install
fontconfig install
fontconfig-config install
fonts-dejavu-core install
ftp install
gcc-4.8-base:amd64 install
gcc-4.9-base:amd64 install
geoip-database install
gettext-base install
gnupg install
gnupg-agent install
gnupg2 install
gpgv install
grep install
groff-base install
grub-common install
grub-pc install
grub-pc-bin install
grub2-common install
gzip install
hicolor-icon-theme install
host install
hostname install
ibrazilian install
ifupdown install
info install
init install
init-system-helpers install
initramfs-tools install
initscripts install
insserv install
install-info install
installation-report install
iproute2 install
iptables install
iputils-ping install
isc-dhcp-client install
isc-dhcp-common install
iso-codes install
ispell install
kbd install
keyboard-configuration install
keyutils install
klibc-utils install
kmod install
krb5-config install
krb5-locales install
krb5-user install
laptop-detect install
less install
libacl1:amd64 install
libaio1:amd64 install
libalgorithm-c3-perl install
libapt-inst1.5:amd64 install
libapt-pkg4.12:amd64 install
libarchive-extract-perl install
libasn1-8-heimdal:amd64 install
libaspell15:amd64 install
libasprintf0c2:amd64 install
libassuan0:amd64 install
libatk1.0-0:amd64 install
libatk1.0-data install
libattr1:amd64 install
libaudit-common install
libaudit1:amd64 install
libauthen-sasl-perl install
libavahi-client3:amd64 install
libavahi-common-data:amd64 install
libavahi-common3:amd64 install
libbind9-90 install
libblkid1:amd64 install
libboost-iostreams1.55.0:amd64 install
libbsd0:amd64 install
libbz2-1.0:amd64 install
libc-bin install
libc6:amd64 install
libcairo2:amd64 install
libcap-ng0:amd64 install
libcap2:amd64 install
libcap2-bin install
libcgi-fast-perl install
libcgi-pm-perl install
libclass-accessor-perl install
libclass-c3-perl install
libclass-c3-xs-perl install
libclass-isa-perl install
libcomerr2:amd64 install
libcpan-meta-perl install
libcryptsetup4:amd64 install
libcups2:amd64 install
libcurl3-gnutls:amd64 install
libcwidget3:amd64 install
libdata-optlist-perl install
libdata-section-perl install
libdatrie1:amd64 install
libdb5.3:amd64 install
libdbus-1-3:amd64 install
libdebconfclient0:amd64 install
libdevmapper-event1.02.1:amd64 install
libdevmapper1.02.1:amd64 install
libdiscover2 install
libdns-export100 install
libdns100 install
libedit2:amd64 install
libencode-locale-perl install
libestr0 install
libevent-2.0-5:amd64 install
libexpat1:amd64 install
libfcgi-perl install
libffi6:amd64 install
libfile-copy-recursive-perl install
libfile-listing-perl install
libfont-afm-perl install
libfontconfig1:amd64 install
libfreetype6:amd64 install
libfuse2:amd64 install
libgc1c2:amd64 install
libgcc1:amd64 install
libgcrypt20:amd64 install
libgdbm3:amd64 install
libgdk-pixbuf2.0-0:amd64 install
libgdk-pixbuf2.0-common install
libgeoip1:amd64 install
libglib2.0-0:amd64 install
libglib2.0-data install
libgmp10:amd64 install
libgnutls-deb0-28:amd64 install
libgnutls-openssl27:amd64 install
libgpg-error0:amd64 install
libgpgme11:amd64 install
libgpm2:amd64 install
libgraphite2-3:amd64 install
libgssapi-krb5-2:amd64 install
libgssapi3-heimdal:amd64 install
libgssrpc4:amd64 install
libgtk2.0-0:amd64 install
libgtk2.0-bin install
libgtk2.0-common install
libharfbuzz0b:amd64 install
libhcrypto4-heimdal:amd64 install
libhdb9-heimdal:amd64 install
libheimbase1-heimdal:amd64 install
libheimntlm0-heimdal:amd64 install
libhogweed2:amd64 install
libhtml-form-perl install
libhtml-format-perl install
libhtml-parser-perl install
libhtml-tagset-perl install
libhtml-tree-perl install
libhttp-cookies-perl install
libhttp-daemon-perl install
libhttp-date-perl install
libhttp-message-perl install
libhttp-negotiate-perl install
libhx509-5-heimdal:amd64 install
libicu52:amd64 install
libidn11:amd64 install
libintl-perl install
libio-html-perl install
libio-socket-ip-perl install
libio-socket-ssl-perl install
libio-string-perl install
libirs-export91 install
libisc-export95 install
libisc95 install
libisccc90 install
libisccfg-export90 install
libisccfg90 install
libjasper1:amd64 install
libjbig0:amd64 install
libjpeg62-turbo:amd64 install
libjson-c2:amd64 install
libk5crypto3:amd64 install
libkadm5clnt-mit9:amd64 install
libkadm5srv-mit9:amd64 install
libkdb5-7:amd64 install
libkdc2-heimdal:amd64 install
libkeyutils1:amd64 install
libklibc install
libkmod2:amd64 install
libkrb5-26-heimdal:amd64 install
libkrb5-3:amd64 install
libkrb5support0:amd64 install
libksba8:amd64 install
liblcms2-2:amd64 install
libldap-2.4-2:amd64 install
libldb1:amd64 install
liblocale-gettext-perl install
liblockfile-bin install
liblockfile1:amd64 install
liblog-message-perl install
liblog-message-simple-perl install
liblogging-stdlog0:amd64 install
liblognorm1:amd64 install
liblvm2cmd2.02:amd64 install
liblwp-mediatypes-perl install
liblwp-protocol-https-perl install
liblwres90 install
liblzma5:amd64 install
libmagic1:amd64 install
libmailtools-perl install
libmnl0:amd64 install
libmodule-build-perl install
libmodule-pluggable-perl install
libmodule-signature-perl install
libmount1:amd64 install
libmro-compat-perl install
libncurses5:amd64 install
libncursesw5:amd64 install
libnet-http-perl install
libnet-smtp-ssl-perl install
libnet-ssleay-perl install
libnetfilter-acct1:amd64 install
libnettle4:amd64 install
libnewt0.52:amd64 install
libnfnetlink0:amd64 install
libnfsidmap2:amd64 install
libntdb1:amd64 install
libopts25:amd64 install
libp11-kit0:amd64 install
libpackage-constants-perl install
libpam-krb5:amd64 install
libpam-modules:amd64 install
libpam-modules-bin install
libpam-runtime install
libpam0g:amd64 install
libpango-1.0-0:amd64 install
libpangocairo-1.0-0:amd64 install
libpangoft2-1.0-0:amd64 install
libpaper-utils install
libpaper1:amd64 install
libparams-util-perl install
libparse-debianchangelog-perl install
libpci3:amd64 install
libpcre3:amd64 install
libperl4-corelibs-perl install
libpipeline1:amd64 install
libpixman-1-0:amd64 install
libpng12-0:amd64 install
libpod-latex-perl install
libpod-readme-perl install
libpopt0:amd64 install
libprocps3:amd64 install
libpsl0:amd64 install
libpth20:amd64 install
libpython-stdlib:amd64 install
libpython2.7:amd64 install
libpython2.7-minimal:amd64 install
libpython2.7-stdlib:amd64 install
libreadline5:amd64 install
libreadline6:amd64 install
libregexp-common-perl install
libroken18-heimdal:amd64 install
librtmp1:amd64 install
libsasl2-2:amd64 install
libsasl2-modules:amd64 install
libsasl2-modules-db:amd64 install
libselinux1:amd64 install
libsemanage-common install
libsemanage1:amd64 install
libsepol1:amd64 install
libsigc++-2.0-0c2a:amd64 install
libsigsegv2:amd64 install
libslang2:amd64 install
libsmartcols1:amd64 install
libsmbclient:amd64 install
libsoftware-license-perl install
libsqlite3-0:amd64 install
libss2:amd64 install
libssh2-1:amd64 install
libssl1.0.0:amd64 install
libstdc++6:amd64 install
libsub-exporter-perl install
libsub-install-perl install
libsub-name-perl install
libswitch-perl install
libsystemd0:amd64 install
libtalloc2:amd64 install
libtasn1-6:amd64 install
libtdb1:amd64 install
libterm-ui-perl install
libtevent0:amd64 install
libtext-charwidth-perl install
libtext-iconv-perl install
libtext-soundex-perl install
libtext-template-perl install
libtext-unidecode-perl install
libtext-wrapi18n-perl install
libthai-data install
libthai0:amd64 install
libtiff5:amd64 install
libtimedate-perl install
libtinfo5:amd64 install
libtirpc1:amd64 install
libtokyocabinet9:amd64 install
libudev1:amd64 install
liburi-perl install
libusb-0.1-4:amd64 install
libusb-1.0-0:amd64 install
libustr-1.0-1:amd64 install
libuuid-perl install
libuuid1:amd64 install
libwbclient0:amd64 install
libwebp5:amd64 install
libwebpdemux1:amd64 install
libwebpmux1:amd64 install
libwind0-heimdal:amd64 install
libwrap0:amd64 install
libwww-perl install
libwww-robotrules-perl install
libx11-6:amd64 install
libx11-data install
libxapian22 install
libxau6:amd64 install
libxcb-render0:amd64 install
libxcb-shm0:amd64 install
libxcb1:amd64 install
libxcomposite1:amd64 install
libxcursor1:amd64 install
libxdamage1:amd64 install
libxdmcp6:amd64 install
libxext6:amd64 install
libxfixes3:amd64 install
libxi6:amd64 install
libxinerama1:amd64 install
libxml-libxml-perl install
libxml-namespacesupport-perl install
libxml-parser-perl install
libxml-sax-base-perl install
libxml-sax-expat-perl install
libxml-sax-perl install
libxml2:amd64 install
libxmuu1:amd64 install
libxrandr2:amd64 install
libxrender1:amd64 install
libxtables10 install
linux-base install
linux-image-3.16.0-4-amd64 install
linux-image-amd64 install
locales install
lockfile-progs install
login install
logrotate install
lsb-base install
lsb-release install
lsof install
lvm2 install
m4 install
man-db install
manpages install
manpages-pt install
mawk install
mime-support install
mlocate install
mount install
multiarch-support install
mutt install
nano install
ncurses-base install
ncurses-bin install
ncurses-term install
net-tools install
netbase install
netcat-traditional install
nfacct install
nfs-common install
nfs-kernel-server install
ntp install
ntpdate install
openssh-client install
openssh-server install
openssh-sftp-server install
openssl install
os-prober install
passwd install
patch install
pciutils install
perl install
perl-base install
perl-modules install
pinentry-gtk2 install
procmail install
procps install
psmisc install
python install
python-apt install
python-apt-common install
python-chardet install
python-crypto install
python-debian install
python-debianbts install
python-defusedxml install
python-dnspython install
python-docutils install
python-ldb install
python-minimal install
python-ntdb install
python-pil:amd64 install
python-pkg-resources install
python-pygments install
python-reportbug install
python-roman install
python-samba install
python-six install
python-soappy install
python-support install
python-talloc install
python-tdb install
python-wstools install
python2.7 install
python2.7-minimal install
readline-common install
rename install
reportbug install
rpcbind install
rsyslog install
samba install
samba-common install
samba-common-bin install
samba-dsdb-modules install
samba-libs:amd64 install
samba-vfs-modules install
sed install
sensible-utils install
sgml-base install
shared-mime-info install
smbclient install
startpar install
systemd install
systemd-sysv install
sysv-rc install
sysvinit-utils install
tar install
task-brazilian-portuguese install
tasksel install
tasksel-data install
tcpd install
tdb-tools install
telnet install
texinfo install
time install
traceroute install
tzdata install
ucf install
udev install
update-inetd install
usbutils install
util-linux install
util-linux-locales install
vim install
vim-common install
vim-runtime install
vim-tiny install
w3m install
wamerican install
wbrazilian install
wget install
whiptail install
whois install
winbind install
xauth install
xdg-user-dirs install
xkb-data install
xml-core install
xz-utils install
zlib1g:amd64 install