Results of 1 - 1 of about 1 for genpw (0.000 sec.)
- ldap_exop_passwd — PASSWD 拡張オペレーションのヘルパ | PHP 8.3 9414
- ldap_exop_passwd (PHP 7 >= 7.2.0, PHP 8) ldap_exop_passwd — PASSWD 拡張オペレーションのヘルパ 説明 function ldap_exop_passwd ( LDAP\Connection $ldap , string $user = "" , #[ \SensitiveParameter ] string $old_password = "" , #[ \SensitivePar
... ind ) { echo "Unable to bind to LDAP server" ; exit; } // use PASSWD EXOP to change the user password for a generated one $genpw = ldap_exop_passwd ( $ds , "cn=root, o=My Company, c=US" , "secret" ); if ( $genpw ) { // use the generated password to bi ... nd $bind = ldap_bind ( $ds , "cn=root, o=My Company, c=US" , $genpw ); } // set the password back to "secret" ldap_exop_passwd ( $ds , "cn=root, o=My Company, c=US" , $genpw , "secret" ); ld ...
-
https://man.mtool.work/php/8.3/function.ldap-exop-passwd.html
PREV
1
NEXT