• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: LDAP, DirectoryService and loginwindow in Tiger
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: LDAP, DirectoryService and loginwindow in Tiger


  • Subject: Re: LDAP, DirectoryService and loginwindow in Tiger
  • From: Jason Townsend <email@hidden>
  • Date: Thu, 2 Jun 2005 09:35:44 -0700

On May 27, 2005, at 7:21 PM, Michael Bartosh wrote:
On May 20, 2005, at 3:12 PM, Finlay Dobbie wrote:
The manifestation of this is that you can't log in to the GUI whilst
authenticating against an LDAP server whose user accounts have
passwords stored in SHA-1 hashes, but you can log in using ssh (and
possibly other stuff).

Don't map the password attribute in the LDAPv3 Plug-in. DirectoryService will perform an LDAP bind to authent the user. iirc it will to aCRAM-MD5 bind if the server is capable. If I were you I'd disable clear-text binds. Or use ssl. At any rate giving the OS access to the hashes is a bad idea, since someone could brute force them.

Still, Finlay has a good point that more hash types should be supported. Not mapping the Password attribute is the appropriate workaround, but really the LDAP plug-in should be updated to deal with all the common hash types.


While doing a secure authentication is certainly preferable, if a password hash is readable then it should be used rather than doing a cleartext bind.

Login Window is intentionally using a different authentication method here, but I believe the problem is that when a hash is found it (which is not understood by the plug-in) it is not returning the appropriate eDSAuthFailedClearTextOnly which indicates that login can proceed. A secondary authentication will allow cleartext if the initial one is not a failure.

-Jason

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: Re: Darwin 8.0 on x86 and SMP (Dual CPU)
  • Next by Date: Re: About Group, OpenDirectory, Active Directory and Unix philosophy
  • Previous by thread: Re: Darwin 8.0 on x86 and SMP (Dual CPU)
  • Next by thread: Re: About Group, OpenDirectory, Active Directory and Unix philosophy
  • Index(es):
    • Date
    • Thread