Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 05-03-2009, 11:03 PM   #1
LQ Newbie
Registered: Oct 2008
Posts: 9

Rep: Reputation: 0
Merging Linux local accounts with LDAP accounts

How can I merge Linux local accounts and LDAP accounts? Can it be done?
Old 05-04-2009, 12:20 AM   #2
Registered: Nov 2003
Location: Los Angeles
Distribution: debian
Posts: 480

Rep: Reputation: 57
Yes, but danger ahead!

Originally Posted by Nortekman View Post
How can I merge Linux local accounts and LDAP accounts? Can it be done?
The term 'merge' is vague. The PAM module you want is pam_ldap.

You are changing the basic authentication/login for the system in question so it is easy to lock yourself out if you are not careful. Have a Live CD handy to back out bad changes.

With that warning out of the way, it's relatively easy to start tweaking PAM, you need ldap logging to debug things and some comfort working with LDAP in general to set it up successfully.

Once working, server replacements/upgrades are much easier. Especially if you move most services to LDAP backends.


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
Unable to login using ldap accounts Di@Blo Linux - Server 2 06-08-2007 04:47 AM
Fetchmail with multiple mail accounts and local accounts lmcilwain Linux - Software 3 04-01-2007 03:58 PM
Managing user accounts in LDAP AdamSBS Linux - Enterprise 3 08-24-2005 09:42 AM
qmail -- new accounts can't receive mail, but old accounts can b:z *BSD 1 07-13-2005 01:42 AM
Using LDAP to create and Manage Linux Accounts BBQ_Matt Linux - Networking 2 06-20-2005 05:20 PM

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