Removed kludge used to test if host is joined to domain.
This commit is contained in:
parent
d34b44cf8c
commit
bd64cd7545
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ class samba::domainmember {
|
|||
command => "net join -U ${samba_join_user}%\"\${SECRET}\"",
|
||||
environment => "SECRET=${samba_join_pass}",
|
||||
path => "/bin:/usr/bin:/sbin:/usr/sbin",
|
||||
onlyif => "rpcclient localhost -c 'srvinfo' -U root%'' 2>&1 | grep 'NT_STATUS_CANT_ACCESS_DOMAIN_INFO'",
|
||||
unless => "net rpc testjoin -U ${samba_join_user}%\"\${SECRET}\"",
|
||||
require => Service["smb"],
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue