#!/usr/share/ucs-test/runner bash
# shellcheck shell=bash
## desc: Check if the DC master is member of Enterprise Domain Controller
## exposure: safe
## bugs: [41549]
## tags:
##  - basic
##  - apptest
## packages:
##  - univention-samba4

# shellcheck source=../../lib/base.sh
. "$TESTLIBPATH/base.sh" || exit 137

id "${ldap_master%%.$domainname}$" | grep 'Enterprise Domain Controllers' ||
	fail_fast 110 "DC master is not member of Enterprise Domain Controllers"
