iesmatauw / win-sshfs

Automatically exported from code.google.com/p/win-sshfs
0 stars 0 forks source link

Conflict over access to private key when mounting multiple drives at startup #5

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Configure 2 drives to mount at login
2. Authenticate both via private/public key

What is the expected output? What do you see instead?
Expect both drives to mount (they both do manually). Instead, one drive mounts 
and the other complains about a conflict in resources over the local private 
key.

What version of the product are you using?

win-sshfs: 0.0.1.4 (plus dokan 0.6.0)
Client OS: Windows 7
Server OS: linux 2.6.26 (debian lenny I believe)
Ssh server: openssh 5.1p1 openssl 0.9.8g

Original issue reported on code.google.com by tpdow...@gmail.com on 15 Mar 2012 at 4:40

GoogleCodeExporter commented 9 years ago
I should have added that this conflict does not occur 100% of the time but it 
isn't rare either. Guesstimate: 50%.

Original comment by tpdow...@gmail.com on 16 Mar 2012 at 5:19

GoogleCodeExporter commented 9 years ago
Sorry for the late response. I have attached a fix. Try it and let me know does 
the problem persist.

Original comment by mladenov...@gmail.com on 18 Mar 2012 at 4:33

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
I was having this problem too and this patch fixed it for me.

Original comment by Zev.Gold...@gmail.com on 20 Mar 2012 at 12:47

GoogleCodeExporter commented 9 years ago
Thanks. It's 1 for 1 so far. Assume it remains at 100% if you do not hear from 
me again. Thanks.

Original comment by tpdow...@gmail.com on 20 Mar 2012 at 4:48

GoogleCodeExporter commented 9 years ago
Upon login today, the 2nd of 2 drives to mount returned with the error 
"something is wrong the dokan driver". (I wasn't able to cut and paste so the 
error string may differ slightly from the above.

The 2nd drive did not mount. The 1st drive claimed to be mounted in win-sshfs, 
but I could not open the network mount through Windows explorer.

A manual unmount/remount of each drive was successful (can access in Explorer), 
but the win-sshfs GUI still reports the 2nd drive as unmounted.

Original comment by tpdow...@gmail.com on 26 Mar 2012 at 3:17

GoogleCodeExporter commented 9 years ago
As the message says something is wrong with Dokan driver. The code seems to 
pass all user level checks, but fails at driver level.
Not sure if I can reproduce it or even fix it, but I'll take a look at Dokan 
source to se what might cause it. Thanks for bug reports.

Original comment by mladenov...@gmail.com on 26 Mar 2012 at 6:26

GoogleCodeExporter commented 9 years ago

Original comment by mladenov...@gmail.com on 28 May 2012 at 5:36