+ Post New Thread
Results 1 to 7 of 7
Web Development Thread, LDAP Automatic Authentication in Coding and Web Development; can anyone help me out with automatic login using LDAP for an intranet? Ive looked through several articles but i ...
  1. #1
    Flakes's Avatar
    Join Date
    Nov 2009
    Location
    Newcastle
    Posts
    476
    Thank Post
    38
    Thanked 74 Times in 48 Posts
    Rep Power
    27

    LDAP Automatic Authentication

    can anyone help me out with automatic login using LDAP for an intranet? Ive looked through several articles but i have to admit im struggling to get my head around a lot of it, im currently building a replacment School Notice board/Intranet for internal use only, what i would like is for the user to browse to the page and for the server to automatically pick up who is logged into the computer.

    Ive seen it done before in opensource projects including MRBS and the liberium help desk, so i know its possible but how do you do it?


    well so far ive only managed to succeed in giving myself a headache....specially since im pretty sure i have to use ASP, a language im not familiar with.

    ive been looking through: How to authenticate against the Active Directory by using Forms authentication and Visual C# .NET but it doesnt appear to be what i need/want.

  2. #2

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,258
    Thank Post
    671
    Thanked 1,644 Times in 1,466 Posts
    Rep Power
    424
    Is this intranet site running under iis? I guess so as you've mentioned asp in that case just use the built in authentication mechanisms?

    Ben

  3. #3
    Flakes's Avatar
    Join Date
    Nov 2009
    Location
    Newcastle
    Posts
    476
    Thank Post
    38
    Thanked 74 Times in 48 Posts
    Rep Power
    27
    Quote Originally Posted by plexer View Post
    Is this intranet site running under iis? I guess so as you've mentioned asp in that case just use the built in authentication mechanisms?

    Ben
    i would but for ease of use and functionality for the teachers i wanted to dismiss the use of a login box altogether, also learning ldap authentication would come in really useful in the future. However if it comes down to the worst scenario i will just use the built in authentication using IIS.

  4. #4

    Join Date
    Jan 2010
    Posts
    15
    Thank Post
    0
    Thanked 3 Times in 3 Posts
    Rep Power
    10
    Why not use sharepoint for the intranet site?

  5. #5

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,258
    Thank Post
    671
    Thanked 1,644 Times in 1,466 Posts
    Rep Power
    424
    integrated authentication using iis on a domain won't prompt them for login credentials.

    Ben

  6. #6
    Flakes's Avatar
    Join Date
    Nov 2009
    Location
    Newcastle
    Posts
    476
    Thank Post
    38
    Thanked 74 Times in 48 Posts
    Rep Power
    27
    I realised why i kept being asked for the username and password i was using Firefox, however i found away around that, using the about:config in firefox.

    type about:config into the address bar,
    filter for ntlm
    doubleclick: network.automatic-ntlm-auth.trusted-ums
    enter the name of the server you are running the site from...

    now i just need to find a way to pass these settings down in group policy as most of our users use firefox, in IE the site does not ask for username and password.

  7. #7

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,258
    Thank Post
    671
    Thanked 1,644 Times in 1,466 Posts
    Rep Power
    424
    Yes that would be why.

    Or you could look at an ntlm proxy for use with firefox maybe?

    Ben

SHARE:
+ Post New Thread

Similar Threads

  1. Moodle - LDAP Authentication
    By Hightower in forum Virtual Learning Platforms
    Replies: 8
    Last Post: 25th January 2010, 06:04 PM
  2. IPCOP - ldap authentication?
    By spacehopper in forum How do you do....it?
    Replies: 2
    Last Post: 23rd September 2009, 11:00 AM
  3. Moodle LDAP authentication
    By FN-GM in forum Virtual Learning Platforms
    Replies: 10
    Last Post: 25th May 2008, 11:58 AM
  4. e107 - LDAP authentication
    By alan-d in forum Web Development
    Replies: 11
    Last Post: 28th February 2007, 06:21 PM
  5. MediaWiki LDAP AD authentication
    By plexer in forum How do you do....it?
    Replies: 7
    Last Post: 22nd February 2007, 08:54 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •