Doc #55248 [NEW]: example data are inconsistent
| From: | drupal at paratio dot com | Date: | Wed, 20 Jul 2011 10:25:27 +0000 |
| Subject: | Doc #55248 [NEW]: example data are inconsistent | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-6903@lists.php.net to get a copy of this message | ||
From:
Operating system: Ubuntu 10.4 LTS
PHP version: Irrelevant
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:example data are inconsistent
Description:
------------
---
From manual page: http://www.php.net/function.ldap-add%23Examples
---
This are the example data:
$info["cn"] = "John Jones";
$info["sn"] = "Jones";
$info["mail"] = "jonj@example.com";
$info["objectclass"] = "person";
The objectclass "person" does not contain the mail attribute. So this
example
doesn't work with LDAP.
Just remove the mail entry or expand the example with the object class
"inetOrgPerson" where "mail" is a MAY attribute.
--
Edit bug report at https://bugs.php.net/bug.php?id=55248&edit=1
--
Try a snapshot (PHP 5.2): https://bugs.php.net/fix.php?id=55248&r=trysnapshot52
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=55248&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=55248&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=55248&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=55248&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=55248&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=55248&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=55248&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=55248&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=55248&r=support
Expected behavior: https://bugs.php.net/fix.php?id=55248&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=55248&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=55248&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=55248&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=55248&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=55248&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=55248&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=55248&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=55248&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=55248&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=55248&r=mysqlcfg
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=55248&r=trysnapshot54