-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SMB-with OC-login not working in 8.10 #17480
Comments
ref #13407 |
@icewind1991 your thing? |
Duplicate of #17499 ? |
Today I tested the authentication with smb-oc on our backup-server. When you join the machine with the ads domain and configure the system to also use winbind, the smbclient command, which comes from owncloud, also works without adding the domain to the user. I followed this tutorial to bind the machine to our ads domain: http://wiki.ubuntuusers.de/samba_winbind The smbclient command keeps running a while after the first connect to the shares but stops after about a minute. The performace in owncloud browsing external smb shares is great. There must be a performance improvement in 8.1 for external_files. I keep testing for permance issues and if it's running well I also join our live server to the ads domain. |
I Also joined our live Server to our ads domain. The Users login to our owncloud instance, connecting with there OC-Login, can see the external shares without changeing domain or chanching code in a script. The Shares are mapped automatic after login. The Point is: Since 8.10 the smbclient process eats about 70% CPU performance with only one user logged in. There is one process starting for each Share.
The process stops when the User log out. Here is the owncloud.log
|
@htwsaaraub see #17499 (comment) - could you see if your issue is the same and provide the test results @icewind1991 is looking for? tnx |
Configuration read from /home/sven.schneider/SMB/tests/phpunit.xml SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS 63 / 300 ( 21%) Time: 34.2 seconds, Memory: 9.25Mb There was 1 failure:
/home/sven.schneider/SMB/tests/AbstractShare.php:334 FAILURES! |
@icewind1991 see above. that what you were looking for? |
Those results look good @htwsaaraub what is the config used (excluding password ofc) |
|
Today I installed the latest libsmbclient from github on our Testserver. |
Can someone confirm owncloud 8.0X with installed and activated libsmbclient from github working fine? |
@icewind1991 fixed? need more info? THX |
Hi,
System Information: Debian 8.1
uname -a
Linux aub-cloud 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64 GNU/Linux
We are using owncloud as a frontend for our internal Windows Servers. When a user logs in, owncloud automaticaly connect the Shares set in the admin panel with the OC-Login. The users authenticate with there Microsoft Active-Directory Account.
Till Version 8.04 I could do this by adding our domain in the Script smb_oc.php
Till 8.04 the App files_external use smb4php to connect to smb shares.
In owncloud 8.1 the App files_external now use icewind to connect to smb shares.
I tried to edit the smb_oc in the same way.
Login with this script gives heavy load on the apache process and many processes from smbclient
in Top for each mounted share one process is displayed.
Can't someone add a input field "domain" to the admin panel for external_files and add some stuff to the scripts? That would be great.
The text was updated successfully, but these errors were encountered: