ldap_explode_dn(3) php man page | unix.com

Man Page: ldap_explode_dn

Operating Environment: php

Section: 3

LDAP_EXPLODE_DN(3)							 1							LDAP_EXPLODE_DN(3)

ldap_explode_dn - Splits DN into its component parts

SYNOPSIS
array ldap_explode_dn (string $dn, int $with_attrib)
DESCRIPTION
Splits the DN returned by ldap_get_dn(3) and breaks it up into its component parts. Each part is known as Relative Distinguished Name, or RDN.
PARAMETERS
o $dn - The distinguished name of an LDAP entity. o $with_attrib - Used to request if the RDNs are returned with only values or their attributes as well. To get RDNs with the attributes (i.e. in attribute=value format) set $with_attrib to 0 and to get only values set it to 1.
RETURN VALUES
Returns an array of all DN components. The first element in this array has count key and represents the number of returned values, next elements are numerically indexed DN components. PHP Documentation Group LDAP_EXPLODE_DN(3)
Related Man Pages
ldap_is_dns_dn(3ldap) - opensolaris
ldap_explode_dn(3) - redhat
ldap_get_dn(3) - redhat
ldap_dns_to_dn(3ldap) - sunos
ldap_dn2ufn(3ldap) - sunos
Similar Topics in the Unix Linux Community
Rules for Homework & Coursework Questions Forum
Forum Video Tutorial: How to Use Code Tags
UNIX.COM 2017 Year End Summary
Please Welcome Don Cragun as Lead Moderator
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch