45 lines
4.3 KiB
Markdown
45 lines
4.3 KiB
Markdown
# MARS NWE 0.9.1-3 — Directory Wizard (development preview)
|
|
|
|
Basis: MARS_NWE-0.9.1-3-tokenfix-source.zip. Existing RetroBrowser tokenfix preserved.
|
|
|
|
**Important:** This is a persistent directory administration view of the existing Bindery, NOT an NDS/NDAP server. No fake SAP 0x0278 advertisement, no NDS login, no changes to NCP authentication, no eDirectory/replication. Windows Novell Client still uses direct Bindery login. OU assignment does not grant access, change trustee rights, or change group membership. The association uses Bindery name and object type, not a permanent NDS object identifier. If an object is deleted/recreated under the same name, review the assignment manually.
|
|
|
|
## Install into the existing source checkout
|
|
|
|
From the directory containing Makefile, native/ and websetup/ (with the tokenfix already applied):
|
|
|
|
```
|
|
git apply --check /path/to/MARS_NWE-directory-wizard.patch
|
|
git apply /path/to/MARS_NWE-directory-wizard.patch
|
|
make check-directory
|
|
node tests/test_directory_ui.cjs
|
|
make native
|
|
```
|
|
|
|
For an unmodified 0.9.1-3 checkout use the combined patch instead (includes prior RetroBrowser tokenfix). Do not apply both patches. Keep the existing upstream source/build and adapter include files. The supplied 0.9.1-3 ZIP is missing mars_admin.inc, mars_scripts.inc, mars_acl.inc and mars_trustee.inc; a full upstream rebuild from that archive alone cannot be guaranteed. The native-only target does not need these files. Native build requires `libcivetweb-dev libjson-c-dev libssl-dev build-essential pkg-config`. Test `make check-web` with curl/jq on the build host before deployment.
|
|
|
|
## Deploy native component only
|
|
|
|
The following commands intentionally restart the central MARS service (all NetWare sessions are affected). Schedule a maintenance window, stop client file activity first. No upstream rebuild needed. Ensure the running installation is the matching version and contains the prior tokenfix (if using the combined patch, deploy the prior tokenfix to browser/config.mjs and browser/server.mjs with its installer first).
|
|
|
|
```
|
|
sudo ./install-directory-wizard.sh
|
|
```
|
|
|
|
Open the web frontend, hard reload, choose Verzeichnis & Assistent. The script makes a timestamped backup under /var/backups/mars-directory-wizard and rolls back on immediate service startup failure. Startup check does not prove client login works. If the service was inactive, it remains inactive. It never touches nwserv.conf, volumes, credentials or browser files.
|
|
|
|
## Wizard
|
|
|
|
1. Server prüfen: saved nwserv.conf validation, running revision, live Bindery availability, incomplete object list, missing stored assignments; missing fields can be prepared as a draft (manual Ethernet choice, frame, network IDs and SYS path), then use the existing preview/save/backup flow. Existing settings are not overwritten. SUPERVISOR and incorrect existing fields are configured in the existing setup view.
|
|
2. Baum und Organisation: one O, nested OU paths; validation on both frontend and backend.
|
|
3. Live-Objekte: select organizational units for existing users/groups or auto-place unassigned objects. Create users/groups in Live-Bindery. No credentials stored here.
|
|
4. Prüfen und bereitstellen: tree preview including saved server and volumes, downloadable TXT instructions for direct Bindery login, save the metadata without restart.
|
|
|
|
Storage: `<nwserv.conf>.directory.json` with 0600 permissions; `.previous` is previous saved directory metadata. Existing authenticated API/session, Origin and CSRF protections; revision conflict detection and explicit confirmation. Missing file yields default draft. Corrupt/private-file failures are not silently overwritten. Save is allowed while server is down; this is not a client readiness certification.
|
|
|
|
## Remaining actual NDS work
|
|
|
|
Original Novell documents describe SAP 0x0278 tree discovery and NDAP over NCP; RFC 2896 identifies NCP 104. Implement/test single-server directory object IDs, name resolution, schema/search/read, fragmentation, NDS authentication and authorization, Bindery mapping, and client tests against genuine NetWare 4/5 clients before advertising a tree. No claim of real NDS compatibility in this update.
|
|
|
|
References: https://support.novell.com/techcenter/articles/dnd19970304.html ; https://www.novell.com/documentation/developer/ndslib/dsov_enu/data/a2b6k5x.html ; https://www.rfc-editor.org/rfc/rfc2896.html .
|