Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 02-21-2006, 03:02 PM   #1
Registered: Apr 2004
Location: Cph, dk
Distribution: Gentoo, Slackware, RHEL. Debian/Ubuntu, FreeBSD, Solaris, OSX, MS
Posts: 57

Rep: Reputation: 15
LDAP-based auth, xtra packages and conf-files

I'm trying to use (K)Ubuntu as a WS in an LDAP-based network. Seems I need to install some xtra packages to get it working. I've got my notes at work (home now), so I don't remember exactly what I needed to install.

Anyone done that, and which xtra packages was needed?

I noticed that LDAP files are placed in /etc/ldap/, vs /etc/openldap/ on other systems we use (FC4, Gentoo).
Moreover, that dir only had one file, ldap.conf, no other nor any subdirs.
Likewise, there was no /etc/ldap.conf .

EDIT: Seems the conffile is /etc/pam_ldap.conf (IIRC); /etc/ldap.conf and /etc/ldap/ldap.conf can be renamed without making any difference at all.
However, I continuously get an error something like 'Cannot contact LDAP server' related to 'simple nss lookup', IIRC (again, I'm home now, too little time at work ), though it looks like all has been correctly defined in the conffile.
Somewhere else, I saw a note about possible version mismatch if the installed LDAP is a higher version than that on the server. Our servers are FreeBSD (don't remember which version), using OpenLDAP. Other clients, FC4 and Gentoo, have no problem contacting/using the LDAP server. I'm puzzled...

@pljvaldez: I followed the links about PAM setup.
Dunno which Ubuntu were used; the latest Kubuntu is a bit different WRT contents in those files. Some files include others, but who cares, same thing.
If I use those methods, Kubuntu starts asking for LDAP password at login. This behaviour can be changed using options to the PAM stuff, I'm sure.

Last edited by monz; 02-22-2006 at 02:22 PM.
Old 02-21-2006, 04:10 PM   #2
LQ Guru
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
Try this link:


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
Problem with ldap auth Drunkalot Fedora 3 01-29-2006 08:29 PM
proftpd LDAP auth failing tisource Linux - Networking 1 03-30-2005 05:32 PM
Auth via LDAP on eDirectory jtweaker Linux - Networking 1 12-28-2004 08:18 AM
Ldap + smb auth PcHammer Linux - Software 0 02-17-2003 03:19 AM
ldap auth - nsswitch - pam_ldap td3201 Linux - General 1 01-27-2002 10:13 PM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 02:39 PM.

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