search for: has_hostnam

Displaying 1 result from an estimated 1 matches for "has_hostnam".

Did you mean: has_hostname
2008 Jul 02
1
simple command to check domain membership
Hello, I'm planning to automate domain joining with samba+winbind for a classroom. Using cfengine, I'll have to trigger domain joining by checking current status via a shell command. An example : has_hostname = ( '/bin/test -f /etc/hostname' ) What would be a simple and safe test to check whether or not the machine has already been joined to the domain ? Thanks in advance, -- Mikael Kermorgant