LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 06-04-2007, 09:57 AM   #1
mapster
LQ Newbie
 
Registered: Mar 2005
Location: Norway
Distribution: Mandriva 2007
Posts: 23

Rep: Reputation: 15
configure as LDAP client


I've looked trough countless guides, howtos and manuals, but I absolutly cannot manage to get my client (ubuntu) to user authenticate on the LDAP server running on my ClarkConnect box. The only thing I've managed to get to work "$ ldapsearch -x" (on the client), which returns all the users in the database.

ldap.conf:
Code:
BASE	dc=ndt-lan,dc=com
URI	ldap://10.0.1.1:9009
libnss_ldap.conf:
Code:
host 10.0.1.1
base ndt-lan,dc=com
port 9009
ldap_version 3
# RFC 2307 (AD) mappings
# <to> <from>
nss_map_attribute userPassword sambaPassword
nss_map_attribute gecos name
nss_map_attribute uid unixName
nss_map_attribute shadowLastChange pwdLastSet
nss_map_objectclass posixGroup group
pam_filter objectclass=User
pam_password crypt

sasl_secprops maxssf=0
nsswitch.conf:
Code:
passwd:         ldap compat
group:          ldap compat
shadow:         ldap compat

hosts:          files dns mdns
networks:       files

protocols:      db files
services:       db files
ethers:         db files
rpc:            db files

netgroup:       nis
common-account:
Code:
account sufficient 	pam_ldap.so
account	required	pam_unix.so try_first_pass
common-auth:
Code:
auth	sufficient	pam_ldap.so
auth	required	pam_unix.so	nullok_secure	try_first_pass
common-password
Code:
password	sufficient	pam_ldap.so
password	required   	pam_unix.so nullok obscure min=4 max=8 md5 try_first_pass
 
  


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
how to configure ldap client on solaris 9 capricorn80 Solaris / OpenSolaris 78 01-29-2008 02:08 AM
How to configure LDAP sathish80 Linux - Newbie 1 10-12-2006 12:05 PM
pam + ldap client paul_mat Linux - Networking 0 10-25-2005 10:55 PM
LDAP client configuration help omart Linux - Software 1 11-22-2004 02:06 AM
suse 9.1 as ldap client egyptian Linux - Networking 0 07-19-2004 02:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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