dnscontrol/providers/activedir/getzones_other.go

18 lines
405 B
Go
Raw Normal View History

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