LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-01-2021, 01:11 PM   #1
sniff
Member
 
Registered: Jan 2003
Location: Durham UK
Distribution: openSUSE/Debian/ubuntu
Posts: 362

Rep: Reputation: 42
guide for setting up ldap server with ubuntu


Hi all,

I would like to experiment with setting up an ldap server on ubuntu. I am having some trouble. It doesn't seem to try to authenticate users using ldap, I just get username not found when doing su - user or logging in.

Client systems also don't seem to be able to find the server, but ldapsearch works.

Is there a good howto out there as I think I need to try it again from the start.

Thanks. Phil
 
Old 06-01-2021, 07:29 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,335
Blog Entries: 28

Rep: Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144Reputation: 6144
Here's a howto from Ubuntu: https://ubuntu.com/server/docs/service-ldap

A web search of "ldap ubuntu" will turn up a number of other articles.
 
Old 06-02-2021, 04:23 AM   #3
sniff
Member
 
Registered: Jan 2003
Location: Durham UK
Distribution: openSUSE/Debian/ubuntu
Posts: 362

Original Poster
Rep: Reputation: 42
That is the one that I followed, among others. But I don't seem to be able to get the system going.

LDAP Account Manager shows the accounts but I cannot seem to be able to get actual logins going and I don't seem to get any errors reported in logs, or anything very useful in logs.

Maybe I will just try again from scratch, perhaps I just missed something and have since fiddled with it to the point where it will be easier to start again.
 
Old 06-04-2021, 12:28 PM   #4
elgrandeperro
Member
 
Registered: Apr 2021
Posts: 415
Blog Entries: 2

Rep: Reputation: Disabled
You are trying to use ldap to authenticate? The example you have doesn't address that at all. Did you setup the client?


Sort of like:

https://computingforgeeks.com/how-to...s-ldap-client/
 
Old 06-09-2021, 01:51 PM   #5
sniff
Member
 
Registered: Jan 2003
Location: Durham UK
Distribution: openSUSE/Debian/ubuntu
Posts: 362

Original Poster
Rep: Reputation: 42
Hey, I tried that guide too. I nearly got it to work with NFS for the home dirs, but its not really stable. Problems/error with it not being able to contact the server consistently.

This isn't mission critical so I am going to have another crack at it soon.

My sort of plan is to share home/login from my home server with the two desktops that I have.
 
  


Reply



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
ubuntu ldap clients cannot login after ldap password is changed from the ldap server nitinm Ubuntu 8 08-20-2020 07:32 AM
OpenLDAP - Difference between etc/ldap.conf and etc/ldap/ldap.conf ramkrishnan Linux - Server 1 07-09-2018 02:01 PM
[SOLVED] openldap client fails to connect ldap server 'ldap_bind: Can't contact LDAP server' JALITE Linux - Server 12 09-30-2010 08:17 AM
Difference between /etc/ldap.conf vs. /etc/ldap/ldap.conf fahadaziz Linux - Server 8 07-14-2010 05:12 AM
Ubuntu Hardy (php-ldap):Can't contact LDAP server eantoranz Programming 7 12-02-2008 06:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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