Networking Forums

Networking Forums > Computer Networking > Linux Networking > nss_ldap and pam_ldap is enough?

Reply
Thread Tools Display Modes

nss_ldap and pam_ldap is enough?

 
 
Andrea
Guest
Posts: n/a

 
      11-29-2007, 03:34 PM
Hi,
i want to configure Linux with pam_ldap and nss_ldap to allow it to
authenticate users from Active Directory, i don't need that linux
users can access on microsoft resource, aim is only that windows user
can logon to linux with his same account.

which components are mandatory for this work?

thanks very much
andrew
 
Reply With Quote
 
 
 
 
Ashish Shukla आशीष शुक्ल
Guest
Posts: n/a

 
      12-01-2007, 03:58 PM
Andrea wrote:

> Hi,
> i want to configure Linux with pam_ldap and nss_ldap to allow it to
> authenticate users from Active Directory, i don't need that linux
> users can access on microsoft resource, aim is only that windows user
> can logon to linux with his same account.
>
> which components are mandatory for this work?


I've never queried any Active Directory, but IIRC user accounts in Active
Directory require a different objectclass than the user accounts (by
*default*) in POSIX. In POSIX, they've objectclass set to 'posixAccount'
and 'shadowAccount' (required for Shadow passwords). So what you need to do
is to add two attributes, 'objectclass: posixAccount' and 'objectclass:
shadowAccount' to the LDAP nodes of Windows users (who want access to Linux
boxen). I'm not sure on this but in 'posixAccount' type, password is stored
in 'userPassword' attribute. BtW, in pam_ldap, and nss_ldap, you can
configure what attributes store what information of users, so if you stay
with defaults of pam_ldap and nss_ldap, you can clearly separate your
Active Directory users and Linux users. Linux users don't have Active
Directory attributes, but Active Directory users can have POSIX attributes.

>
> thanks very much
> andrew


HTH
--
Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/
·-- ·- ···· ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
 
Reply With Quote
 
Chris Davies
Guest
Posts: n/a

 
      12-02-2007, 08:26 PM
Andrea <(E-Mail Removed)> wrote:
> i want to configure Linux with pam_ldap and nss_ldap to allow it to
> authenticate users from Active Directory, i don't need that linux
> users can access on microsoft resource, aim is only that windows user
> can logon to linux with his same account.


Google for it. There are several very good documents explaining how to
join a Linux based system to an Active Directory domain, and subsequently
how to allow users within that AD domain to log in to that Linux based
system.

Chris
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
nss_ldap and DNS usage issues jef Linux Networking 0 10-21-2003 02:59 PM



1 2 3 4 5 6 7 8 9 10 11