Files
mars-nwe/src
Mario Fetka 3f2493ef25
All checks were successful
Source release / source-package (push) Successful in 45s
nwconn: implement AFP Get Entry ID From Name
Wire NCP 0x23/0x04 AFP Get Entry ID From Name to the same conservative path-backed Entry ID lookup used by the existing AFP path-name probe.

The WebSDK documents NCP 0x2222/35/04 as taking a volume number, an AFP base Entry ID, and an AFP path string that modifies that base, and returning the AFP Entry ID for the given path. The SDK headers expose the same call as NWAFPGetEntryIDFromName().

MARS-NWE does not yet maintain persistent CNID/base-ID lookup state, so support the verified SYS:-style path-backed subset first: require the optional libatalk backend, resolve the supplied path through the existing mars_nwe path machinery, and return the stored libatalk Entry ID when available or the existing stat-derived fallback Entry ID otherwise. Entry-ID-only lookup remains invalid path until persistent CNID/AppleDouble mapping is implemented.

Extend the Linux AFP Entry ID smoke test with --from-name so the new endpoint can be exercised without an AppleTalk client while keeping the existing 0x0c test path unchanged.

This adds the documented read-only Entry ID query path only; it does not add persistent AFP base-ID lookup or broader Mac namespace semantics.
2026-05-30 08:42:17 +02:00
..
2011-11-13 17:37:22 +01:00
2011-11-13 17:37:22 +01:00
2011-11-13 17:37:22 +01:00
2011-11-13 17:37:22 +01:00
2026-05-29 21:51:57 +02:00
2026-05-25 22:46:37 +02:00
2011-11-13 17:37:22 +01:00
2011-11-14 19:58:21 +01:00
2011-11-13 17:37:22 +01:00
2011-11-13 17:37:22 +01:00
2011-11-13 17:37:22 +01:00
2026-05-29 21:51:57 +02:00
2011-11-13 17:37:22 +01:00