note 26013 added to function.ldap-dn2ufn
| From: | alex at netflex dot nl | Date: | Tue, 15 Oct 2002 09:09:12 +0000 |
| Subject: | note 26013 added to function.ldap-dn2ufn | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-38097@lists.php.net to get a copy of this message | ||
The function of bryan will only work if you start with an Organization and using only an
Organizational Unit as a container and the object is an CN.
For example:
$DN = "CN=DNS,CN=Authorized Login Methods,CN=Security";
echo ($DN = ldap_dn2ufn($DN)) . "\n";
echo ($DN = ldap_ufn2dn($DN)) . "\n";
will echo:
DNS,Authorized Login Methods,Security
CN=DNS,OU=Authorized Login Methods,O=Security
--
http://www.php.net/manual/en/function.ldap-dn2ufn.php
http://master.php.net/manage/user-notes.php?action=edit+26013
http://master.php.net/manage/user-notes.php?action=delete+26013
http://master.php.net/manage/user-notes.php?action=reject+26013