Google
  Web www.spinics.net

simple command to check domain membership

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Linux]     [Info Cyrus]     [LARTC]     [Christmas Music]     [Bugtraq]     [Netfilter]     [Internet Dating Forums]     [RAID]     [Yosemite News]     [Photography]

Add to Google Powered by Linux