Results 1 to 7 of 7

Thread: auto login with windows credentials

  1. #1
    browndogforever is offline Sugar Community Member
    Join Date
    Mar 2007
    Posts
    22

    Default auto login with windows credentials

    Is there a was to have sugar bypass the login screen and just use the AD user the person is logged into the domain with?


    Windows server 2003
    Sugar 5.1.0a faststack
    Using LDAP

  2. #2
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: auto login with windows credentials

    Are you talking about a SSO solution like Kerberos?

  3. #3
    browndogforever is offline Sugar Community Member
    Join Date
    Mar 2007
    Posts
    22

    Default Re: auto login with windows credentials

    Yes I believe so.

  4. #4
    eggsurplus's Avatar
    eggsurplus is offline Sugar Community Member
    Join Date
    Dec 2005
    Location
    Minnesota
    Posts
    2,343

    Default Re: auto login with windows credentials

    It may be possible with some custom coding. However, this is rarely implemented as it's a huge security risk as anyone who gets access to the machine that is logged in then has the ability to go into Sugar as that user. There are a couple of limitations of a solution like Kerberos as well but I can't recall them off hand. What I'd recommend in your case is just doing a simple LDAP authentication so that they don't need another user/pass.

  5. #5
    browndogforever is offline Sugar Community Member
    Join Date
    Mar 2007
    Posts
    22

    Default Re: auto login with windows credentials

    I am using LDAP. The issue is when they close the browser they need to re-login this happens several times a day. My domain and machine policies are solid. Just looking for a way to make it easier on the user.

  6. #6
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: auto login with windows credentials

    Just searching resp. developing such a solution.

    The problem is that the webserver does not know who you are!
    And there is no simple way for the webserver to find the calling user.

    If you want to use cookies this implements a big security gap!

    One possible solution could be to ask the LDAP system "who is the user on remote ip address $SERVER[REMOTE_HOST]" and than use this user for login.
    This is a security gab too, even if it is not so big as the above mentioned.

    A real good solution I could see yesterday on the SugarConference in Munich, it works with an USB stick for user identification.
    Harald Kuske
    Pre-Sales Engineer Central Europe

    SUGARCRM Deutschland GmbH
    Erika-Mann-Str. 53, 80636 Munich, Germany
    Email: hkuske@sugarcrm.com
    Home: http://www.sugarcrm.com


  7. #7
    dorphalsig is offline Sugar Community Member
    Join Date
    Feb 2008
    Posts
    14

    Talking Re: auto login with windows credentials

    Quote Originally Posted by kuske
    Just searching resp. developing such a solution.

    The problem is that the webserver does not know who you are!
    And there is no simple way for the webserver to find the calling user.
    I've implemented this for SugarCE 4.5 and SugarOS 5.0 running on a win2k3 server, single sign-on. Its got two parts.
    The first one, where the user gets authenticated vs AD and the second one the valid user obtained from the previous step is validated vs the sugar users database (no password is checked at this point, so no login screen will appear).

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Auto Login
    By morebob in forum General Discussion
    Replies: 7
    Last Post: 2011-12-28, 07:32 PM
  2. Setup of Active Directory login in fesh ver 5 install
    By altomkins in forum Installation and Upgrade Help
    Replies: 9
    Last Post: 2011-08-10, 10:32 AM
  3. Récupération des Login Windows
    By agdoudou in forum Français
    Replies: 3
    Last Post: 2008-07-08, 02:41 PM
  4. Sugar keeps requesting login credentials
    By pvdklooster in forum Help
    Replies: 3
    Last Post: 2008-01-14, 03:56 PM
  5. Auto upgrade to 3.5 on a windows server 2003 machine
    By dickb in forum General Discussion
    Replies: 4
    Last Post: 2005-08-20, 05:50 AM

Bookmarks

Posting Permissions

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