diff options
Diffstat (limited to 'source4/param')
-rw-r--r-- | source4/param/param.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/param/param.h b/source4/param/param.h index 931f66902c..85db1c3857 100644 --- a/source4/param/param.h +++ b/source4/param/param.h @@ -44,6 +44,12 @@ struct smbsrv_connection; typedef NTSTATUS (*init_module_fn) (void); +/* this needs to be a string which is not in the C library. We + previously used "init_module", but that meant that modules which + did not define this function ended up calling the C library + function init_module() which makes a system call */ +#define SAMBA_INIT_MODULE "samba_init_module" + enum server_role { ROLE_STANDALONE=0, ROLE_DOMAIN_MEMBER=1, |