Displaying 2 results from an estimated 2 matches for "monitor_ldap".
2020 Nov 23
3
Floating IP breaks AD replication
...t; resolved to both and the client can pick
I want to avoid Round-Robin DNS
> You cannot use CTDB with AD DCs
You can.
/etc/ctdb/nodes
192.168.30.11
192.168.30.12
/etc/ctdb/public_addresses
192.168.30.10/24 ens18
/etc/ctdb/events/legacy/20.samba-ad.script
#!/usr/bin/env bash
function monitor_ldap() {
ldbsearch -H ldap://127.0.0.1 -s base -b "" vendorName 2>/dev/null | grep -qi samba
if [[ $? -eq 0 ]]; then
return 0
else
echo "ldbsearch received no info"
return 1
fi
}
case "$1" in
monitor)
monitor_ldap || exit 1
;;
esac...
2020 Nov 23
3
Floating IP breaks AD replication
Maybe this is a stupid idea, but what we are doing here is using just the
domain name for all sorts of services, i.e. LDAP.
So instead of pointing a client to dc1.somedom.contoso.com or
dc2.somedom.contoso.com, we point them to somedom.contoso.com which is then
resolved to both and the client can pick.
Best regards
Johannes
Am Mo., 23. Nov. 2020 um 17:02 Uhr schrieb Rowland penny via samba <