LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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-16-2016, 08:01 AM   #1
ronald123
LQ Newbie
 
Registered: Jun 2016
Posts: 4

Rep: Reputation: Disabled
ldap authentication


Hi,

we have an existing ldap server which we can access through port forwarding. we want to implement the ldap authentication on our local machine. My question is how can I configure the existing ldap on our local machine? Kindly help me.

Thanks
 
Old 06-16-2016, 08:17 AM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,919

Rep: Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689
Quote:
Originally Posted by ronald123 View Post
Hi,
we have an existing ldap server which we can access through port forwarding. we want to implement the ldap authentication on our local machine. My question is how can I configure the existing ldap on our local machine? Kindly help me.
Read the "Question Guidelines" link in my posting signature. You are not providing ANY useful details that would let anyone help you...things like version/distro of Linux on your local machine, your environment, how you're authenticating now, and what, exactly, the 'port forwarding' detail has to do with anything.

There are MANY how-to guides you can easily find with a brief Google search. Putting in "how to use ldap authentication on centos", for example, yields over 225,000 hits...the VERY FIRST ONE is:
https://www.centos.org/docs/5/html/D...-ldap-pam.html

Replace "centos" with whatever distro you have.
 
Old 06-16-2016, 08:18 AM   #3
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 616

Rep: Reputation: 64
Quote:
Originally Posted by ronald123 View Post
Hi,

we have an existing ldap server which we can access through port forwarding. we want to implement the ldap authentication on our local machine. My question is how can I configure the existing ldap on our local machine? Kindly help me.

Thanks
You mean you want to use LDAP for user authentication on your local system? You might need to install openldap client for that and configure it. Check Client Setup section on the below link

https://wiki.archlinux.org/index.php...authentication
 
Old 06-16-2016, 10:52 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,919

Rep: Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689
Quote:
Originally Posted by Sayan Acharjee View Post
You mean you want to use LDAP for user authentication on your local system? You might need to install openldap client for that and configure it. Check Client Setup section on the below link
Right...which is what he was directed to in the first reply.
...which will only really help if they're using Arch, and they haven't said....
 
Old 06-16-2016, 11:03 PM   #5
ronald123
LQ Newbie
 
Registered: Jun 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
ldap authentication

Hi sir, thank you for the reply. The ldap server is using Apache Directory Studio and i want to authenticate it our local ubuntu/fedora machine. I still can't find a way to do it. Kindly help.
 
Old 06-17-2016, 01:02 AM   #6
Sayan Acharjee
Member
 
Registered: Feb 2010
Location: Chennai, India
Distribution: Manjaro
Posts: 616

Rep: Reputation: 64
Quote:
Originally Posted by TB0ne View Post
Right...which is what he was directed to in the first reply.

...which will only really help if they're using Arch, and they haven't said....
That was just an example, I figured he could search it for his own distro. Yes, OP should have mentioned his distro
 
Old 06-17-2016, 02:19 AM   #7
JJJCR
Senior Member
 
Registered: Apr 2010
Posts: 1,102

Rep: Reputation: 181Reputation: 181
Quote:
Originally Posted by ronald123 View Post
Hi sir, thank you for the reply. The ldap server is using Apache Directory Studio and i want to authenticate it our local ubuntu/fedora machine. I still can't find a way to do it. Kindly help.
Try this in your favorite search engine "ubuntu ldap authentication apache directory"

Or check out this link: http://www.server-world.info/en/note...4&p=httpd&f=12
 
1 members found this post helpful.
Old 06-17-2016, 08:51 AM   #8
ronald123
LQ Newbie
 
Registered: Jun 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
ldap authentication

Hi,

we have an existing ldap server which we can access through port forwarding, the server is using phpldapadmin. We want to implement the ldap authentication on our local machine. My question is how can I configure the existing ldap on our local machine? i followed this steps on this link: http://linuxgyd.blogspot.com/2014/07...in-ubuntu.html
But it's still not working. Kindly help.
 
Old 06-17-2016, 10:17 AM   #9
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,919

Rep: Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689
Quote:
Originally Posted by ronald123 View Post
Hi,
we have an existing ldap server which we can access through port forwarding, the server is using phpldapadmin. We want to implement the ldap authentication on our local machine. My question is how can I configure the existing ldap on our local machine? i followed this steps on this link: http://linuxgyd.blogspot.com/2014/07...in-ubuntu.html
But it's still not working. Kindly help.
AGAIN:
  • The "port forwarding" is meaningless.
  • PHPldapadmin is also meaningless, since that is only a front-end to create/modify users
  • You STILL don't say what version of Ubuntu you're using...in your last post you said "ubuntu/fedora"...which is it?
  • Apache Directory Studio doesn't matter either
  • And just saying "still not working" TELLS US NOTHING.
You need to provide DETAILS and ERROR(s)/MESSAGE(s) if you want help.
 
Old 06-20-2016, 04:30 AM   #10
ronald123
LQ Newbie
 
Registered: Jun 2016
Posts: 4

Original Poster
Rep: Reputation: Disabled
How can i see the configuration of our existing ldap server? I am using ubuntu 14.04 LTS. I can't authenticate client user computers using the LDAP server. I want to remove local users created on our Local DB Server. Instead, using our ldap server users for authenticating. Please help..
 
Old 06-20-2016, 08:24 AM   #11
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,919

Rep: Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689Reputation: 3689
Quote:
Originally Posted by ronald123 View Post
How can i see the configuration of our existing ldap server?
Did you try asking the administrator? Did you try looking up something, like maybe "how to query an ldap server from the linux command line", which would return something like this as one of the VERY FIRST HITS???
http://www.vinidox.com/ldap/querying...dd-ldapmodify/
Quote:
I am using ubuntu 14.04 LTS.
...which is what you were asked THREE TIMES previously, and have just now shared.
Quote:
I can't authenticate client user computers using the LDAP server. I want to remove local users created on our Local DB Server. Instead, using our ldap server users for authenticating. Please help..
Right, we understand this...you've said it several times. What you STILL haven't said is what the ACTUAL PROBLEM IS. Again, saying "can't", or "not working", tells us ABSOLUTELY NOTHING.

AGAIN, putting "how to set up ubuntu 14.04 lts to authenticate with an ldap server" into Google pulls up, amazingly....how to guides FROM UBUNTU:
https://help.ubuntu.com/community/LD...Authentication

AGAIN...just saying "can't authenticate", and "not working" is meaningless, as is re-stating your question multiple times. Either post the error(s)/message(s) you're getting, and tell us what you're doing to GET them, or it's pointless to post here.
 
  


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
[LDAP] -Setup Ldap for user authentication based on time trung1490 Linux - Server 1 02-23-2016 01:53 PM
[SOLVED] LDAP authentication error [Can't contact LDAP server] from apache httpd jonathan_w_brown Linux - Server 6 12-28-2011 06:30 PM
What are my options to enable LDAP authentication for certain LDAP users? ghost_dancer999 Linux - Security 1 10-18-2011 02:41 AM
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


All times are GMT -5. The time now is 12:14 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