Às vezes, há uma armadilha com o Samba, dependendo da plataforma. Ele (Samba) nem sempre é configurado para usar senha criptografada. Se você navegar para o seu /etc/smb.conf, ele deve mencionar um item de configuração que faz alusão a senhas criptografadas. Altere a configuração para o oposto do que estiver definido atualmente e, em seguida, emita o comando:
/etc/rc.d/samba restart
< - Precisa ser root. Ou prefixar com sudo ou colocar no su.
ou
/etc/rc.d/smbd restart
< - Precisa ser root. Ou prefixar com sudo ou colocar no su.
Depende da versão de qual comando é necessário para reiniciar o Samba. Eu me deparei com esse problema há vários anos e isso me perturbou por algum tempo. Há também um projeto de código aberto chamado Webmin que é ótimo para administrar uma caixa * nix remotamente ou localmente através de um navegador da web. Apenas certifique-se de que a caixa esteja bem protegida se você decidir usar o Webmin.
Aqui está um exemplo de um smb.conf da minha rede (Windows, Mac OS X, Linux, BSD) conversando entre si. O arquivo abaixo foi coletado de um Mac.
; Configuration file for the Samba software suite.
; ============================================================================
;
; For the format of this file and comprehensive descriptions of all the
; configuration option, please refer to the man page for smb.conf(5).
;
; The following configuration should suit most systems for basic usage and
; initial testing. It gives all clients access to their home directories and
; allows access to all printers specified in /etc/printcap.
; BEGIN required configuration
; Parameters inside the required configuration block should not be altered.
; They may be changed at any time by upgrades or other automated processes.
;
; Site-specific customizations will only be preserved if they are done
; outside this block. If you choose to make customizations, it is your
; own responsibility to verify that they work correctly with the supported
; configuration tools.
[global]
debug pid = yes
log level = 1
server string = Mac OS X
printcap name = cups
printing = cups
**encrypt passwords = yes**
use spnego = yes
passdb backend = odsam
idmap domains = default
idmap config default: default = yes
idmap config default: backend = odsam
idmap alloc backend = odsam
idmap negative cache time = 5
map to guest = Bad User
guest account = nobody
unix charset = UTF-8
display charset = UTF-8
dos charset = 437
vfs objects = notify_kqueue,darwinacl,darwin_streams
; Don't become a master browser unless absolutely necessary.
os level = 2
domain master = no
; For performance reasons, set the transmit buffer size
; to the maximum and enable sendfile support.
max xmit = 131072
use sendfile = yes
mangled names = no
stat cache = no
wide links = no
; The darwin_streams module gives us named streams support.
stream support = yes
ea support = yes
; Enable locking coherency with AFP.
darwin_streams:brlm = yes
; Core files are invariably disabled system-wide, but attempting to
; dump core will trigger a crash report, so we still want to try.
enable core files = yes
; Filter inaccessible shares from the browse list.
com.apple:filter shares by access = yes
; Check in with PAM to enforce SACL access policy.
obey pam restrictions = yes
; Make sure that we resolve unqualified names as NetBIOS before DNS.
name resolve order = lmhosts wins bcast host
; Pull in system-wide preference settings. These are managed
; by smb-sync-preferences.
include = /var/db/smb.conf
; Pull in system share configuration. These are managed
; by smb-sync-shares.
include = /var/db/samba/smb.shares
[printers]
comment = All Printers
path = /tmp
printable = yes
guest ok = no
create mode = 0700
writeable = no
browseable = no
; Site-specific parameters can be added below this comment.
; END required configuration.