Skip to content

Commit

Permalink
Port Inter-External
Browse files Browse the repository at this point in the history
  • Loading branch information
manuparra committed Dec 16, 2016
1 parent 3f8e313 commit c87a7c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -716,17 +716,17 @@ Copy the next piece of code or download full example below, and test it (customi
//LDAP SETUP CONFIGURATION
$host= '192.168.10.30'; // server docker system
$port= 389; //LDAP port // SSL: 698
$port= 14XXX; //LDAP port // SSL: 698
$dn="cn=admin,dc=ugr,dc=es"; //change your DN
$pwd_admin="password"; // your admin password
$conn = ldap_connect( "ldap://".$host,389) ;
$conn = ldap_connect( "ldap://".$host,14XXX) ;
ldap_set_option($conn, LDAP_OPT_PROTOCOL_VERSION, 3);
//Matching DN admin and password
$bind = ldap_bind( $conn, $dn, $pwd_admin);
if ($bind){
Expand Down

0 comments on commit c87a7c6

Please sign in to comment.