Opened 9 years ago

Closed 7 years ago

#251 closed defect (lack of feedback)

Failure to connect - user id not sent

Reported by: rdunkle Owned by:
Priority: Feedback Pending Milestone: Samba Client 2.3.x
Component: Samba Client Version: Client 2.2.x
Keywords: Cc:

Description

Problem with Samba EVFSGUI I am trying to connect to a Win 8.1 share and a Samba share. I notice I am unable to connect to either one. A quick check with Wireshark shows the User ID is not being sent to the server. --snip --- Negotiate Protocol Request Negotiate Protocol Response Session Setup AndX Request, User: anonymous Session Setup AndX Response Tree Connect AndX Request, Path:
SKY2\AA Tree Connect AndX Response, Error: STATUS_ACCESS_DENIED --snip --- [c:\]evfscli mount smbfs h:\ ;WORKGROUP=HOME;SERVER=SKY2;SHARE=AA;USER=RICHD;PAS SWORD=XXXX;EASUPPORTED=0 W EVC0052: [smbfs] resource was not mounted to h:\ The specified drive does not exist or is not a virtual drive.

Here are the version numbers: Samba Client Versions: File system EVFS Version 1.002 Plugin file C:\ECS\DLL\NDPSMB.DLL Commandline utilities Version 3.3.16-eCS 1.1.2-760 EVFSGUIVersion 2.5.RC4-[2013-04-09]

Attachments (4)

LOG.SMB (31.2 KB) - added by rdunkle 9 years ago.
LOG.NDP (2.6 KB) - added by rdunkle 9 years ago.
VERSIONS.TXT (208 bytes) - added by rdunkle 9 years ago.
log.smbd_ecs_client.gz (40.2 KB) - added by rdunkle 9 years ago.
samba smbd log

Download all attachments as: .zip

Change History (16)

comment:1 Changed 9 years ago by rdunkle

I have found I am able to connect to Windows XP shares. The EVFSGUI works as normal. I am unable to connect to Samba 4.1 or Windows 8.1 shares.

comment:2 Changed 9 years ago by Silvan Scherrer

Component: UnknownSamba Client
Priority: majorFeedback Pending
Version: Server 3.6.xClient 2.2.x

your Wireshark analysis can't be right, as samba always sends first user/pwd combination, and if this doesn't succeed it tries anonymous access.

As written in the client docu, you need to create a client log and attach it here. And which version does ndpsmb.dll have? bldlevel ndpsmb.dll

Changed 9 years ago by rdunkle

Attachment: LOG.SMB added

Changed 9 years ago by rdunkle

Attachment: LOG.NDP added

Changed 9 years ago by rdunkle

Attachment: VERSIONS.TXT added

comment:3 Changed 9 years ago by rdunkle

hostnames: sky2 - win8.1 sky4 - win7 smp5 - samba 4.1 (FreeBSD) I think I have attached the logs you need.

comment:4 Changed 9 years ago by Silvan Scherrer

Please see if you get also logs from the other side, as the client shows that the login fails. and also update to latest client. you use 2.1.3 while 2.1.5 is latest. You could also try a 3.5 based client.

comment:5 Changed 9 years ago by rdunkle

I installed ndpsmb-2_2_0-Beta4-20140226.wpi. Not sure if that is what you refer to as latest client. I see the same login problem.

comment:6 Changed 9 years ago by Silvan Scherrer

2015/04/02 16:59:22.36: 9 2: checkMountResource in tid#2
2015/04/02 16:59:22.36: 1 2: Connecting to \\richd:*********@HOME:SKY2\aa. Master WORKGROUP:1
2015/04/02 16:59:22.39: 4 2:  session request ok
2015/04/02 16:59:22.39: 4 2:  session setuping for <richd>/<********> in <HOME> 00000005 00000003 8001e3fc
2015/04/02 16:59:22.75: 4 2: richd/******** login failed
2015/04/02 16:59:22.76: 4 2:  session setup ok. Sending tconx <aa> <********>
2015/04/02 16:59:22.76: 9 2: NdpMountResource rc=65

thats the sequence to login to SKY2:

this means:

  • that login with user/pwd failed and then he tries anonymous.
  • this anonymous login is ok, but the user then doesn't have access to the folder. rc=65

so why login doesn't work I have no idea. As stated earlier, try to get logs from the remote side.

comment:7 Changed 9 years ago by Silvan Scherrer

Milestone: Samba Client 2.3.x

Changed 9 years ago by rdunkle

Attachment: log.smbd_ecs_client.gz added

samba smbd log

comment:8 Changed 9 years ago by rdunkle

added a smbd server log where ecs client attempts connect.

comment:9 Changed 9 years ago by Paul Smedley

For the Win8 case, it's possible that Win8 is forcing the use of SMB2 or above. You need a client based on Samba 4.1 or above for this to work - or it may be possible to change registry settings and allow SMB1. https://support.microsoft.com/en-us/kb/2696547 has some tips on how to do this

Last edited 9 years ago by Paul Smedley (previous) (diff)

comment:10 Changed 9 years ago by rdunkle

On Win8 I already have SMB2 disabled. Only SMB1 enabled.

comment:11 Changed 8 years ago by Paul Smedley

Hi Rich - does this work with the Samba 4.4.x based client?

comment:12 Changed 7 years ago by Herwig Bauernfeind

Resolution: lack of feedback
Status: newclosed
Note: See TracTickets for help on using tickets.