note 73721 added to function.ldap-set-option
| From: | technosophos at osu1 dot php dot net | Date: | Wed, 07 Mar 2007 22:00:17 +0000 |
| Subject: | note 73721 added to function.ldap-set-option | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-124210@lists.php.net to get a copy of this message | ||
The following flags are valid integer values for the LDAP_OPT_DEREF (as taken from the documentation
for ldap_read()):
LDAP_DEREF_NEVER (int 0) - (default) aliases are never dereferenced.
LDAP_DEREF_SEARCHING (int 1) - aliases should be dereferenced during the search but not when
locating the base object of the search.
LDAP_DEREF_FINDING (int 2) - aliases should be dereferenced when locating the base object but not
during the search.
LDAP_DEREF_ALWAYS (int 3) - aliases should be dereferenced always.
Example:
<?php
ldap_set_option($ds, LDAP_OPT_DEREF, LDAP_DEREF_ALWAYS);
?>
These are defined in the draft C API (presumably from the original LDAP API). See
draft-ietf-ldapext-ldap-c-api-xx.txt included in the OpenLDAP source code distribution.
----
Server IP: 69.147.83.197
Probable Submitter: 147.126.95.167 (proxied: 10.23.6.43)
----
Manual Page -- http://www.php.net/manual/en/function.ldap-set-option.php
Edit -- https://master.php.net/note/edit/73721
Del: integrated -- https://master.php.net/note/delete/73721/integrated
Del: useless -- https://master.php.net/note/delete/73721/useless
Del: bad code -- https://master.php.net/note/delete/73721/bad+code
Del: spam -- https://master.php.net/note/delete/73721/spam
Del: non-english -- https://master.php.net/note/delete/73721/non-english
Del: in docs -- https://master.php.net/note/delete/73721/in+docs
Del: other reasons-- https://master.php.net/note/delete/73721
Reject -- https://master.php.net/note/reject/73721
Search -- https://master.php.net/manage/user-notes.php