Keywords: ldapuses2_foils

Next: Dynamic Web-mode QLANADMIN Display Up: Extending Internet Services Via Previous: Sample QLANADMIN LDAP

# QLANADMIN (web-mode) Using JavaScript

A modified version of the line-mode QLANADMIN uses static HTML code and a simple JavaScript function to perform the LDAP search.

A later version uses JavaScript to dynamically build HTML code to provide a specialized display, similar to the line-mode version but with more data. Components utilized:

- Netscape V4 Web browser (builtin LDAP client)
- Web page with JavaScript coding
- no special HTML coding to reformat results for first/simpler (static) version
- JavaScript formatted HTML coding to reformat LDAP data into seperate Web page with special formatting for dynamic version
- no Web server or Web server scripts
- no change in LDAP data

Static Web-mode returned results:

- all LDAP data allowed to be accessed; nothing filtered as was with line-mode script
- display format uncontrolled - ``raw'' format as returned by LDAP server; similar to what is returned by LDAPSEARCH tool
- used simple coding to build LDAP query
- results obtained by inserting new URL, with LDAP query embedded in it, into current Web page `location` field

Note: netscape.security.PrivilegeManager.enablePrivilege("UniversalConnect")