How to enable NTLM for all intranet sites in Firefox?

200

You don't have to put specific URLs in the list — you can put entire domains. So, for example, adding mycompany.com should enable NTLM for mail.mycompany.com, monitor.mycompany.com, intranet.mycompany.com, &c. (You might need to do .mycompany.com with a leading dot, actually, i can't remember — and my current job doesn't use NTLM, so i can't test.)

You can also tell Firefox to enable NTLM for any site that doesn't have an FQDN (fully qualified domain name); this is useful if your company just uses http://intranet or something similar. To enable this, set network.automatic-ntlm-auth.allow-non-fqdn to true.

Share:
200

Related videos on Youtube

Thyagu Raj
Author by

Thyagu Raj

Updated on September 18, 2022

Comments

  • Thyagu Raj
    Thyagu Raj almost 2 years

    I used libglesv2.dll, libegl.dll library from (Angle project)..
    ( Note: that dlls i get from swift shader folder )
    default dlls works perfectly with vsync, but swiftshadder dlls vsync not works..
    i enable vsync via eglSwapInterval(egl_display, 1);
    without vsync i get tearing..
    My question is
    1, How to achive 60fps 90fps 120fps without tearing..?
    2, ( without tearing ) Vsync only solution then, how to works with swiftshadder..vsync ?

    see here sample code.. its works vsync on defualt dlls, but failed with swiftshaddder dlls..

    EGLConfig egl_config;
    EGLint num_config, majorVersion, minorVersion;
    
    EGLint config_attrib_list[] = {
        EGL_BUFFER_SIZE, 16,
        EGL_RENDERABLE_TYPE,
        EGL_OPENGL_ES2_BIT,
        EGL_NONE
    };
    
    EGLint context_attrib_list[] = {
            EGL_CONTEXT_CLIENT_VERSION, 2,
            EGL_NONE
    };
    
    egl_display = eglGetDisplay(NULL);
    eglInitialize(egl_display, &majorVersion, &minorVersion);
    eglChooseConfig(egl_display, config_attrib_list, &egl_config, 1, &num_config);
    egl_surface= eglCreateWindowSurface(egl_display, egl_config, (NativeWindowType)hwnd, NULL);
    egl_context = eglCreateContext(egl_display, egl_config, EGL_NO_CONTEXT, context_attrib_list);
    eglMakeCurrent(egl_display, egl_surface, egl_surface, egl_context);
    eglSwapInterval(egl_display, 1);
    
    const char *vs = "\
                attribute vec2 pos;\
                uniform vec2 offset;\
                void main() {\
                    gl_Position = vec4(pos + offset, 0, 1);\
                }";
    
    GLuint vertex_shader = glCreateShader(GL_VERTEX_SHADER);
    glShaderSource(vertex_shader, 1, &vs, NULL);
    glCompileShader(vertex_shader);
    const char *fs = "\
                void main() {\
                    gl_FragColor = vec4(1, 0, 0, 1);\
                }";
    GLuint fragment_shader = glCreateShader(GL_FRAGMENT_SHADER);
    glShaderSource(fragment_shader, 1, &fs, NULL);
    glCompileShader(fragment_shader);
    program = glCreateProgram();
    glAttachShader(program, vertex_shader);
    glAttachShader(program, fragment_shader);
    glLinkProgram(program);
    glUseProgram(program);
    glViewport(0, 0, 1366, 768);
    
    std::chrono::system_clock::time_point a = std::chrono::system_clock::now();
    std::chrono::system_clock::time_point b = std::chrono::system_clock::now();
    
    while ()
    {
        if (exit_app) break;
    
        render();
    
        a = std::chrono::system_clock::now();
    
        std::chrono::duration<double, std::milli> work_time = a - b;
        if (work_time.count() < 16.44)
        {
            std::chrono::duration<double, std::milli> delta_ms(16.44 - work_time.count());
            auto delta_ms_duration = std::chrono::duration_cast<std::chrono::milliseconds>(delta_ms);
            std::this_thread::sleep_for(std::chrono::milliseconds(delta_ms_duration.count()));
        }
        b = std::chrono::system_clock::now();
    
        eglSwapBuffers(egl_display, egl_surface);
    
    }
    


    default dlls ( libglesv2.dll, libegl.dll ) vsync works, i got 60fps.. smoother..
    swiftshader dlls ( libglesv2.dll, libegl.dll ) vsync not works, i got 60fps with tearing..

    see here simpile shape render code..

    glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
    static const float vertices[] = {
       1.0f,  0.0f,
      -0.5f,  0.5f,
       0.5f, -0.5f
    };
    glVertexAttribPointer(
        0, 2, GL_FLOAT, GL_FALSE,
        2 * sizeof(float), (GLvoid*)vertices
    );
    glEnableVertexAttribArray(0);
    GLuint offset_loc = glGetUniformLocation(program, "offset");
    glUniform2f(offset_loc, cosf(frame_number*0.1f), 0);
    frame_number++;
    glDrawArrays(GL_TRIANGLES, 0, 3);
    
  • Ray Cheng
    Ray Cheng about 11 years
    we don't use FQDN for intranet sites, so i'll try it out when I have a chance. thank you!
  • David McClelland
    David McClelland over 10 years
    @kine's first suggestion was right, I didn't have to use a leading dot or wildcards to get mycompany.com and all subdomains like dashboard.mycompany.com added.
  • Tarka
    Tarka over 8 years
    For anyone confused why entire domains aren't working like I was, using just mycompany.com doesn't work. You have to use http://mycompany.com.
  • Vomit IT - Chunky Mess Style
    Vomit IT - Chunky Mess Style almost 7 years
    Please clarify and add a little more context to this answer to convey what you are suggesting exactly. You know, consider adding some reference to this answer supporting what you state. Otherwise, read over "Why do I need 50 reputation to comment" to ensure you understand how you can start commenting.
  • I say Reinstate Monica
    I say Reinstate Monica almost 7 years
    This seems to be a comment on the already-accepted answer rather than a standalone answer of its own.