« PHP 8.3 Manual トップ
著作権 »
per page, with , order by , clip by
Results of 1 - 1 of about 1 for ldapbind (0.000 sec.)
ldap_bind — LDAP ディレクトリにバインドする | PHP 8.3 9414
ldap_bind (PHP 4, PHP 5, PHP 7, PHP 8) ldap_bind — LDAP ディレクトリにバインドする 説明 function ldap_bind ( LDAP\Connection $ldap , ? string $dn = null , #[ \SensitiveParameter ] ? string $password = null ): bool 指定した RDN およびパスワー ... ap://ldap.example.com" ) or die( "Could not connect to LDAP server." ); if ( $ldapconn ) { // ldap サーバーにバインドする $ldapbind = ldap_bind ( $ldapconn , $ldaprdn , $ldappass ); // バインド結果を検証する if ( $ldapbind ) { echo "LDAP bind successful. ... .." ; } else { echo "LDAP bind failed..." ; } } ?> 例2 LDAP 匿名バインドの使用 <?php // ldap 匿名バインドを使用する // ldap サーバーに接続する $ldapconn ... ect ( "ldap://ldap.example.com" ) or die( "Could not connect to LDAP server." ); if ( $ldapconn ) { // 匿名でバインドする $ldapbind = ldap_bind ( $ldapconn ); if ( $ldapbind ) { echo "LDAP bind anonymous successful..." ; } else { echo "LDAP bind anonymou ...
https://man.mtool.work/php/8.3/function.ldap-bind.html
PREV 1 NEXT