Looking for a way to update all of my users' email address value in a Samba domain. I have limited knowledge of samba-tool
and pdbedit
, but they do not seem to allow command-line editing of a single field. I thought I'd build a script based on:
samba-tool user edit --mail-address=newemail@domain.ext username
Is there a way to accomplish this, possibly learning about new tools in the process?