Commit Graph

19 Commits

Author SHA1 Message Date
Mario Fetka
186630753f nwserv: escape remaining protocol names in debug logs
All checks were successful
Source release / source-package (push) Successful in 45s
Use the bounded printable formatter for two remaining debug paths that can
log protocol-derived byte fields directly.

The SAP route suppression log can print SAP-derived server names, including
non-printable bytes advertised by newer NetWare service types.  The namespace
search diagnostic can also contain DOS wildcard bytes such as 0xff padding.

Format both fields through visable_data() so diagnostics stay readable and do
not emit raw control or high-bit bytes.

This is logging-only and does not change SAP, routing, or namespace behavior.
2026-05-29 22:22:10 +02:00
Mario Fetka
98630eede8 namspace: format build_base NW_HPATH debug output safely
All checks were successful
Source release / source-package (push) Successful in 45s
Stop logging the build_base NW_HPATH component buffer as a raw C string.

The path buffer is length-prefixed and not NUL-terminated. Printing it with %s
can over-read into following packet or process memory and pollute unrelated
client/test output, for example ZIP output appearing inside MAPDEBUG lines.

Use the safe NW_HPATH component formatter for the build_base ENTER log line as
well as individual component debug output.

No protocol behavior change.
2026-05-29 14:54:56 +02:00
Mario Fetka
519ee500a0 namspace: format NW_HPATH debug output safely
All checks were successful
Source release / source-package (push) Successful in 48s
Stop logging NW_HPATH path component buffers with %s in MAPDEBUG output.

The namespace path buffer is not a NUL-terminated C string. It contains a list
of length-prefixed components, so printing it directly can over-read into
following packet or process memory and pollute unrelated client/test output.

Add small debug formatters for complete NW_HPATH component lists and individual
components, and use them in build_base/add_hpath_to_nwpath debug messages.

No protocol behavior change.
2026-05-29 14:41:19 +02:00
Mario Fetka
12b9106732 Debug MAP fix
All checks were successful
Source release / source-package (push) Successful in 36s
2026-05-26 17:38:22 +02:00
Mario Fetka
52d6d76c34 Debug MAP
All checks were successful
Source release / source-package (push) Successful in 37s
2026-05-26 17:34:52 +02:00
Mario Fetka
2bc211cd4a Rename parent rights fix incremental Debug
All checks were successful
Source release / source-package (push) Successful in 37s
2026-05-26 15:10:00 +02:00
Mario Fetka
c1f4d74e3b Rename parent rights fix incremental
All checks were successful
Source release / source-package (push) Successful in 37s
2026-05-26 14:55:34 +02:00
Mario Fetka
181c20620c Fix rename trustee rights and invalidate trustee cache
All checks were successful
Source release / source-package (push) Successful in 39s
Align rename permission checks with NetWare trustee semantics. A same-directory
rename should be controlled by the Modify right instead of requiring a broader
R/W/M combination. For moves to another parent directory, require Create rights
on the destination parent.

Also invalidate the trustee rights cache after adding or deleting trustee
assignments so newly granted rights are visible immediately to subsequent
operations.

This fixes the MARIO trustee test where rename failed with R/W/M/F and even
R/W/C/E/M/F, while the same operation succeeded only with the broader all-rights
set.
2026-05-26 14:29:51 +02:00
Mario Fetka
3bf16d1e42 NCP22/25 modifierID
All checks were successful
Source release / source-package (push) Successful in 36s
2026-05-25 22:46:37 +02:00
Mario Fetka
830e765632 NCP22/25 Create-Date/Create-Time/Creator-ID über xattr speichern buildfix
All checks were successful
Source release / source-package (push) Successful in 36s
2026-05-25 22:22:25 +02:00
Mario Fetka
cc144f60d0 NCP22/25 Create-Date/Create-Time/Creator-ID über xattr speichern
All checks were successful
Source release / source-package (push) Successful in 35s
2026-05-25 22:13:48 +02:00
Mario Fetka
b031402933 Archive-xattr-Patch
All checks were successful
Source release / source-package (push) Successful in 41s
2026-05-25 21:07:46 +02:00
Mario Fetka
d9f7d226b9 fist implementation NCP23/F4 / F3
All checks were successful
Source release / source-package (push) Successful in 38s
2026-05-25 15:48:45 +02:00
Mario Fetka
d5b07b4ea0 NCP87/29 rights-only Patch
All checks were successful
Source release / source-package (push) Successful in 44s
2026-05-25 12:57:50 +02:00
Mario Fetka
e817405919 feat: add DOS long-name alias support 2026-05-24 00:50:32 +02:00
Mario Fetka
176a54367b Clean up ftrustee, namspace and unxlog warning paths 2026-04-20 23:39:42 +02:00
Mario Fetka
35d12ee7aa Update to pld patches and integrate koan patch 2013-11-05 11:54:31 +01:00
Mario Fetka
be2d60525a update patches 2011-11-14 19:58:21 +01:00
Mario Fetka
0fbc9baf41 Restructure for camke build 2011-11-13 17:37:22 +01:00