manbytesgnu_site

Source files for manbytesgnu.org
git clone git://holbrook.no/manbytesgnu_site.git
Info | Log | Files | Refs

20251117_casanono_ldaplogin.rst (736B)


      1 Making an LDAP home
      2 ###################
      3 
      4 :date: 2025-11-17 10:27:58
      5 :category: Lab
      6 :author: Louis Holbrook
      7 :tags: ldap,linux,pam,nfs,autofs
      8 :slug: ldap-homes
      9 :summary: Preparing for centralized login
     10 :series: Casa Nodominio
     11 :seriesprefix: casanodo
     12 :seriespart: 1
     13 :lang: en
     14 :status: draft
     15 
     16 .. code-block:: bash
     17         
     18         apt-get install nslcd libpam-ldapd autofs autofs-ldap 
     19 
     20 
     21 * create ssl certificate
     22 * update ssl certificate:
     23   - copy to /usr/local/share/ca-certificates
     24   - run /sbin/update-ca-certificates
     25 * configure nslcd with ssl
     26   - add bind
     27   - set base for user, group
     28 
     29 
     30 nslcd.conf::
     31 
     32         foo
     33             
     34 /etc/auto.homes::
     35 
     36         bar
     37 
     38 /etc/auto.master.d/home.autofs::
     39 
     40         baz
     41 
     42 
     43 /etc/pam.d/::
     44 
     45         xyzzy