smbd falha após o logout ou falha na tentativa de login

2

Estou executando o smbd 3.6.7 no Arch. Ele funciona bem, exceto que ele falha quando ocorre uma falha nas tentativas de login e após o logoff.

Aqui está um exemplo usando a senha errada. rpcclient é executado em um terminal e smbd no outro. O processo smbd termina quando rpcclient envia a senha errada.

$ rpcclient -L localhost -Utim
Enter tim's password: 
Cannot connect to server.  Error was NT_STATUS_LOGON_FAILURE
$

//

$ sudo smbd -i -d 2
smbd version 3.6.7 started.
Copyright Andrew Tridgell and the Samba Team 1992-2011
uid=0 gid=0 euid=0 egid=0
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Registered MSG_REQ_POOL_USAGE
Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[media]"
Processing section "[karin-backup]"
added interface eth0 ip=fe80::226:2dff:fe78:ac61%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff::
added interface eth0 ip=192.168.1.5 bcast=192.168.1.255 netmask=255.255.255.0
waiting for connections
check_ntlm_password:  Authentication for user [tim] -> [tim] FAILED with error NT_STATUS_WRONG_PASSWORD
$

Exemplo com a senha correta:

$ rpcclient -L localhost -Utim
Enter tim's password: 
rpcclient $> getusername
Account Name: tim, Authority Name: JANA
rpcclient $> quit
$ 

//

$ sudo smbd -i -d 2
smbd version 3.6.7 started.
...
waiting for connections
check_ntlm_password:  authentication for user [tim] -> [tim] -> [tim] succeeded
$ 

Ele também trava se eu tentar me conectar a um compartilhamento do Windows (XP) com a senha errada. Com a senha certa, eu posso acessar o compartilhamento.

Qual poderia ser o problema?

Aqui está o meu smb.conf: link

    
por Tim 02.09.2012 / 10:36

0 respostas

Tags