Running Debian Linux with samba, smbclient and samba-common-bin packages installed.  I am trying to run the command (as root for now and adding response)
root@machine:/# net -W WORKGROUP -n HOSTNAME
Invalid command: net
Usage... and all the options
and I am getting the response "Invalid Command" even though this should be the correct usage.  Running man net gets me all the man pages and net help gives all possible  options including the the above.
The intent is to configure a Debian Mini-Linux USB stick for a Clonezilla cloning operation. Our Intrusion Detection System is set up to recognize the workgroup as WORKGROUP and CLONEZILLA (hostname) along with a particular brand of NIC card to allow it on the network.
After more research, I found that smb.conf is configured for workgroup = WORKGROUP and I have put CLONEZILLA in the hostname file in the stick. I was going to use the command line above to set those in the Clonezilla environment. Now I have to test against the IDS.
