Skip to content

Commit

Permalink
Allow ipv6 ldap uris
Browse files Browse the repository at this point in the history
  • Loading branch information
thexa4 committed Nov 7, 2014
1 parent 15cf604 commit 592ea77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion systems/admin/systems/services/ldap/class_serviceLDAP.inc
Expand Up @@ -45,7 +45,7 @@ class serviceLDAP extends simpleService
'goLdapURI', TRUE,
'ldap://'._('fill-in-your-servers-dns-name').':389/',
'',
"/^ldap[si]?:\/\/[0-9a-z_.-]+(:[0-9]+)?\/.*$/"
"/^ldap[si]?:\/\/([0-9a-z_.-]+|\[[0-9a-f:]+\])(:[0-9]+)?\/.*$/"
),
new IntAttribute (
_('Size limit'), _('Limit the number of record returned'),
Expand Down

0 comments on commit 592ea77

Please sign in to comment.