|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #76757 php-ldap resolve LDAP server with SRV record
Submitted: 2018-08-17 04:12 UTC Modified: 2021-03-22 14:23 UTC
From: audrey dot the dot zebra at gmail dot com Assigned:
Status: Open Package: LDAP related
PHP Version: Next Major Version OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
15 - 2 = ?
Subscribe to this entry?

 [2018-08-17 04:12 UTC] audrey dot the dot zebra at gmail dot com
It might be nice if php-ldap's bind could use SRV records to resolve an active LDAP server.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-08-17 09:39 UTC]
-Package: *General Issues +Package: LDAP related
 [2018-11-01 07:49 UTC]
-Status: Open +Status: Feedback
 [2018-11-01 07:49 UTC]
Feel free to submit a patch ;-)
 [2018-11-18 22:42 UTC]
-Status: Feedback +Status: Open
 [2021-03-22 13:40 UTC]
Note that this can be implemented in userland using

I’m not sure it would make sense to implement this in php-ldap, some kind of generic function to get information out of SRV records following RFC 2782 would make more sense.
 [2021-03-22 14:23 UTC] audrey dot the dot zebra at gmail dot com
I totally agree SRV support should be generally available. It becomes an easy failover mechanism for many protocols besides LDAP. 

At the time I opened the bug, I was very focused on relying on SRV records for LDAP server failover.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 17 07:01:27 2024 UTC