Heironimus,
Thanks.. I was just actually about to mention that the "net" man pages do mention that option. There is also however a "CHANGESECRETPW":
CHANGESECRETPW
This command allows the Samba machine account password to be set from
an external application to a machine account password that has already
been stored in Active Directory. DO NOT USE this command unless you
know exactly what you are doing. The use of this command requires that
the force flag (-f) be used also. There will be NO command prompt.
Whatever information is piped into stdin, either by typing at the com-
mand line or otherwise, will be stored as the literal machine pass-
word. Do NOT use this without care and attention as it will overwrite
a legitimate machine password without warning. YOU HAVE BEEN WARNED.
Can I actually script this "NET RPC CHANGETRUSTPW" thingy?
Hakuna Matata.