Home - passwordlandia/ldap GitHub Wiki

#!/bin/bash

vi /etc/nsswitch.conf

cp /etc/nsswitch.conf /etc/nsswitch.conf.orig

sed -i 's/compat/compat ldap/g' /etc/nsswitch.conf

/etc/init.d/nscd restart

getent passwd