Clearly logged passwords
Expected behaviour
Passwords shouldn't get logged and if there is no other way then probably not clearly.
Actual behaviour
Passwords getting logged clearly in owncloud.log.
Steps to reproduce
- SMB Storage mounted
- Tried to create a file on an External SMB Storage
Server configuration
Operating system: openSUSE 12.1 Web server: Apache2 Database: SQLite PHP version: 5.X ownCloud version: 5.0.6
Client configuration
Browser: Firefox / Chrome Operating system: Windows 7 Professional (x86)
Logs
Web server error log
Warning PHP stat(): stat failed for smb://USERNAME:PASSWORD@COMPUTERNAME/SMB/Testfile at /srv/www/htdocs/owncloud/apps/files_external/lib/smb.php#65
Warning PHP filetype(): Lstat failed for smb://USERNAME:PASSWORD@COMPUTERNAME/SMB/Testfile at /srv/www/htdocs/owncloud/apps/files_external/lib/streamwrapper.php#33
ownCloud log (data/owncloud.log)
Doesn't get any entry for this issue.
This is from 3rdparty: https://github.com/owncloud/3rdparty/blob/master/smb4php/smb.php
Check the trigger_error calls, would you like to do a pull request to change this?
Yeah of course. I think this would be great. But I can't open a pull request. Do you have to create a pull? :)
Github has everything documented: https://help.github.com/
Ohh I think I got "pull request" wrong :P I guess now it means something like If I wanna solve it and show it in hope that you'll edit this in OC? ^^
https://help.github.com/articles/using-pull-requests
First, thanks for the link. I understood. But actual I dont have the time to work on it :/ My PHP skilsl aren't that good but I think this shouldn't be the problem. But the time ... therefore I think I shouldn't open a pull request :/
I’m closing this issue because it has been inactive for a few months. This probably means that the issue is not reproducible or it has been fixed in a newer version.
Please reopen if you still encounter this issue with the latest stable version (currently ownCloud 5.0.9) and then please use the issue template. You an also contribute directly by providing a patch – see the developer manual. :)
Thank you!
Hi,
I can see too my passwords in logs with 5.0.11.