Commit graph

400 commits

Author SHA1 Message Date
5362b670f8 fix php-smbclient install 2024-11-08 18:47:10 +01:00
Joas Schilling
8a6c8cd17c
feat: Add PHP 8.4 support
Signed-off-by: Joas Schilling <coding@schilljs.com>
2024-11-08 12:06:31 +01:00
35b33f0a72
Merge pull request #130 from pupaxxo/patch-1
Reset pointer to the beginning of authentication file
2024-11-05 16:34:05 +01:00
Andrea Ruggiero
a4fb6b5172
Reset pointer to the beginning of authentication file 2024-10-10 21:59:17 +02:00
15479bda21
Merge pull request #122 from come-nc/patch-1
Use elseif, not else if
2024-06-20 14:11:11 +02:00
faf50566fb
Merge pull request #128 from AndyScherzinger/chore/noid/reuseCompliance
Add SPDX headers to be REUSE compliant
2024-06-06 17:17:25 +02:00
Andy Scherzinger
2028718a86
ci: Add REUSE compliance check
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-02 20:28:50 +02:00
Andy Scherzinger
8acffcd855
chore: Add SPDX header
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2024-06-02 20:28:14 +02:00
8416cf5e9a
Merge pull request #127 from ram-fabian-heinrich/patch-1
IShare.php - Typo in PHPDoc for get / put: remove file -> remote file
2024-04-08 13:07:21 +02:00
Fabian Heinrich
75bafe81c1
Update IShare.php 2024-04-07 17:33:09 +02:00
8531ffd1cb
Merge pull request #125 from icewind1991/native-stat
use stat instead of attributes
2023-10-20 11:13:31 +02:00
89082b2b29 use stat instead of attributes 2023-10-19 17:20:07 +02:00
e0e86b1664 ci bumps v3.6.0 2023-08-10 15:17:39 +02:00
9d57f5aad9 fixes 2023-08-10 15:10:24 +02:00
abfd1eb360 allow unsetting kerb ticket 2023-08-10 14:37:56 +02:00
530235b2d2 update README 2023-08-09 17:17:32 +02:00
ae414e9bc5 rename sso test script 2023-08-09 17:08:18 +02:00
a103d9d79e allow saving/loading of kerberos tickets 2023-08-09 15:47:30 +02:00
f944fae8b1 update smbclient version testing matrix 2023-04-04 13:42:54 +02:00
Côme Chilliet
72e369f743
Use elseif, not else if
Small fix
2022-12-20 10:31:20 +01:00
76995aa11c set timezone for smbclient and parser to UTC v3.5.4 2022-05-30 17:18:19 +02:00
3e25d31161 test lowercase mode strings v3.5.3 2022-05-27 17:00:33 +02:00
49b1e989fe handle lowercase modes 2022-05-25 17:11:14 +02:00
f8cbc6081b add fallback for when binary is not in path 2022-05-25 17:11:03 +02:00
84356e5785 distinguish unknown error from stderr 2022-05-20 16:26:21 +02:00
0a425bd21a
Merge pull request #111 from blizzz/fix/noid/constrained-delegation v3.5.2
fix check with krb constrained delegation
2022-01-20 14:51:51 +00:00
baaded2d3c no fast fail for psalm 2022-01-20 14:44:50 +01:00
4c8e50f141 psalm fixes 2022-01-20 14:41:23 +01:00
3a87f21b83 re-add option for passing ticket by memory and copying the ticket to a new temp location 2022-01-20 14:36:37 +01:00
Arthur Schiwon
49b33e0854
removed unused member 2022-01-17 16:02:04 +01:00
Arthur Schiwon
fdf1051bd6
fix ticket check, remove unnecessary(?) code
provided by downstream
2022-01-17 16:01:29 +01:00
Arthur Schiwon
ab262dd706
suppress exceptions with extra krb auth options
- unsure yet whether this is really needed

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-01-06 09:53:30 +01:00
Sebastian Lederer
c337508282
fix check ticket for constrained delegation
for the ticket is present in a different format using constrained
delegation the isValid() test does not work properly.

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-01-06 09:51:23 +01:00
c1ce4fbb2f only intialize kerberos apache auth when used v3.5.1
this allows checking if there is a valid ticket without throwing exceptions
2021-11-04 15:28:18 +01:00
9132f32aa0
Merge pull request #108 from icewind1991/disable-readline v3.5.0
fix support for smbclient compiled without readline support
2021-11-03 17:40:06 +00:00
9db846f473 better wrong username test again 2021-11-03 18:30:04 +01:00
56da52bc1b basic unit tests in alpine 2021-11-03 18:21:01 +01:00
a8dc9ca75b fix support for smbclient compiled without readline support 2021-11-03 18:08:16 +01:00
9f6b8f1c3f readme update for kerberos 2021-11-02 17:14:25 +01:00
306ec135c8 code style 2021-11-02 16:59:22 +01:00
e5340170a8 kerberos apache auth smoke test 2021-11-02 15:33:55 +01:00
db292415c2 add note when trying to run apache example from cli 2021-11-01 16:59:04 +01:00
93b1f14b5d code style 2021-11-01 16:28:18 +01:00
C1-10P
e8df1df9a2 add class KerberosApacheAuth and example code 2021-11-01 16:27:26 +01:00
C1-10P
aa542ff141 Update NativeState.php
sync garbage collection cycle of KerberosAuth and NativeState
2021-11-01 16:26:30 +01:00
C1-10P
c0ae9aa35f Update KerberosAuth.php
enable reuse of apache ticket cache
2021-11-01 16:25:51 +01:00
c714475bf1 no codecov comments 2021-10-28 18:55:34 +02:00
a9a5698cac
Merge pull request #106 from Rid/patch-1
Fix mistaking socket files for directories
2021-10-28 16:42:56 +00:00
Grant Millar
6066f7ed66 Remove redundant cast to bool 2021-10-28 18:34:42 +02:00
Grant Millar
5291cf842d Fix mistaking socket files for directories
According to https://www.php.net/manual/en/function.stat.php sockets 1100000000000000 and directories 0100000000000000 share a bit (0x4000), we just make sure that the extra socket bit (0x8000) is not set when deciding if it's a directory or not.
2021-10-28 18:34:42 +02:00