Previous PageNext Page

Chapter 5 - Using LDAP for StreetTalk with LDAP Applications

Overview

Supporting LDAP Applications
N-Level Names
Directory Synchronization

Supporting LDAP Applications

N-level names
Directory Synchronization

N-Level Names

Directory Synchronization

N-Level Names

Note
Contact your Banyan sales representative for information about LDAP applications that work effectively with LDAP for StreetTalk.

1. Create a table, called a map file, that maps StreetTalk group@organization names to corresponding LDAP distinguished name. Refer to "To Create the N-Level Name Mapping File" later in this chapter.

2. Store the table in attribute <5:36> of the STDA service on the StreetTalk for Windows NT server. Refer to "To Set STDA Attribute <5:36> On the LDAP for StreetTalk Server" later in this chapter for directions to create the attribute, or refer to Managing Users and StreetTalk in your Banyan documentation, or refer to the StreetTalk Explorer online help for information about creating and storing attributes.

3. Rebuild the STDA databases from scratch.

How N-Level names work

Figure 5-1. StreetTalk Directory Tree Using Items from Examples 1-4

Example 1

Example 2

Example 3

Example 4

Map File Using Examples 1-4

nesales@WCTUS
l=westboro, ou=sales, o=WCTUS

corporate sales@WCTUS
ou=sales, o=WCTUS

doc@WCTUS
l=westboro, ou=doc, o=wctus

sales@California
l=California, ou=sales, o=wct

Figure 5-2. LDAP Directory Tree Using N-Level Names from Examples 1-4

Set STDA Attribute <5:36> to Support N-Level Names

Attribute <5:36>

Vendor No. = 5
Attribute No. = 36
AVD Name = LDAP Mapping Table
Type = String

Guidelines for Configuring N-Level Names

N-Level names exist only on the LDAP for StreetTalk server to which you added the map table attribute. N-level names do not appear in StreetTalk, STDA, or on other LDAP for StreetTalk servers. N-level names are not distributed across the network the way StreetTalk names are-StreetTalk directories on other Banyan servers will not contain the n-level name entries.
To take advantage of n-level names, LDAP applications must access the server on which the n-level names are stored.
Take care to create n-level name mappings that result in a coherent LDAP directory structure within the existing StreetTalk portion of the DIT, and in the n-level name portion of the tree. LDAP for StreetTalk does not check that the n-level name mappings result in a coherent directory structure. You must ensure that your n-level names create branches and leaf nodes that connect together. Each entry created from an n-level name mapping must have a parent entry. Each entry must be unique as well. Also, your n-level names should not violate the LDAP rules for the order of attributes in a distinguished name, such as common name (cn) is subordinate to all other attributes, or location (l=) is subordinate to organizational unit (ou=). LDAP for StreetTalk does not enforce attribute order rules, but other LDAP applications may. Refer to Appendix B for more information about attribute order in LDAP.
Map only StreetTalk group@organizations that users are likely to want to find or use. You can map as many groups as you wish, but the mapping file gets unwieldy as it gets very large. The suggested size limit is 8 MB.
You can map and use n-level names for StreetTalk users, nicknames, and lists. You cannot map services or other StreetTalk objects such as print services or organizations.

Restrictions

StreetTalk item names are limited to the Latin 1 character set.
StreetTalk item names are limited to no more than 32 characters.
To add a StreetTalk group to an LDAP database that uses n-level names, the n-level name mapping for the group must exist before you add the group. You cannot add new StreetTalk groups dynamically.
You cannot rename groups or organizations.
LDAP for StreetTalk does not check the consistency of the LDAP directory that you create when you use n-level name mappings. You must ensure that the directory structure is consistent.
The complete n-level name, including the item, mapping, and suffix portions, cannot exceed 512 bytes (0.5 MB) in size.

Configuring N-Level Names

To Set STDA Attribute <5:36> On the LDAP for StreetTalk Server

1. Open StreetTalk Explorer.

2. Locate and Select the StreetTalk for Windows NT server that runs LDAP for StreetTalk software.

3. Right-click the STDA service in the right pane and select attributes.

4. Under Vendor/Attribute, type 5 in the Vendor field and 36 in the Attribute field.

5. In Open Attribute As, select String Attribute from the list.

6. Click Open. The attribute editor opens with the attribute ready for text entry.

7. Do one of the following:

— If you plan to use only a few mapping entries, type the mapping entries into the attribute editor and continue to step 8. Enter your n-level name mappings as described in the section "How N-Level Names Work."

— If your mapping entries list is quite large, use a text file to add the entries to the attribute. Use the procedures in "To Create the N-Level Name Mapping File" and "To Import the Mapping File into Attribute <5:36>" to add the mapping file to the attribute.

8. Click OK to save the attribute.

To Create the N-Level Name Mapping File

1. Open a text editor, such as Notepad, or MultiEdit, or Vi. Do not use a word processing program such as Microsoft Word, WordPad, or Corel WordPerfect.

2. Enter your n-level name mappings as described in the section "How N-Level Names Work."

Enter as many mapping entries as you need. It is recommended that the mapping file not exceed 8 MB. Notepad has a limit of 32 KB.

3. Save the file and close the text editor.

To Import the Mapping File into Attribute <5:36>

1. Open StreetTalk Explorer.

2. Locate and select the StreetTalk server that hosts the LDAP service that will use n-level names.

3. Right-click the LDAP for StreetTalk service in the right pane and select attribute from the context menu.

4. Open attribute <5:36>.

5. From the Attribute menu, select Import.

6. Locate the mapping file you created and click Open. The contents of the mapping file are copied into the attribute.

To Disable N-Level Names on the LDAP for StreetTalk Server

1. Use StreetTalk Explorer to delete attribute <5:36> from the STDA service on the LDAP for StreetTalk server.

2. Rebuild STDA. After the rebuild, n-level names are no longer created, stored, or accessible on the server.

LDAP Directory Synchronization

The LDAP for StreetTalk directory is the master directory. Changes to the StreetTalk directory are written to the LDAP application's directory. Changes to the LDAP application's directory are redirected to LDAP for StreetTalk, which makes the changes to the StreetTalk directory. LDAP for StreetTalk then writes the changes to the LDAP application's directory.
To use directory synchronization, your LDAP directory server must have the appropriate Banyan directory synchronization option installed. Banyan designs its directory synchronization option for each LDAP directory server. Be sure to install the option that matches your LDAP directory server.

How Directory Synchronization Works

Guidelines for Configuring Directory Synchronization

Directory Synchronization works only with LDAP applications that have Banyan directory synchronization options available.
You can synchronize directories between one LDAP for StreetTalk service and one LDAP directory residing on one server. To use directory synchronization between a second LDAP for StreetTalk service and another LDAP directory, you configure directory synchronization on the second LDAP for StreetTalk service and the second LDAP application as a pair
LDAP for StreetTalk and the LDAP directory server do not share data about services on the LDAP for StreetTalk server. Only user names, lists, and nicknames are shared between the directories.
LDAP for StreetTalk does not support Secure Sockets Layer (SSL).

Configuring Directory Synchronization

To Install the Banyan Directory Synchronization Option on an LDAP Directory Server

To Configure the Directory Synchronization Option on an LDAP Directory Server

To Configure the Directory Synchronization Option on an LDAP for StreetTalk Server

1. Open LDAP Configuration Manager on the server that will be using directory synchronization.

Use LDAP Configuration Manager on the StreetTalk for Windows NT server, that is, locally, to configure directory synchronization. You cannot use LDAP Configuration Manager across your network to configure directory synchronization.

2. Click the Directory Synchronization tab.

3. Click Netscape.

4. Select the Enable synchronization check box.

5. Enter the Netscape Directory Server configuration information under Netscape Server Configuration.

The Netscape Directory Server must include the Banyan directory synchronization option. Configure the Netscape Directory Server directory synchronization option to synchronize with this LDAP for StreetTalk service. Refer to the documentation you received with the LDAP directory server application, and to the documentation you received with the Banyan directory synchronization option for the Netscape Directory Server for more information about configuring your Netscape Directory Server. You must configure the Netscape Directory Server as well as the LDAP for StreetTalk server before you can use directory synchronization.

6. Enter the Netscape Directory Server IP address or DNS name to synchronize with the LDAP for StreetTalk directory on this server.

7. Enter the port number. The number you enter must match the port configured on the Netscape Directory Server. Generally, LDAP services use port number 389. Changing the port number may affect the operation of other LDAP applications such as Web browsers.

8. Enter the LDAP distinguished name for the root of the LDAP for StreetTalk directory subtree in the Netscape Directory Server LDAP directory. For more information about distinguished names and LDAP directories, refer to Appendix B, Directory Concepts.

9. Enter the distinguished name (the Authorized DN) that is authorized to make changes to the LDAP for StreetTalk directory portion of the Netscape Directory Server.

10. Enter a password to be used in combination with the Authorized DN to allow changes to the LDAP for StreetTalk portion of the LDAP directory on the Netscape Directory Server. Requests to add, modify, or delete entries in the LDAP for StreetTalk portion of the Netscape LDAP directory must be accompanied by the authorized DN and the password you enter.

The password can be 1 to 31 alphanumeric characters long. Do not use spaces in the password and do not use [ ] * : + | or ".

11. Re-enter the password to verify that you entered the password correctly.

12. Click OK.

13. Close LDAP Configuration Manager.

14. Reboot the Windows NT server.

Note
You must reboot the Windows NT server that hosts the LDAP for StreetTalk service for directory synchronization to take effect.

To Run Directory Synchronization

1. Rebuild STDA on the LDAP for StreetTalk server. Rebuilding STDA writes all directory entries to the LDAP database, and replicates the LDAP database entries to the Netscape Directory Server database.

2. Run the STNSSync application (STNSSYNC.EXE) in the Support\Tools directory on the LDAP for StreetTalk server. STNSSync searches the LDAP for StreetTalk directory for new entries and writes the new entries and their attributes to the Netscape Directory Server database. For more information, refer to Banyan Directory Synchronization for Netscape Guide.

Subsequent changes to the LDAP for StreetTalk directory, made through STDA builds or LDAP for StreetTalk database modifications, are replicated to the Netscape Directory Server automatically.

To Disable Directory Synchronization

1. Click the Directory Synchronization tab.

2. Click Netscape.

3. Clear the Enable synchronization check box. Your LDAP for StreetTalk and Netscape Directory Server databases will no longer be synchronized by the LDAP for StreetTalk service.

4. Reboot the Windows NT server.

Note
You must reboot the Windows NT server that hosts the LDAP for StreetTalk service to disable directory synchronization.

5. Disable directory synchronization on the Netscape Directory Server as well.

Previous PageTop Of PageNext Page