LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices



Reply
 
Search this Thread
Old 02-21-2006, 04:02 PM   #1
monz
Member
 
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 03:22 PM.
 
Old 02-21-2006, 05:10 PM   #2
pljvaldez
Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Squeeze (x86)
Posts: 6,092

Rep: Reputation: 269Reputation: 269Reputation: 269
Try this link:

http://mcwhirter.com.au/node/8
 
  


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


All times are GMT -5. The time now is 12:17 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration