Shell script escape when new user is created

Quentin Gibeaux qgibeaux at
Fri Nov 14 01:17:05 MST 2014

There was an option for that on samba 3 : "add user script" ( 
), but it vanished with samba 4.
Same story with "add machine script".

On 14/11/2014 05:44, Greg Zartman wrote:
> 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