Change return values in nss_ldap

After some time searching I found the nss_override_attribute_value config file parameter for /etc/ldap.conf. This has the effect that you can overwrite the ldap return value through a standard value. So as an example:
nss_override_attribute_value unixHomeDirectory /var
This will change the home directories of all users returned through ldap to /var.
NOTE: the nss_override_attribute_value has to come before the nss_map_attribute in the config file.
Further there is the nss_default_attribute_value entry which can be quite usefull for the shell for example.

1 comment:

Anonymous said...

.. yes - but will it blend?

Buy all you favourite viagra via Didi's blog.