LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-27-2011, 11:29 AM   #1
ansrewdps
Member
 
Registered: Dec 2010
Posts: 56

Rep: Reputation: 0
LDAP Authentication - url


All,

Is there anyway when an user clicks on a url(which is infact a video link) it asks for username and password and checks with LDAP server for authentication. Finally, the user gets redirected to that url.

I'm working on RHEL 5.

Thanks

Andrew
 
Old 06-27-2011, 11:57 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
well yes, but this is nothing at all to do with a link in itself. the link would need to go to some part of a web server which requires authentication. If you use standard apache ldap authentication it'll do what you want.

If you want to do this at application level not server level, then again yes you can, but that's down to totally arbitrary code you'd need to work out for yourself.
 
Old 06-27-2011, 12:10 PM   #3
ansrewdps
Member
 
Registered: Dec 2010
Posts: 56

Original Poster
Rep: Reputation: 0
Thanks Chris,

When I tried to do some research, I found something like this...Will something like this work??

To enable your web pages to use LDAP authentication, please follow the listed steps:
Create a file named .htaccess in the directory you wish to protect
Inside it insert something like this:
AuthzLDAPMethod ldap
AuthName "Apache LDAP Authentication"
AuthType Basic
AuthzLDAPServer ldap.cs.kent.edu
AuthzLDAPUserBase ou=People,dc=cs,dc=kent,dc=edu
AuthzLDAPUserKey uid
require user username


Thanks

Andrew
 
Old 06-27-2011, 12:35 PM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
well that is not authentication, it's authorization, which is different. It's probably going to provide a similar experience but it's not the same.

http://httpd.apache.org/docs/2.0/mod/mod_ldap.html
 
Old 07-07-2011, 09:37 AM   #5
ansrewdps
Member
 
Registered: Dec 2010
Posts: 56

Original Poster
Rep: Reputation: 0
And is that how we authenticate the rstp link(video link) we've on our server???

Thanks

Andrew
 
Old 07-07-2011, 09:39 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Right, well didn't mention RTSP until then did you? Refer to to the docs for the RTSP server you are using.
 
  


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
Authentication Failure in LDAP after the Modification of ldap to ldaps url vijith.pa@gmail.com Linux - Newbie 3 06-03-2011 06:30 AM
[SOLVED] Apache authentication: allow LDAP group OR user named guest, but not all LDAP users AlucardZero Linux - Server 1 05-25-2011 04:21 PM
ldap authentication imhere Linux - Networking 0 09-24-2010 09:29 AM
secure ldap connectivity and store certificate and url tanveer Linux - Server 4 11-08-2009 01:22 PM
help in LDAP authentication chickenjoy Linux - Server 3 06-14-2007 06:28 AM


All times are GMT -5. The time now is 04:34 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration