Displaying 1 result from an estimated 1 matches for "ldap_errno".
Did you mean:
ld_errno
2014 Mar 18
1
A record packet with illegal version was received.
...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 ldap_error($ds);
echo " (".ldap_errno($ds).")";
}
else
echo "OK";
ldap_close($ds);
And the error from that script is:
ERROR: Connect error (-11)
Here's my smb.conf:
# Global parameters
[global]
workgroup = DOMAIN
realm = domain.com
netbios name = SAMBA
ser...