The AD plugin checks for connectivity during its initialization:
Configuring at startup via init.d groovy:
If this fails, it will throw an error at startup but will also create partial configuration, causing havoc:
It creates the block but leaves out bindName whic is not indicitive of a failure. It should either create NO configuration block on failure or add the bindName instead of only leaving out a piece.