r26227: Make loadparm_context part of a server task, move loadparm_contexts further...
[bbaumbach/samba-autobuild/.git] / source4 / dsdb / repl / drepl_service.c
index e56e2e179c631ea43b86e9520181c6602403de82..5c74dbfb72581dec15d8a032ce767c94cf8ca2a9 100644 (file)
@@ -50,7 +50,7 @@ static WERROR dreplsrv_connect_samdb(struct dreplsrv_service *service)
        const struct GUID *ntds_guid;
        struct drsuapi_DsBindInfo28 *bind_info28;
 
-       service->samdb = samdb_connect(service, service->system_session_info);
+       service->samdb = samdb_connect(service, global_loadparm, service->system_session_info);
        if (!service->samdb) {
                return WERR_DS_SERVICE_UNAVAILABLE;
        }