Req #76757 [Opn]: php-ldap resolve LDAP server with SRV record

From: Date: Mon, 22 Mar 2021 14:23:53 +0000
Subject: Req #76757 [Opn]: php-ldap resolve LDAP server with SRV record
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-232917@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76757&edit=1

 ID:                 76757
 User updated by:    audrey dot the dot zebra at gmail dot com
 Reported by:        audrey dot the dot zebra at gmail dot com
 Summary:            php-ldap resolve LDAP server with SRV record
 Status:             Open
 Type:               Feature/Change Request
 Package:            LDAP related
 PHP Version:        Next Major Version
 Block user comment: N
 Private report:     N

 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------
[2021-03-22 13:40:44] mcmic@php.net

Note that this can be implemented in userland using https://www.php.net/manual/en/function.dns-get-record.php

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.

------------------------------------------------------------------------
[2018-11-01 07:49:15] heiglandreas@php.net

Feel free to submit a patch ;-)

------------------------------------------------------------------------
[2018-08-17 04:12:34] audrey dot the dot zebra at gmail dot com

Description:
------------
It might be nice if php-ldap's bind http://php.net/manual/en/function.ldap-bind.php
could use SRV records to resolve an active LDAP server.



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=76757&edit=1


Thread (1 message)

  • audrey dot the dot zebra at gmail dot com
  • Unknown Message
    • audrey dot the dot zebra at gmail dot com
« previous php.bugs (#232917) next »