38leinaD / tango

SMB/CIFS Filesharing Client (Windows Filesharing/SAMBA) for iOS
http://38leinad.wordpress.com/
Other
134 stars 53 forks source link

Cannot log in XP machine share drive #6

Open ntquy99 opened 13 years ago

ntquy99 commented 13 years ago

Hi Daniel,

I'm very interested and curious with your lib. Thank you for the lib.

The issue I'm facing is I cannot log into a XP machine. I got the same error code as the issue https://github.com/38leinaD/tango/issues/5. . It looks like the lib supported XP already but I don't know why it doesn't work for me. I tested the lib with an iPhone emulator.

Do you have any idea to solve this problem?

Thanks again for the good lib.

ntquy99

38leinaD commented 13 years ago

Is it exactly the same error? Espacially, is the last line the same: _tango_evaluate_response_header(): NT_STATUS Level is 0003 with value 006d.

If possible, please post the full std-out log.

Cheers, Daniel

ntquy99 commented 13 years ago

Hi Daniel, This is the full log which we're encountering:

_tango_send(): Bytes to send (including nbt-header!): 51 _tango_send(): Sent 51 bytes. _tango_send_and_receive(): Received 4 bytes. _tango_send_and_receive(): Received 123 bytes. _tango_NEGOTIATE_PROTOCOL(): Received response _tango_NEGOTIATE_PROTOCOL(): Server Capabilities 0x1e3fc _tango_NEGOTIATE_PROTOCOL(): - CAP_LARGE_READX _tango_send(): Bytes to send (including nbt-header!): 109 _tango_send(): Sent 109 bytes. _tango_send_and_receive(): Received 4 bytes. _tango_send_and_receive(): Received 35 bytes. _tango_SESSION_SETUP(): Received response _tango_evaluate_response_header(): NT_STATUS Level is 0003 with value 006d.

ntquy99 commented 13 years ago

Hi Daniel - this is the full log. Do you have any idea on this log?

RoohBear commented 12 years ago

Hello, I'm also having this problem. I'm trying to connect to a machine running Windows 7. Here's my output:

_tango_send(): Bytes to send (including nbt-header!): 51 _tango_send(): Sent 51 bytes. _tango_send_and_receive(): Received 4 bytes. _tango_send_and_receive(): Received 123 bytes. _tango_NEGOTIATE_PROTOCOL(): Received response _tango_NEGOTIATE_PROTOCOL(): Server Capabilities 0x1e3fc _tango_NEGOTIATE_PROTOCOL(): - CAP_LARGE_READX _tango_send(): Bytes to send (including nbt-header!): 106 _tango_send(): Sent 106 bytes. _tango_send_and_receive(): Received 4 bytes. _tango_send_and_receive(): Received 35 bytes. _tango_SESSION_SETUP(): Received response _tango_evaluate_response_header(): NT_STATUS Level is 0003 with value 006d. _tango_send(): Bytes to send (including nbt-header!): 87 _tango_send(): Sent 87 bytes. _tango_send_and_receive(): Received 4 bytes. _tango_send_and_receive(): Received 35 bytes. _tango_TRANS2_FIND_FIRST2(): Received response _tango_TRANS2_FIND_FIRST2(): Parameters-block length ==0. File count: -1

I'm willing to put lots of time into debugging this if you need it...

38leinaD commented 12 years ago

Hi RohBear,

I'm willing to put lots of time into debugging this if you need it... Thanks for your support. For Windows 7 the problem is already known to me: The required security mechanism is not implemented. I only have implemented the LM2 challenge-response that is used in WinXP by default. Win7 has switched to a more secure mechanism and does not allow the old mechanism anymore.

I am not sure when I will have the time to implement this. The main problem is that I don't have a Win7 system to play with…

cheers, Daniel

On Nov 13, 2011, at 8:25 PM, RoohBear wrote:

Hello, I'm also having this problem. I'm trying to connect to a machine running Windows 7. Here's my output:

_tango_send(): Bytes to send (including nbt-header!): 51 _tango_send(): Sent 51 bytes. _tango_send_and_receive(): Received 4 bytes. _tango_send_and_receive(): Received 123 bytes. _tango_NEGOTIATE_PROTOCOL(): Received response _tango_NEGOTIATE_PROTOCOL(): Server Capabilities 0x1e3fc _tango_NEGOTIATE_PROTOCOL(): - CAP_LARGE_READX _tango_send(): Bytes to send (including nbt-header!): 106 _tango_send(): Sent 106 bytes. _tango_send_and_receive(): Received 4 bytes. _tango_send_and_receive(): Received 35 bytes. _tango_SESSION_SETUP(): Received response _tango_evaluate_response_header(): NT_STATUS Level is 0003 with value 006d. _tango_send(): Bytes to send (including nbt-header!): 87 _tango_send(): Sent 87 bytes. _tango_send_and_receive(): Received 4 bytes. _tango_send_and_receive(): Received 35 bytes. _tango_TRANS2_FIND_FIRST2(): Received response _tango_TRANS2_FIND_FIRST2(): Parameters-block length ==0. File count: -1

I'm willing to put lots of time into debugging this if you need it...


Reply to this email directly or view it on GitHub: https://github.com/38leinaD/tango/issues/6#issuecomment-2723839

MynaBay commented 9 years ago

I'm seeing the same error trying to connect to a Windows 8. I'm sure it's the same problem. Do you know of any SMB client that works with Windows 8/10?