search for: ldap_opt_debug_level

Displaying 2 results from an estimated 2 matches for "ldap_opt_debug_level".

2018 Nov 13
2
Samba4 AD LDAP Debug
...add some Entries via PHP to samba 4 AD LDAP. The insert work only party, some values like telephonenumber, ipPhone and facsimileTelephoneNumber are not set. ldap_add always return success. Is there a way to see whats going on in ldap and whats wrong? I have try to set ldap_set_option($connect, LDAP_OPT_DEBUG_LEVEL, 7); in php, but it doesn't output more infos. Best Regards,
2014 Mar 18
1
A record packet with illegal version was received.
...1338 - A record packet with illegal version was received. Here's the php script that tries to connect to the samba 4: <?php $ldap="samba.domain.com"; $usr="test at domain.com"; $pwd="s3cr3t"; $ds=ldap_connect($ldap); ldap_set_option(NULL, LDAP_OPT_DEBUG_LEVEL, 7); $ldapbind=false; if(ldap_set_option($ds, LDAP_OPT_PROTOCOL_VERSION, 3)) if(ldap_set_option($ds, LDAP_OPT_REFERRALS, 0)) if(ldap_start_tls($ds)) $ldapbind = ldap_bind($ds, $usr, $pwd); if(!$ldapbind) { echo "ERROR: "; echo l...