LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 01-29-2006, 06:23 PM   #1
Drunkalot
Member
 
Registered: Aug 2004
Distribution: Linux from Scratch
Posts: 69

Rep: Reputation: 15
Problem with ldap auth


Hi...

I installed the fedora directory server. I add a root user and on normal user.

In a workstation machine I can login as root with the password I put in the directory server root account, but when I try to log in as the other user I created, it says that the user account or the password are incorrect.

I think of I can log in as root because I log before with the local account, and the root folder is created.

Is that correct?? If is, how con I condifure pam to create the directory when I log in with the directory server account?/

thx..
 
Old 01-29-2006, 06:35 PM   #2
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
well the ideal way to tell would be to add a local user to the machine, the same as the fedora directory server user and then login, if you can, then you have set your pam module to need both local and LDAP accounts
 
Old 01-29-2006, 08:17 PM   #3
Drunkalot
Member
 
Registered: Aug 2004
Distribution: Linux from Scratch
Posts: 69

Original Poster
Rep: Reputation: 15
I found the problem, the user isn't in the passwd file in the local machine.

I configured the pam_mkhomedir.so, so the only thing that is missing is a way to pam look the user in the ldap directory...

Any ideas?? my nsswith file already containd the ldap option...

thx..
 
Old 01-29-2006, 08:29 PM   #4
paul_mat
Member
 
Registered: Nov 2004
Location: Townsville, Australia
Distribution: Fedora Core 5, CentOS 4, RHEL 4
Posts: 855

Rep: Reputation: 30
how about you post your pam module here so i can see what you've done?

Have you configured your /etc/ldap.conf file yet? if no look at the link below to my website

although this is writtern for a openLDAP server, i think it'll work for fedora directory server

http://www.yourhowto.org/content/view/35/9/
 
  


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
problem with courier-authdaemon and ldap auth... ash4stuff Linux - Software 0 01-09-2006 09:39 PM
Auth via LDAP on eDirectory jtweaker Linux - Networking 1 12-28-2004 08:18 AM
Failing to log into ssh via ldap auth. Pam Problem? cehlers Linux - Security 1 10-10-2004 07:55 AM
POP3 auth through LDAP and Mysql rajesh_r_r Linux - General 0 06-23-2004 09:15 AM
Ldap + smb auth PcHammer Linux - Software 0 02-17-2003 03:19 AM

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

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