My organization has made extensive use of the Directory Server
(Web) Gateway (DSGW) for 20 years. I've yet to come across any
suitable alternative (suggestions welcome if you're familiar with
its functionality).
We are at least a decade behind with updates, having been tied to
the Oracle fork of directory and mail server products until
recently. I am now experimenting with potential conversion to
389-DS or RHDS including the updated DSGW, and I may have
encountered a bug.
Is the DSGW still used and supported?
The specific problem appears to be the edit command
(/usr/lib64/dirsrv/dsgw-cgi-bin/edit) failing to handle
"syntax=mls" as encountered in a template file
(/usr/share/dirsrv/dsgw/config/display-orgperson.html). The
problem occurs if the attribute involved exists in the entry being
edited, whether its value contains multiple lines or not.
The symptom: The multi-line data is displayed cleanly using the
search or csearch commands, but upon clicking the Edit button to
enter edit mode, the web form is truncated. Bottom half blank,
from one cell above whatever cell contains "syntax=mls". In the
distributed template file the trigger line is:
<!-- DS_ATTRIBUTE "attr=postalAddress" "syntax=mls"
"type=TEXTAREA" "cols=>40" "rows=>4" -->
The test environment:
# uname -a
Linux host.domain
3.10.0-514.16.1.el7.x86_64 #1 SMP Wed Apr 12 15:04:24 UTC 2017
x86_64 x86_64 x86_64 GNU/Linux
# yum list | grep 389
Installed Packages
389-admin.x86_64
1.1.46-1.el7 @epel
389-admin-console.noarch
1.1.12-1.el7 @epel
389-admin-console-doc.noarch
1.1.12-1.el7 @epel
389-adminutil.x86_64
1.1.21-2.el7 @epel
389-console.noarch
1.1.18-1.el7 @epel
389-ds.noarch
1.2.2-6.el7 @epel
389-ds-base.x86_64
1.3.5.10-20.el7_3 @updates
389-ds-base-libs.x86_64
1.3.5.10-20.el7_3 @updates
389-ds-console.noarch
1.2.16-1.el7 @epel
389-ds-console-doc.noarch
1.2.16-1.el7 @epel
389-dsgw.x86_64
1.1.11-5.el7 @epel
389-adminutil-devel.x86_64
1.1.21-2.el7 epel
389-ds-base-devel.x86_64
1.3.5.10-20.el7_3 updates
389-ds-base-snmp.x86_64
1.3.5.10-20.el7_3 updates
pcp-pmda-ds389.x86_64
3.11.3-4.el7 base
pcp-pmda-ds389log.x86_64
3.11.3-4.el7 base