diff options
Diffstat (limited to 'source4/smbd')
-rw-r--r-- | source4/smbd/config.m4 | 1 | ||||
-rw-r--r-- | source4/smbd/config.mk | 8 | ||||
-rw-r--r-- | source4/smbd/service.c | 3 |
3 files changed, 12 insertions, 0 deletions
diff --git a/source4/smbd/config.m4 b/source4/smbd/config.m4 index 52ccb68aa8..5142e81f84 100644 --- a/source4/smbd/config.m4 +++ b/source4/smbd/config.m4 @@ -3,6 +3,7 @@ dnl # server subsystem SMB_MODULE_MK(server_service_auth,SERVER_SERVICE,STATIC,smbd/config.mk) SMB_MODULE_MK(server_service_smb,SERVER_SERVICE,STATIC,smbd/config.mk) SMB_MODULE_MK(server_service_rpc,SERVER_SERVICE,STATIC,smbd/config.mk) +SMB_MODULE_MK(server_service_ldap,SERVER_SERVICE,STATIC,smbd/config.mk) SMB_SUBSYSTEM_MK(SERVER_SERVICE,smbd/config.mk) SMB_SUBSYSTEM_MK(SERVER,smbd/config.mk) diff --git a/source4/smbd/config.mk b/source4/smbd/config.mk index f002341a26..5aa04725b4 100644 --- a/source4/smbd/config.mk +++ b/source4/smbd/config.mk @@ -24,6 +24,14 @@ REQUIRED_SUBSYSTEMS = \ # End MODULE server_rpc ################################################ +################################################ +# Start MODULE server_service_ldap +[MODULE::server_service_ldap] +REQUIRED_SUBSYSTEMS = \ + LDAP +# End MODULE server_ldap +################################################ + ####################### # Start SUBSYSTEM SERVICE [SUBSYSTEM::SERVER_SERVICE] diff --git a/source4/smbd/service.c b/source4/smbd/service.c index 270eeb4f22..2f4be5151d 100644 --- a/source4/smbd/service.c +++ b/source4/smbd/service.c @@ -292,6 +292,9 @@ const struct server_service_ops *server_service_byname(const char *name) if (strcmp("rpc",name)==0) { return dcesrv_get_ops(); } + if (strcmp("ldap",name)==0) { + return ldapsrv_get_ops(); + } return NULL; } |