[nssldap] question about nssldap configuration
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[nssldap] question about nssldap configuration
- From: "saraguato [at] gmail.com" <saraguato [at] gmail.com>
- To: nssldap [at] padl.com
- Subject: [nssldap] question about nssldap configuration
- Date: Thu, 25 Nov 2010 13:16:10 +0100
Hi,
Im using ubuntu 10.04 as server and want to authenticate ssh clients
against a ldap server. I need to get some account information from the
ldap server but also I want to do this:
a)the homedir must be based on the user name.
b) the uid must be based on the name of the user (a hash)
I dont want to change the schema of the ldap server.
There is a way to do this? In the /etc/ldap.conf I can put this:
nss_default_attribute_value homeDirectory /home/xx
but, i dont know if this field XX can be depend on the user name. I
would like to do something like that:
nss_default_attribute_value homeDirectory /home/ldap/<ldap-user-name>
Is it possibly?
Best regards
- [nssldap] question about nssldap configuration,
saraguato@gmail.com