« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 1 of about 1 for matcheddn (0.000 sec.)
LDAP コントロール | PHP 8.3 9414
LDAP コントロール PHP >= 7.3.0 で LDAPコントロールを使う例をいくつか示します。 例1 policy(パスワードポリシー) 情報とバインドする <?php $user = 'cn=admin,dc=example,dc=com' ; $passwd = 'adminpassword' ; $ds = ldap_connect ( 'ldap://localhost ... ds , $user , $passwd , [[ 'oid' => LDAP_CONTROL_PASSWORDPOLICYREQUEST ]]); if ( ldap_parse_result ( $ds , $r , $errcode , $matcheddn , $errmsg , $referrals , $ctrls )) { if ( $errcode != 0 ) { die( "Error: $errmsg ( $errcode )" ); } if (isset( $ctrls [ LD ... ROL_PAGEDRESULTS , 'value' => [ 'size' => 2 , 'cookie' => $cookie ]]] ); ldap_parse_result ( $link , $result , $errcode , $matcheddn , $errmsg , $referrals , $controls ); // 例を短くするために、エラー処理はテストしていません $entries = ldap_get_entries ( ...
https://man.mtool.work/php/8.3/ldap.examples-controls.html
PREV 1 NEXT