« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 4 of about 4 for objectclass (0.001 sec.)
ldap_errno — 直近の LDAP コマンドの LDAP エラー番号を返す | PHP 8.3 11964
ldap_errno (PHP 4, PHP 5, PHP 7, PHP 8) ldap_errno — 直近の LDAP コマンドの LDAP エラー番号を返す 説明 function ldap_errno ( LDAP\Connection $ldap ): int 直近の LDAP コマンドにより返された、標準化されたエラー番号を返します。 この番号は、 ld ... _connect ( "localhost" ); $bind = ldap_bind ( $ld ); // フィルタ式に構文エラーがあります(errno 87)。 // 動作させるには、"objectclass=*" とする必要があります。 $res = @ ldap_search ( $ld , "o=Myorg, c=DE" , "objectclass" ); if (! $res ) { echo "LDAP-Errno: ...
https://man.mtool.work/php/8.3/function.ldap-errno.html
LDAP コントロール | PHP 8.3 9375
LDAP コントロール コントロールは、リクエストを処理中にサーバーの振る舞いを変更するために LDAP リクエストと一緒に送られる特別なオブジェクトです。 サーバーがレスポンスと一緒に送ってくる、 追加の情報を提供するためのコントロールも存在します。 こ ... Pサーバーによってサポートされているとは限りません。 どのコントロールをサーバーがサポートしているのかを知るには、 フィルタ (objectClass=*) を付けて空の dn を読むことで、 root DSE に問い合わせる必要があります。 例1 ページ分けされた結果コントロールがサポートさ ... れているかをテストする <?php // $ds is a valid link identifier for a directory server $result = ldap_read ( $ds , '' , '(objectClass=*)' , [ 'supportedControl' ]); if (! in_array ( LDAP_CONTROL_PAGEDRESULTS , ldap_get_entries ( $ds , $result )[ 0 ][ 'supp ...
https://man.mtool.work/php/8.3/ldap.controls.html
ldap_read — エントリを読み込む | PHP 8.3 8839
ldap_read (PHP 4, PHP 5, PHP 7, PHP 8) ldap_read — エントリを読み込む 説明 function ldap_read ( LDAP\Connection | array $ldap , array | string $base , array | string $filter , array $attributes = [] , int $attributes_only = 0 , int $sizelim ... e ディレクトリのベース DN。 filter 空のフィルタは指定できません。 このエントリに関する全ての情報を完全に取得したい場合は、 objectClass=* というフィルタを使用してください。 ディレクトリサーバーで使用されるエントリの型が分かっている場合、 objectClass=inetOrgP ...
https://man.mtool.work/php/8.3/function.ldap-read.html
ldap_add — LDAP ディレクトリにエントリを付加する | PHP 8.3 6768
ldap_add (PHP 4, PHP 5, PHP 7, PHP 8) ldap_add — LDAP ディレクトリにエントリを付加する 説明 function ldap_add ( LDAP\Connection $ldap , string $dn , array $entry , ? array $controls = null ): bool エントリを LDAP ディレクトリに追加します。 ... o=My Company, c=US" , "secret" ); // データを準備する $info [ "cn" ] = "John Jones" ; $info [ "sn" ] = "Jones" ; $info [ "objectclass" ] = "person" ; // データをディレクトリに追加 $r = ldap_add ( $ds , "cn=John Jones, o=My Company, c=US" , $info ); ldap_cl ...
https://man.mtool.work/php/8.3/function.ldap-add.html
PREV 1 NEXT