dnscontrol/providers/activedir/getzones_other.go
Craig Peterson bb1dcac520 Testing and fixing AD (#74)
* updates to AD

* fix linux build
2017-04-13 10:19:51 -06:00

17 lines
413 B
Go

// +build !windows
package activedir
func (c *adProvider) getRecords(domainname string) ([]byte, error) {
if !*flagFakePowerShell {
panic("Can not happen: PowerShell on non-windows")
}
return c.readZoneDump(domainname)
}
func powerShellDoCommand(command string, shouldLog bool) error {
if !*flagFakePowerShell {
panic("Can not happen: PowerShell on non-windows")
}
return powerShellRecord(command)
}