После обновления самбы до samba (3.0.27a-2) возникла проблема с аутентификацией клиентов с Win9x/ME
в /usr/share/doc/samba/NEWS.Debian.gz написано следующие:
samba (3.0.27a-2) unstable; urgency=low
* Weak authentication methods are disabled by default
Beginning with this version, plaintext authentication is disabled for
clients and lanman authentication is disabled for both clients and
servers. Lanman authentication is not needed for Windows
NT/2000/XP/Vista, Mac OS X or Samba, but if you still have Windows
95/98/ME clients (or servers) you may need to set lanman auth (or client
lanman auth) to yes in your smb.conf.
The "lanman auth = no" setting will also cause lanman password hashes to
be deleted from smbpasswd and prevent new ones from being written, so
that these can't be subjected to brute-force password attacks. This
means that re-enabling lanman auth after it has been disabled is more
difficult; it is therefore advisable that you re-enable the option as
soon as possible if you think you will need to support Win9x clients.
Client support for plaintext passwords is not needed for recent Windows
servers, and in fact this behavior change makes the Samba client behave
in a manner consistent with all Windows clients later than Windows 98.
However, if you need to connect to a Samba server that does not have
encrypted password support enabled, or to another server that does not
support NTLM authentication, you will need to set
"client plaintext auth = yes" and "client lanman auth = yes" in smb.conf.
В связи со всем вышеуказанным делаем следующие:добавляем в
/etc/samba/smb.conflanman auth = yesinvoke-rc.d samba restart pdbedit -w test -d0test:1008:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XX:C0BD24BCE14CB026747A235C7315EA1D:[U]:L
CT-49B90820:
smbpasswd -x testsmbpasswd -a testNew SMB password:
Retype new SMB password:
Added user test.
smbpasswd -e testpdbedit -w test -d0VC04:1008:9E89C3D3A782E88325AD3B83FA6627
C7:C0BD24BCE14CB026747A235C7315EA1D:[U ]:LCT-49BA5D60: