Commit graph

423 commits

Author SHA1 Message Date
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
8d936e04ef update rmdir test 2021-10-28 18:11:04 +02:00
02e848852f update wrong auth test 2021-10-28 18:02:34 +02:00
e4f0be4edb make tests a bit more accepting of older server behavior 2021-10-28 17:46:01 +02:00
78d5468e32 skip acl tests if not installed 2021-10-28 16:55:00 +02:00
b54c9f849b smb version matrix 2021-10-28 16:47:44 +02:00
89b299c704 retry phpunit if it gets stuck 2021-10-27 15:35:43 +02:00
cce108848c psalm fixes 2021-10-27 15:30:54 +02:00
ba26d98b46 try to make change test more reliable 2021-10-27 14:53:04 +02:00
7abcd0c985 test against multiple server versions 2021-10-27 14:38:02 +02:00
fac3118fdf switch smb container 2021-10-27 14:30:05 +02:00
9dba42ab2a fix new psalm issues v3.4.1 2021-04-19 15:53:08 +02:00
5c6a422076 better test for StringBuffer 2021-04-19 15:37:08 +02:00
6776467542
Merge pull request #105 from danielnachtrub/bugfix/StringBufferRead
Fix incorrect read from StringBuffer with starting offset > 0
2021-04-19 13:36:20 +00:00
Daniel Nachtrub
08c0fefe25 Fix incorrect read from StringBuffer with starting offset > 0 2021-04-18 19:59:59 +02:00
b5c6921f2e minor type improvements v3.4.0 2021-03-10 15:00:37 +01:00
144439d61f minor native stream cleanup 2021-03-10 14:53:17 +01:00
d218982775 extend tests a bit 2021-03-10 14:53:02 +01:00
037efdcfb5 fix recursion 2021-03-09 21:13:12 +01:00
9b1c0eff3d fix listShares error handling 2021-03-09 20:25:39 +01:00
84fa890ea7 all the types 2021-03-09 20:18:25 +01:00
515b42586e type fixes 2021-03-09 18:21:40 +01:00
1e7e500b64 workgroup can be null 2021-03-09 18:16:44 +01:00
78b0321887 psalm ci 2021-03-09 18:14:29 +01:00
7cb4e41f8a type fixes 2021-03-09 18:10:27 +01:00
e9f6d00a93 more type hints 2021-03-09 18:01:42 +01:00
767f6b3f6f use write_time instead of change_time when using libsmbclient
this better matches the behavior of the smbclient backend and the previous libsmbclient behavior
2021-03-09 17:19:28 +01:00
b623cc1d7f fix handling of 'Everyone' acl when using native backend 2021-03-05 16:13:37 +01:00