Есть дебиан стабильный(squeeze), полученный обновлением из lenny. После обновления samba при попытке монтироваться к samba-шаре получаем
root@r-asian:/etc# mount -t cifs -o username=tree/r-asian,password=********** //lhc/share /home/r-asian/remote/share
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
До обновления с теми же конфигами всё прекрасно работало. Проблема наблюдается и при подключении других клиентов, в том числе и виндовых.
У сервера
# smbd -V Version 3.5.6
Где может быть засада?
==================== Решение ========================
Явно прописать в smb.conf
passdb backend = smbpasswd
Ибо
-- Christian Perrier <bubulle@debian.org> Thu, 12 May 2011 19:51:52 +0200
samba (2:3.4.0-1) unstable; urgency=low
* Default passdb backend changed in samba 3.4.0 and above
Beginning with samba 3.4.0, the default setting for "passdb
backend" changed from "smbpasswd" to "tdbsam".
If your smb.conf file does not have an explicit mention of
"passdb backend" when upgrading from pre-3.4.0 versions of
samba, it is likely that users will no longer be able to
authenticate.
As a consequence of all this, if you're upgrading from lenny
and have no setting of "passdb backend" in smb.conf, you MUST
add "passdb backend = smbpasswd" in order to keep your samba
server's behaviour.
As Debian packages of samba explicitly set "passdb backend = tdbsam"
by default since etch, very few users should need to modify their
settings.
-- Christian Perrier <bubulle@debian.org> Tue, 07 Jul 2009 20:42:19 +0200