[Samba] Running custom scripts after user creation.

Andrew Bartlett abartlet at samba.org
Wed Feb 3 09:16:16 UTC 2021

On Wed, 2021-02-03 at 08:30 +0000, Peter Boos via samba wrote:
> Hello, 
> We're running two samba servers in a single domain as DC's, and use a
> windows client with
> active directory users and computers mmc to manage the domain.
> After a user has been created several Linux side actions need to be
> done.
> And so I wonder, would it be somehow possible to launch 
> A Debian shell script after user creation?  
> So I guess on DC checks for new users and runs a script.
> if its also possible to launch a script after we set a user to
> disabled
> That would be nice as well.

The infrastructure for "samba-tool user syncpasswords" might help.

Andrew Bartlett

Andrew Bartlett (he/him)       https://samba.org/~abartlet/
Samba Team Member (since 2001) https://samba.org
Samba Team Lead, Catalyst IT   https://catalyst.net.nz/services/samba

More information about the samba mailing list