Commit graph

14 commits

Author SHA1 Message Date
Melvin Suter
b1032c5bb7
Fixed Login error based on bad format in command
Signed-off-by: Melvin Suter <github@damon.ch>
2019-10-05 18:27:57 +02:00
Jonas Sulzer
db5ab31ee4
change deprecated logging method
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-01-04 23:55:11 +01:00
Jonas Sulzer
a67e3e08e0
changing discouraged operators
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
2019-01-04 23:55:02 +01:00
Lukas Reschke
4492caa0e4 Double verify the SMB response
In case anonymous auth is allowed this can otherwise lead to unexpected actions.
2016-09-09 10:59:08 +02:00
Vincent Petry
b88c6d4b7a Escape host argument in SMB user backend 2016-07-04 10:20:14 +02:00
Robin Appelman
cf8ddabaab fix smb command for smb user backend 2015-05-12 14:33:15 +02:00
Felix Bartels
7cd539aa73 don't go to $retval != 0 in case of NT_STATUS_BAD_NETWORK_NAME
NT_STATUS_BAD_NETWORK_NAME is only a minor error which should not prevent login
2015-05-10 11:40:46 +02:00
Christian Weiske
fa6b4c1144 Fix coding style according to owncloud/build/phpcs.xml 2014-02-11 21:05:37 +01:00
Christian Weiske
350afe2d27 Fix code according to blizzz' notes 2014-02-11 21:05:37 +01:00
Christian Weiske
690a579a26 Implement request #301: Create users when using external auth login
After a successful login with imap, smb or ftp, the corresponding
user is created in an own database table.
This is needed to make e.g. sharing files with this users work.

The table may be used by several different external user authentication
services.

See the discussion in https://github.com/owncloud/apps/pull/1579
for details on the implementation design.
2014-02-11 21:05:37 +01:00
Christian Weiske
cd05354aaf user_external: Check if extensions are enabled before using them
This patch checks if the relevant functionality is actually available
before using it for authentication:

1. check if function imap_open() exists before using it
2. check if smbclient executable exists during smb auth
3. check if ftp/ftps stream wrappers are registered before
   using them for auth

This fixes a crash (white page) that happens when using IMAP authentication
and the IMAP extension is not installed.
2014-01-17 21:31:39 +01:00
Bart Visscher
7c45f55f15 Whitespace cleanup 2012-10-14 21:15:47 +02:00
Thomas Mueller
ccc1960de7 adding space between) and { 2012-09-07 15:21:03 +02:00
Robin Appelman
8500f30dfb smb user backend 2012-07-19 22:42:26 +02:00