mirror of
https://github.com/StackExchange/dnscontrol.git
synced 2024-11-14 20:24:39 +08:00
bb1dcac520
* updates to AD * fix linux build
17 lines
413 B
Go
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)
|
|
}
|