liam-middlebrook / csh_ldap

Python 3 ORM for CSH LDAP
MIT License
2 stars 11 forks source link

Discover Servers via SRV Records and Handle Failover #9

Closed mbillow closed 6 years ago

mbillow commented 6 years ago

We shouldn't hard-code an LDAP server, it should discovered by looking for DNS records on CSH's DNS and then configuring failover in the case that a server goes down.

wasv commented 6 years ago

I'm probably gonna do this in a bit as an afternoon project.

mbillow commented 6 years ago

screen shot on 2018-04-20 at 15 32 59

This is what you are looking for: _ldap._tcp.csh.rit.edu

wasv commented 6 years ago

Would it be an issue if I added a dependency on srvlookup?

wasv commented 6 years ago

PR #10 fixes this.