Figure 2. When a user requests access to a domain resource, the request is sent to the SAMLIB.DLL file, which passes the request to the SAMSRV.DLL file.