DSGW and Multi-Line-Strings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

_______________________________________________
389-users mailing list -- 389-users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to 389-users-leave@xxxxxxxxxxxxxxxxxxxxxxx

[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux