Hallo Guys,

for a couple of weaks I'm trying to find a solution. But I've been not successfully yet. I've got an ldap-directory with user-accounts in it.

The users in this directory need different profiles for different servers.

server1
======
LoginShell: /bin/false
HomeDirectory: /home/$uid

server2
======
LoginShell: /bin/ksh
HomeDirectory: /u1/home/$uid

server3
======
LoginShell: /bin/bash
HomeDirectory: /usr/share/home/$uid


I use this ObjectClasses:
top
person
organizationalPerson
inetOrgPerson
posixAccount
shadowAccount
sambaSamAccount


Of course the attributes 'LoginShell' and 'HomeDirectory' are unique.
Is it possible to use pam_env.so to overwrite this attributes on each server?
Has anyone an idea?

thanks and greets,
jboe78