core icon indicating copy to clipboard operation
core copied to clipboard

External Storage App: SMB CIFS / Using OC Login

Open sbelov1 opened this issue 11 years ago • 13 comments

Description: We're setting up two exactly identical CIFS shares: one being under 'SMB CIFS' and the other under 'SMB CIFS / Using OC Login'. The one under 'SMB CIFS' is working while the other one - doesn't.

image

Environment: The issue was reproduced on CentOS 6.6 and Open Suse, samba client is installed, php 5.4.34, MySQL, apache.

sbelov1 avatar Mar 18 '15 20:03 sbelov1

cc @icewind1991

MorrisJobke avatar Mar 19 '15 09:03 MorrisJobke

SMB with OC login doesn't perform a proper check when configured in the admin panel - it can't, as it doesn't have any credentials to check with. Please check if you can log in with a valid user and get SMB1 mounted properly.

RobinMcCorkell avatar Mar 19 '15 11:03 RobinMcCorkell

SMB with OC login doesn't perform a proper check when configured in the admin panel - it can't, as it doesn't have any credentials to check with. Please check if you can log in with a valid user and get SMB1 mounted properly.

Shouldn't then even the red square be omitted or just tested what is possible (can the server be reached and a handshake be made)

MorrisJobke avatar Mar 19 '15 11:03 MorrisJobke

@MorrisJobke Before the new SMB backend it did exactly that - just tested for a valid server connection. I think it might have broken...

RobinMcCorkell avatar Mar 19 '15 11:03 RobinMcCorkell

@MorrisJobke @Xenopathic Thanks for checking on this guys. Yes. It appears to be working but having a red square shown is a little misleading.

sbelov1 avatar Mar 19 '15 13:03 sbelov1

@sbelov1 which OC version is this? THX

DeepDiver1975 avatar Mar 19 '15 14:03 DeepDiver1975

@DeepDiver1975 I was able to reproduce it on OpenSuse 13.1 and CentOS 6.6.

sbelov1 avatar Mar 19 '15 14:03 sbelov1

@sbelov1 which OC version is this? THX

OC as in ownCloud - not OS as in Operating System :speak_no_evil:

DeepDiver1975 avatar Mar 19 '15 14:03 DeepDiver1975

oh, sorry. Was too preoccupied with something else there for a second :) This was tested on Community 8.0.2 and Enterprise 8.0.1.

sbelov1 avatar Mar 19 '15 15:03 sbelov1

This was tested on Community 8.0.2 and Enterprise 8.0.1.

thx - so we are talking about the old smb implementation ....

DeepDiver1975 avatar Mar 19 '15 15:03 DeepDiver1975

@DeepDiver1975 I believe @bboule was also experiencing on EE 7.0.4 if I'm not mistaking.

sbelov1 avatar Mar 19 '15 15:03 sbelov1

@Xenopathic can I ask you to double check the behavior on master, stable8 and stable7? Thanks a lot!

DeepDiver1975 avatar Mar 20 '15 12:03 DeepDiver1975

It was @LukasReschke's changes in #12523 that broke this, since the original code assumed some credentials to be available when testing in the admin section (they weren't actually used, but the class cannot be constructed without them). I have a fix for it though.

RobinMcCorkell avatar Mar 20 '15 15:03 RobinMcCorkell