LDAP
apt install slapd ldap-utils
/etc/ldap/ldap.conf
/etc/phpldapadmin/config.php
apt install libnss-ldap
Configurar shell por defecto
/etc/phpldapadmin/templates/creation/posixAccount.xml
<attribute id="homeDirectory">
<display>Home directory</display>
<!-- <onchange>=autoFill(homeDirectory;/home/%gidNumber|0-0/T%/%uid|3-%)</onchange> -->
<order>8</order>
<page>1</page>
</attribute>
<attribute id="loginShell">
<display>Login shell</display>
<order>9</order>
<page>1</page>
<!-- <value><![CDATA[=php.PickList(/;(&(objectClass=posixAccount));loginShell;%loginShell%;;;;loginShell)]]></value> -->
<type>select</type>
<value id="/bin/sh">/bin/sh</value>
<value id="/bin/csh">/bin/csh</value>
<value id="/bin/tsh">/bin/tsh</value>
<value id="/bin/bash">/bin/bash</value>
</attribute>
Cliente
apt install ldap-auth-client nscd
auth-client-config -t nss -p lac_ldap
nano /usr/share/pam-configs/mkhomedir
pam-auth-update
service nscd restart
Revisar lista de usuarios
getent passwd
Activar entonrno
nano /etc/lightdm/lightdm.conf.d/50-myconfig.conf
[SeatDefaults]
greeter-show-manual-login=true
Referencias
- https://www.youtube.com/watch?v=zNzRNgSbDPs
- https://www.youtube.com/watch?v=DBL_VdR-eVs&index=9&list=PLLSuIcxrb1x7saUcMLJCCUex2X45HDQS0
● Master, ●● Worker Nodes, ●●● Todos