LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 11-09-2011, 10:19 AM   #1
loadedmind
Member
 
Registered: Sep 2003
Location: Texas
Distribution: Red Hat/CentOS
Posts: 302
Blog Entries: 4

Rep: Reputation: Disabled
Authenticating against AD from accounts created via website


Hi all. I have a bit of a unique issue (or not) and wanted to ask the community if anyone may have a solution. This is going to be a long one, so please bear with me.

First, users will visit a website and register using their email address as the username, and whatever password they wish, of course. We'd like use an authentication service, such as Active Directory, to grant them access to apps via Terminal Services (which is replacing Citrix) which will serve up the necessary content for these folks. The reason it has to go through the extra layer of authentication is for this ability to launch applications as requested through a web interface. Once the user successfully logs on, if we have deemed that user should have permission, they'll tie into Active Directory which then grants the Terminal Services app. The web server that serves this web interface is RedHat so Apache will send the query to AD (Windows 2008 R2). So, I went into Active Directory and enabled the Identity Management for Unix service/role/feature. Still haven't quite ironed out that process, but, for now at least, it seems that the issue is that somehow the auth method is forcing Windows 2000 logon criteria which limits the username to 20 characters. Since a domain was established, there are also two @ symbols to contend with which complicates things further as this is not well tolerated. Our dev seems to think it should be a fairly easy thing to convert the first @ symbol with an underscore, but this is still creating problems when handed off to AD because it's forcing that Windows 2000 limitation.

If anyone has any input/suggestions, it would be much appreciated. At this point, we're fairly certain we'll have to stick with AD because it seems so much cheaper to move to Terminal Services over Citrix to present requested apps to the user, but we're open to any/all feedback.

Thanks for your time.
 
Old 11-09-2011, 01:27 PM   #2
kbscores
Member
 
Registered: Oct 2011
Location: USA
Distribution: Red Hat
Posts: 259
Blog Entries: 9

Rep: Reputation: 32
Not 100% familiar with authentication and websites however Active Directory plays nice with LDAP. I know there is a mod for apache servers called mod_auth_ldap. It might be worth the time to look into and see if you can't use ldap to interface with active directory. If I am reading this correctly. Sorry if I am not.

I also know there are several configurations on a linux box as well as utilities necessary to allow active directory - for example winbind, nsswitch - etc...
 
Old 11-09-2011, 01:29 PM   #3
kbscores
Member
 
Registered: Oct 2011
Location: USA
Distribution: Red Hat
Posts: 259
Blog Entries: 9

Rep: Reputation: 32
After looking some more I found this web site about mod_ldap_auth. It might be helpful.

http://httpd.apache.org/docs/2.0/mod/mod_auth_ldap.html
 
Old 11-09-2011, 05:02 PM   #4
loadedmind
Member
 
Registered: Sep 2003
Location: Texas
Distribution: Red Hat/CentOS
Posts: 302

Original Poster
Blog Entries: 4

Rep: Reputation: Disabled
Our dev already has that module installed, but it seems that, for whatever reason, they can't get past a limitation somehow indirectly imposed on the accounts created in AD. Somehow it's forcing Windows 2000 logon names which has a 20-character limit. So, we're having to contend with that as well as the fact that AD doesn't seem to work like LDAP does in that one is able to create containers that can be associated with other TLD's.
 
Old 11-16-2011, 01:07 PM   #5
loadedmind
Member
 
Registered: Sep 2003
Location: Texas
Distribution: Red Hat/CentOS
Posts: 302

Original Poster
Blog Entries: 4

Rep: Reputation: Disabled
Or would this question be better served in another forum?
 
Old 11-17-2011, 11:07 AM   #6
kbscores
Member
 
Registered: Oct 2011
Location: USA
Distribution: Red Hat
Posts: 259
Blog Entries: 9

Rep: Reputation: 32
Try Enterprise Linux. I'm going to consult a developer here that works w/web authentication. I believe they use a similar setup for authentication.
 
Old 11-29-2011, 10:24 AM   #7
loadedmind
Member
 
Registered: Sep 2003
Location: Texas
Distribution: Red Hat/CentOS
Posts: 302

Original Poster
Blog Entries: 4

Rep: Reputation: Disabled
Thanks kb. Because we haven't been able to find a viable solution in the Linux realm, it appears as though we're moving off of Red Hat and onto Microsoft-only solution which is IIS/Tomcat. If nothing else, it may end up becoming less of an administrative burden since technical resources will be limited. I'd still be interested in the outcome of your conversation with your dev.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to allow non admin user accounts to access files created in other o/s. Dadofmykids Linux Mint 5 05-10-2011 03:19 PM
Authenticating Web Users against Linux Accounts. demia Linux - Server 6 05-16-2009 06:09 PM
General question on users accounts that are created automatically. Marty McNamara Linux - Kernel 2 01-10-2009 05:03 PM
created user picks up machine accounts chozz Linux - General 0 08-22-2008 09:16 AM
Authenticating Website Users against Active Directory deadlock Linux - Server 1 01-15-2008 05:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 12:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration