How To: Create a new LDAP vendor map for a new LDAP provider

How To: Create a new LDAP vendor map for a new LDAP provider

95
Created On 11/10/26 10:58 AM - Last Modified 11/10/26 15:53 PM


Symptom


Applies To:

TPP versions for customers that need to interface with an unknown LDAP vendor.

 

Symptom:

Unable to determine LDAP vendor; no available map was found to match.

Cause:

Vendor mapping file needs to be created. Some known vendor map files are available that can be found here.

Minimum requirements to support an LDAP provider:

In order for TPP to support a new LDAP provider, an appropriate LdapVendor mapping file must be created. The Ldap Identity driver handles the objects used for identity-related operations, such as permissions assignments, contact names, approver names, etc. Optionally, it also handles retrieving attribute values that you can use through WebSDK calls or Macros in log notifications. Users and Groups are the basic object types it handles, as well as the containers that hold those objects.

Resolution:

If none of the existing LDAP vendor map files are a match for your LDAP provider, you can use the LDAP Vendor Map File Generator tool available in the Venafi Support Center (VSC). The LDAP Vendor Map File Generator can help you to create a custom LDAP Vendor map file.

IMPORTANT! You should only run the LDAP Vendor Map File Generator with the assistance of Venafi Support.

The LDAP Vendor Map File Generator connects to your LDAP provider and then steps you through several screens that ask you to identify which attributes in your LDAP environment can provide the following information:

  • Ldap Object class(es) for determining Group objects
  • Ldap Object class(es) for determining User objects
  • Ldap Object class(es) for determining Container (also known as Context) objects (where the Users and Groups are maintained)
  • Which attribute(s) are used on Group objects to list members of the Group
  • Which attribute(s) are used on User object to list which Groups the User is a member of
  • Which attribute(s) are used on User objects to specify the value to be used for logging in to the LDAP provider
  • Which attribute(s) are used on User objects to assist in resolving the User name in case of multiple user objects with same value for primary attribute used for login.

    This is known as Ambiguous Name Resolution attributes.

  • Which one attribute that will be used for the Universal Persistent Attribute.

    This attribute must be present on Group objects and User objectsand Container objectsthat is guaranteed to be unique across your entire LDAP environment.

    IMPORTANT!
    This attribute must not change even if the user or group objects are renamed or moved to new locations within the LDAP environment. This MUST be the same attribute for Users and Groups and Contexts (aka Containers), as it is used in the assignment of rights and as targets for other assignments such as Contacts and Approvers.

  • Which one attribute to be used as the displayable name for an LDAP entry. This also MUST be the same attribute for Users and Groups and Contexts.
  • Once this information is provided, the tool will show the calculated expressions based on previous responses for:
  • Search expression for Groups
  • Search expression for User

Then it will ask for the attribute name to be used for mapping certain attributes needed by TPP for identity-related operations. These attributes are:

  • Given name (typically givenName)
  • Last name (typically surname or sn)
  • Internet EMail Address (often mail or similar)
  • User Principle Name (such as userPrincipleName)

NOTEIf the requirement for either the Universal Persistent Attribute or the Internal Attribute are not met, then the LDAP driver in TPP will NOT be able to successfully load and perform the actions needed in the TPP environment.

Detailed explanation of the vendor map fields:

userClassNames

The user class names collection is used to identify the classes which are exclusively specific to user entries. These value(s) are used in the UserSearchExpression field. In this section you specify the class name(s) which are exclusively unique to directory entries which are users. It is mandatory these value(s) are unique with respect to the group and container sections.

EXAMPLE:

 <userClassNames xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">

<d2p1:string>inetOrgPerson</d2p1:string>

<d2p1:string>organizationalPerson</d2p1:string>

<d2p1:string>person</d2p1:string>

</userClassNames>

This specifies that any of the 3 attributes listed above will find a user type object. If your LDAP implementation always has all 3 attribute values, you could safely limit the search to the first one, if desired.

UserSearchExpression

The user search expression is used when browsing for directory entries, which represent users. This value is required to be a valid LDAP search expression filter of object class names usually containing the list of names specified in the userClassNames specified above.

EXAMPLE:

<UserSearchExpression>(|(objectClass=inetOrgPerson)(objectClass=organizationalPerson)(objectClass=person))</UserSearchExpression>

Or

<UserSearchExpression>(objectClass=inetOrgPerson)</UserSearchExpression>

 

groupClassNames

The group class names collection is used to identify the classes which are exclusively specific to group entries. These value(s) are used in the GroupSearchExpression field. In this section you specify the class name(s) which are exclusively unique to directory entries which are groups. Again, it is mandatory these values are unique with respect to the user and container sections.

EXAMPLE:

 <groupClassNames xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">

<d2p1:string>groupOfNames</d2p1:string>

<d2p1:string>groupOfUniqueNames</d2p1:string>

</groupClassNames>

This specifies that either of the 2 attributes listed above will find a group type object.

 

GroupSearchExpression

The group search expression is used when browsing for directory entries which represent groups. This value is required to be a valid LDAP search expression filter of object class names usually containing the list of names specified in the groupClassNames specified above.

EXAMPLE:

<GroupSearchExpression>(|(objectClass=groupOfNames)(objectClass=groupOfUniqueNames))</GroupSearchExpression>

 

containerClassNames

The container (e.g. context) class names collection is used to identify the classes which are specific to contexts exclusively. These value(s) are used in the ContainerSearchExpression field. In this section you specify the class name(s) which are exclusively unique to directory entries which are contexts. As before, it is mandatory these values are unique with respect to the user and group sections.

EXAMPLE:

 <containerClassNames xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">

<d2p1:string>domain</d2p1:string>

<d2p1:string>organization</d2p1:string>

<d2p1:string>organizationalUnit</d2p1:string>

</containerClassNames>

 

ContainerSearchExpression

The container search expression is used when browsing for directory entries which represent containers (e.g. contexts). This value is required to be a valid LDAP search expression filter of object class names usually containing the list of names specified in the containerClassNames specified above.

EXAMPLE:

<ContainerSearchExpression>(|(objectClass=organizationalUnit)(objectClass=organization)(objectClass=domain))</ContainerSearchExpression>

 

UniversalIdentifierName

The universal identifier name attribute is used to read a single attribute value, for a directory entry of any of the classes specified above, as a persistent value which can be used to locate a directory entry. This attribute value is used internally in the assignment of permissions, ownership, notifications, etc. of any identity related attribute within TPP. This field specifies a single attribute name which is found on every directory entry for any object having one, or more, of the classes specified in the containerClassNames, groupClassNames or userClassNames collections specified above. This must be the same attribute for user and group objects (and preferably containers also). This attribute must also be persistent, i.e. will not change should the object it references is moved or renamed. Otherwise any usage of that identity object will be corrupted, and permissions or other assignments will be lost.

EXAMPLE:

<UniversalIdentifierName>nsUniqueId</UniversalIdentifierName>

 

InternalIdentifierName

The internal identifier attribute name is used to read a single attribute value, for a directory entry of any of the classes specified above, as a human readable display value which can represents a directory entry. Specify a single attribute name which is found on any directory entry for any object having one, or more, of the classes specified in the containerClassNames, groupClassNames or userClassNames collections specified above.

EXAMPLE:

<InternalIdentifierName>entryDN</InternalIdentifierName>

 

LoginNameResolutionAttributeNames

The login name resolution attribute names collection is used to search for a directory entry representing a user for authentication purposes. These attribute name(s) found on a directory entry having one of the classes specified in the userClassNames collection specified above. For example, this could allow a user to log in with an email address value if it is present in your Ldap directory, and you choose to allow that name form for logins.

 

AmbiguousNameResolutionAttributeNames

The ambiguous name resolution attribute names collection is used to search for a directory entry representing either a user, or a group, when browsing the directory tree. These are attribute name(s) found on a directory entry having one of the classes specified in either the userClassNames or groupClassNames collections specified above. These values are used in conjunction with the user and group class names to assist in uniquely identifying an object for use in an Identity operation.

 

MemberIdentifierNames

The member identifier names attribute is used to read all the group members of a directory entry representing a group. These attribute name(s) contain a reference to another directory entry. These values can reference user objects or group objects (if you enable nested group handling for the driver).

MembershipResolution

The membership resolution attribute is used to find all group entries that the entry belongs to. This is a single attribute name and the values of this attribute are Distinguish Names (DNs) of groups to which the entry belongs. This value may be present on user objects and on group objects (only used for groups if you have enabled nested group handling for the driver).

attributeMappedNames

The attribute mapped names collection is used to translate attribute names within the product to an attribute name on a directory entry for any object having one of the classes specified in either the userClassNames or groupClassNames collection specified above. These are pairs of attribute names that must be a single name within the TPP product schema to a single attribute name (found on an LDAP directory entry) containing the desired value.

These are optional entries, mostly used for user objects. The default set of these attributes are:

  • The email address of the directory entry
  • The first name of the directory entry
  • The last name of the directory entry
  • The user principle name of the directory entry

SizeLimit

The maximum number of directory entry search results to be returned when searching the directory tree.

Title

The display title of this document. This is viewed in the LDAP Identity provider wizard, if more than one map file to provides all the required matched values.

Vendor

The LDAP Vendor name returned by the Root DSE. Optional field.

VendorVersion

The LDAP Vendor version returned by the Root DSE. Optional field.

IsMicrosoftActiveDirectory

True if the associated LDAP directory is a front-end for a Microsoft Active Directory installation; otherwise, false.

 

 

 

 



Environment


TPP/TLSPDC TLSPDC;Code Signing;SSH

Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000pgvCAA&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail