Modernization Hub

DN - Distinguished Name

Enhanced Definition

A Distinguished Name (DN) is a unique identifier for an entry within an LDAP (Lightweight Directory Access Protocol) directory. In the mainframe and z/OS context, DNs are crucial for uniquely identifying users, groups, and other resources managed by an LDAP server, which z/OS systems often integrate with for centralized identity and access management. A Distinguished Name (DN) is a unique identifier for an entry within a Lightweight Directory Access Protocol (LDAP) directory, such as IBM's `z/OS LDAP Server`. It precisely locates an entry in the directory information tree (DIT), much like a file path specifies a file's location in a file system. In z/OS, DNs are crucial for identifying users, groups, resources, and other entities for authentication and authorization purposes.

Key Characteristics

    • Uniqueness: Each DN is globally unique within the LDAP directory tree, ensuring no two entries can have the same identifier.
    • Hierarchical Structure: DNs are structured hierarchically, reflecting the organizational or logical structure of the directory, similar to a file system path.
    • Relative Distinguished Names (RDNs): A DN is composed of a sequence of RDNs, each identifying an entry at a specific level in the hierarchy (e.g., cn=John Doe, ou=Sales, dc=example, dc=com).
    • Order: RDNs are listed from the most specific (leaf entry) to the most general (root of the directory tree), separated by commas.
    • Attribute-Value Pairs: Each RDN is an attribute-value pair (e.g., cn for Common Name, ou for Organizational Unit, dc for Domain Component).
    • LDAP Standard: DNs are a fundamental concept defined by the X.500 directory services standard and are universally used in LDAP implementations, including those integrated with z/OS.

Use Cases

    • User Authentication: Authenticating users attempting to access z/OS resources (e.g., TSO, CICS, DB2, USS) by verifying their DN and password against an external LDAP server.
    • Authorization: Granting access permissions based on a user's DN or the groups (identified by their DNs) to which a user belongs within the LDAP directory.
    • Digital Certificates: Identifying the subject (user, server, application) in X.509 digital certificates, which are widely used for secure communication (e.g., SSL/TLS) on z/OS.
    • Centralized Identity Management: Providing a single, authoritative source for user identities and attributes across multiple z/OS systems and other enterprise platforms.
    • Application Configuration: Storing and retrieving application-specific configuration parameters or user preferences associated with specific DNs in a directory.

Related Concepts

DNs are intrinsically linked to LDAP (Lightweight Directory Access Protocol), which is often used by z/OS for externalizing security and directory services. The z/OS Security Server (including RACF) can be configured to leverage LDAP and, consequently, DNs for user authentication and authorization, extending its reach beyond local user profiles. Furthermore, DNs are critical components of X.509 digital certificates, which are managed by the z/OS Security Server and used for secure communications via SSL/TLS in various z/OS components like CICS, DB2, and TCP/IP.

Best Practices:
  • Standardized Naming Conventions: Establish and enforce clear, consistent naming conventions for DNs across the enterprise to ensure manageability, readability, and avoid conflicts.
  • Logical Hierarchy Design: Design the LDAP directory hierarchy thoughtfully to reflect the organization's structure, facilitating efficient searching and administration of DNs.
  • Secure LDAP Communication: Always use secure LDAP (LDAPS) or LDAP over TLS/SSL when communicating with directory servers to protect DNs and other sensitive information during transmission.
  • Attribute Selection for RDNs: Choose appropriate and stable attributes for RDNs (e.g., uid or cn for users) that are unlikely to change, minimizing the need to modify DNs.
  • Performance Optimization: Ensure LDAP directory servers are properly indexed and configured for optimal performance, as frequent DN lookups are common in authentication and authorization flows.

Related Vendors

IBM

646 products

Precisely

28 products

Tone Software

14 products

Trax Softworks

3 products

Related Categories

Security

144 products

Operating System

154 products

Automation

222 products

Browse and Edit

64 products