LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-06-2006, 01:00 PM   #1
Lenux78
Member
 
Registered: Jun 2006
Location: Venezuela
Distribution: A Lot
Posts: 40

Rep: Reputation: 15
Ldap autentication in Ubuntu


Hello everyone,

I have a simple question and i don't find any solution.. maybe i don't know too much ubuntu..

I have an Ldap server in SSL and i could connect clients autenticating users from OpenSuse and RedHat... but I have some troubles with Ubuntu..

Now I did this..

I installed libnss-ldap and pam-ldap packages... and put in this file in /etc/ldap.conf:

host 10.10.2.5
base dc=example,dc=lx
nss_map_attribute uniqueMember member
ldap_version 3
ssl start_tls
pam_password crypt
pam_filter objectclass=posixAccount
nss_base_passwd ou=usuarios, dc=example,dc=lx
nss_base_shadow ou=usuarios, dc=example,dc=lx
nss_base_group ou=grupos, dc=example,dc=lx

and additionaly i installed the ldap-util package... and put the same content in /etc/ldap/ldap.conf

and did this consult to the ldap server...

ldapsearch -x -W -D 'dc=example,dc=lx' 'objectclass=*'


and it worked!!!...

so the question is .. why, in the name of heaven, the command getent passwd doesn't show me the ldap users???!!!!... what is wrong???..


Thanks and Regards!!!...
 
Old 12-07-2006, 03:47 AM   #2
kdrlx
Member
 
Registered: Feb 2006
Distribution: Ubuntu Hardy Heron
Posts: 130

Rep: Reputation: 17
found this link -
http://developer.novell.com/wiki/ind...Authentication

dunno if it is useful or not though .
 
Old 12-07-2006, 06:00 AM   #3
Lenux78
Member
 
Registered: Jun 2006
Location: Venezuela
Distribution: A Lot
Posts: 40

Original Poster
Rep: Reputation: 15
Hi..

I did all the things in the document and still nothing..

Sorry... I really don't have any idea what might be happening... I think it might be something in Ubuntu.. I don't know.. maybe a Package..

Regards..
 
Old 12-07-2006, 06:13 AM   #4
Lenux78
Member
 
Registered: Jun 2006
Location: Venezuela
Distribution: A Lot
Posts: 40

Original Poster
Rep: Reputation: 15
ok... this is very very weird... It just work.. but for some reason I don't know!!!... i just comment the ssl start_tls and it work.. but why??? because my server is in SSL mode... and needs tls... and in OpenSuse or fedora or redhat doesn't work if you doesn't have ssl start_tls activated...

Why is this just happenning in Ubuntu?? why???

I hope someone could clear me this issue...

Regards.-..
 
Old 12-07-2006, 06:17 AM   #5
Lenux78
Member
 
Registered: Jun 2006
Location: Venezuela
Distribution: A Lot
Posts: 40

Original Poster
Rep: Reputation: 15
ok... it works in OpenSuse and Fedora too without ssl... But I want to use ssl tls in Ubuntu... what could i do to correct that??
 
  


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
Just installed ubuntu... got a question (LDAP,PHP) scrupul0us Ubuntu 2 02-05-2007 08:07 PM
Apache, SSL, autentication and third party client certificates bezoomny Linux - Security 1 10-13-2005 07:28 AM
pppd - no autentication required cubax Linux - Networking 1 08-15-2005 02:56 PM
squid proxy autentication problem HELP!! mlu Linux - Networking 1 07-27-2005 05:13 PM
Refresh client user list at autentication client/server network. robertoneto123 Linux - Networking 0 11-11-2003 10:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:25 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
Open Source Consulting | Domain Registration