38 lines
2.2 KiB
Markdown
38 lines
2.2 KiB
Markdown
# LP64 Bindery repair — 0.9.1-3
|
|
|
|
The previous upstream typedef used unsigned long for uint32. On amd64 that is
|
|
8 bytes, while Bindery keys are fixed at 4/5/6 bytes. Multiple properties of
|
|
an object collide because the property ID lies outside the key. The local
|
|
running MARS had a SUPERVISOR object without its UNIX_USER property.
|
|
|
|
The build now uses uint32_t and matching fixed-width parser/display formats.
|
|
Tests verify distinct keys and a real isolated nwbind with intact user mapping,
|
|
password and membership properties. They do not certify every NCP operation.
|
|
|
|
**Do not open the old database with the new binary or blindly recreate it.**
|
|
Existing property values may already have been overwritten; a binary-layout
|
|
conversion cannot reconstruct them. The DEB preinst refuses unmarked existing
|
|
Bindery databases. New empty installations get .mars-fixed-width-v1.
|
|
|
|
For an existing server, prepare an explicit maintenance operation:
|
|
1. Inventory current objects, group memberships, trustees and active sessions.
|
|
2. Stop NetWare cleanly; preserve configuration, binaries, Bindery and trustees
|
|
in a root-private backup. Preserve volume file data unchanged.
|
|
3. Reconstruct a separate fixed-width Bindery from verified configuration and
|
|
a known-good logical export (if available); do not assume a damaged export
|
|
contains passwords or all memberships. Obtain missing account settings.
|
|
4. Validate accounts and trustees in isolation, then switch to the verified
|
|
database and matching binaries. Only then apply the marker.
|
|
5. Verify actual XP discovery/login/read/write with the client. Keep rollback.
|
|
|
|
The current live server was NOT stopped or migrated during investigation.
|
|
Its local network is eno1 / Ethernet II / IPX 00000101, internal 12345678.
|
|
Packet capture confirmed MARS SAP broadcasts, but no client IPX was observed.
|
|
Check XP NWLink frame type, NetWare client, and Layer-2 reachability; TCP/IP
|
|
ping alone does not prove IPX connectivity. A VM normally needs bridged wired
|
|
networking, not NAT. MARS is NetWare/NCP, not an SMB Windows workgroup server.
|
|
|
|
Local SYS contains both PUBLIC and public. Installed tools/drivers are under
|
|
public, while uppercase PUBLIC is empty. Preserve data and select the intended
|
|
case mapping (k option) deliberately; do not delete/merge both blindly.
|