Re: [Samba] simple command to check domain membership

2008-07-04 Thread Michael Adam
Also, wbinfo -t is good to test winbind's connection to the trusted dc with the trust account. Cheers - Michael Guenther Deschner wrote: Mikael Kermorgant wrote: Hello, I'm planning to automate domain joining with samba+winbind for a classroom. Using cfengine, I'll have to trigger domain

Re: [Samba] simple command to check domain membership

2008-07-02 Thread Guenther Deschner
Mikael Kermorgant wrote: 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