Over on Blah Blah Blog, Nathan has come up with what he describes as the “Holy Grail” of RT authentication in a Windows environment:
A lot of people use RT to track helpdesk requests, problem reports and other incident data at their jobs. An even larger number of people use or are forced to use Microsoft Active Directory as the central repository of username and password information at their jobs. As a result, probably the single most-asked question on the rt-users mailing list is “how do I unify logins between RT and ActiveDirectory?” Following close on behind that is “how do I get RT to use Windows authentication so people don’t have to type in their password twice?” Strangely, these are questions that seemed to lack any authoritative answers.
Until now.
In any application, one would be better off using LDAP for authentication than some home-brew thing.
Microsoft wisely saw fit to make the AD an LDAP server as well, so if your app does the ‘DAP, you simply point it at the DC and have at it.
Bryan–
The first cut of my article actually used the apache mod_authz_ldap module for authentication, and when I have some spare cycles I’m going to write up a section on how to do this without touching apache at all, but using only Net::LDAP from inside RT.
That said, there are a couple of advantages to using NTLM instead of LDAP.
First and foremost, it’s much more intuitive for users: they log in once to Windows itself, and then RT (or whatever the website is) “just works” when they browse to it, and they don’t have to re-authenticate. Considering that my helpdesk staff tends to field at least 2-3 requests a week from users who can’t seem to retain the idea that their Windows password can be used in other places, this is not insignificant.
Secondly… ADS speaks something that can charitably be called a dialect of LDAP, but it’s got some extremely strange quirks that can bite you on the ass in production. For instance, if a Windows user is a member of two or more LDAP groups, only the second or subsequent group will be returned as a “memberOf” attribute by an LDAP search. So if, for instance, you want to restrict access to members of the “Domain Users” group (cn=Domain Users, cn=Users, dc=site, dc=com), then every single one of those users had better also be a member or at least one other group, or your ldap search for “(&(sAMAccountName=foo)(memberOf=Domain Users))” will fail.
Also, LDAP queries are by default in cleartext, and at least in Server 2000, Microsoft’s TLS support is sorely lacking. NTLMv2 is a reasonably secure (and amply documented) challenge-response protocol. This also frees you from having to use SSL on the apache side to secure the password exchange between the user and the webserver, before ADS even gets involved.
Faced with issues like that, I don’t think it’s necessarily a bad idea to fall back to using NTLM and SMB: they’re in no sense deprecated in favor of LDAP by Microsoft, the view of ADS’ internal structure they present is somtimes a bit less obfuscated, and the experience for the user can be a less frustrating one.
(sigh. the preview didn’t show my paragraph breaks, so I added <p> tags. so of course MT adds in paras for the actual post.)
Wife full of cum
Single Signon for RT u…
Erotic sexual story wife
Single Signon for RT u…
My daughter fucking
Single Signon for RT u…
Duaghter dad sex mother family group
Single Signon for RT u…
Brazil teen ass
Single Signon for RT u…
Hairy ass gay
Single Signon for RT u…
Core hard movie porn sex xxx
Single Signon for RT u…
Claire forlani sex scene video clips
Single Signon for RT u…
Butt fitting weld
Single Signon for RT u…
Wife sex stories and photos
Single Signon for RT u…
Spanking black woman
Single Signon for RT u…
1 free gay chat
Single Signon for RT u…
Paris hilton sex tape full
Single Signon for RT u…
Ebony lesbian video clip
Single Signon for RT u…
Vaginal anal sex
Single Signon for RT u…
Black porn star angel
Single Signon for RT u…
Free cartoon porn movie clip
Single Signon for RT u…
Showing thong wife
Single Signon for RT u…
Pirates porn
Single Signon for RT u…
Jennifer lopez ass galleries
Single Signon for RT u…
Cum in mouth unload wife
Single Signon for RT u…
Hardcore butt fucking
Single Signon for RT u…
Black amateur picture
Single Signon for RT u…
Ass vore
Single Signon for RT u…
Couple hardcore movie
Single Signon for RT u…
Amateur woman older mature
Single Signon for RT u…
Jordan sex movie
Single Signon for RT u…
Tranny surprise movie
Single Signon for RT u…
Free movie porn trailer video
Single Signon for RT u…
Plan 69 from outer space
Single Signon for RT u…
Removable stripper pole
Single Signon for RT u…