Results 1 to 1 of 1
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 10-12-2010 #1Just Joined!
- Join Date
- Oct 2010
- Posts
- 1
Redirect HomeDirectory and LoginShell for LDAP-Users
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


Reply With Quote
