LDAP: Difference between revisions

From NURDspace
No edit summary
Line 13: Line 13:


= Status of future plans =
= Status of future plans =
I've installed [http://fusiondirectory.org FusionDirectory] on a new VM called nurdservices on the proxmox system of [[NURDserver_v2|Nurdserver v2]]. Now I need to add all users into it.
I've installed [http://fusiondirectory.org FusionDirectory] on a new VM called nurdservices on the proxmox system of [[NURDserver_v2|Nurdserver v2]]. I've also added a couple of users to it.


It can be accessed on http://nurdservices/fusiondirectory from within the network.
It can be accessed on http://nurdservices/fusiondirectory from within the network.
On [[Hp_dc5800_sinterklaas|Sinterklaas]] I've got it to work as I think it should be:
* Homedirs moved to an nfs mount from [[NURDserver_v2|Nurdservices]]
* Local homedirs and users deleted
* /home/ is mounted on boot over nfs
* LDAP users can log in and see their homedirs as if nothing has changed


= Logging in to workstations with LDAP users =
= Logging in to workstations with LDAP users =

Revision as of 03:24, 30 March 2013

For use with SpaceNet we've installed OpenLDAP on nurdserver. We can use this LDAP for many more purposes. This page can serve as documentation for both working implementations and future plans.

Working implementations

Future plans

  • wiki logins
  • NFS for homedirs and other dirs (MP3 etc) on NURDServer
  • System users for all infra-machines
  • Maintain sudo'ers through the LDAP and remove all local root accounts

Status of future plans

I've installed FusionDirectory on a new VM called nurdservices on the proxmox system of Nurdserver v2. I've also added a couple of users to it.

It can be accessed on http://nurdservices/fusiondirectory from within the network.

On Sinterklaas I've got it to work as I think it should be:

  • Homedirs moved to an nfs mount from Nurdservices
  • Local homedirs and users deleted
  • /home/ is mounted on boot over nfs
  • LDAP users can log in and see their homedirs as if nothing has changed

Logging in to workstations with LDAP users

To get this to work you need to install libnss-ldapd, configure the ldap in nss and pam (no ssl, so ldap://nurdservices/), and add a line to /etc/pam.d/common-account:

session required pam_mkhomedir.so skel=/etc/skel/ umask=0022