Shell script escape when new user is created

Greg Zartman gzartman at
Thu Nov 13 21:44:41 MST 2014

I started this topic over on the regular samba mailing list, but it seems
more of a development topic.

I'm working to deploy Samba in the SME Server project, a customized version
of Centos for small businesses and home users with an emphasis on ease of
use and solid configuration.

As we started to deploy Samba4, the issue came up of what to do about users
created using windows administration tools.  The users we create in the SME
Server are typically created in our server-manager GUI and multiple
services are setup for users when the user account is created such as
webmail, ftp, file shares, etc.   Since samba 4 allows administrators to
manage the Active Directory with windows administration tools, there really
needs to be a way that Samba can notify the system when a new user is
created.  Something like root preexec, but when users are created.  This
will allow for a shell script escape that could then be used to do other
things on the system.

Thank you,

Greg J. Zartman
Board Member

Koozali SME Server
SME Server user and community member since 2000

More information about the samba-technical mailing list