Update auth.php with LDAP option to specify port

We use Zentyal which used different port for LDAP read only queries, by default on port 390.


Below example configrarion, hope someone will find it helpful someday. Remember to adjust to your needs.

$LDAP_options = array
(
	'server' => 'zentyal-dc.example.com',
	'port' => 390,
	'domain' => '',
	'search_attr' => 'uid',
	'search_dn' => 'dc=dir,dc=example,dc=com',
 // The following credentials will be used when searching for the user's DN:
	'search_bind_rdn' => 'cn=zentyalro,dc=dir,dc=xstream,dc=dk',
	'search_bind_password' => 'enter_pass_here',
	'displayname_attrs' => 'cn',
	'options' => array (LDAP_OPT_PROTOCOL_VERSION => 3),
	'use_tls' => 0,         // 0 == don't attempt, 1 == attempt, 2 == require
);
finalize the previous change