[Date Prev][Date Next]
Assigning Groups to LDAP users
- To: email@example.com
- Subject: Assigning Groups to LDAP users
- From: pradyumna dash <firstname.lastname@example.org>
- Date: Wed, 10 Aug 2011 10:11:17 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=ijhfxgABG4ns9KPtKqBjo8DJJrFieCknqmMndqheLp8=; b=SV7kujWJUpyMeLw/IMTHiJ74SkaJGVF3Vpr08+z4j12eiH1HvwgfxJNkYVJlHd/iLW zuJwfVzLNoD5RHfQ36PGwB2fkv1eu+w6ib4QQUv/Caa6y/58lixwS7ofP149Buvijfra YFhFZGnuLLppkTK4f9mgIManDEK8JmfBF4Ilo=
I have a query, lets take a scenario :
Assume we have 2 servers "Server1" and "Server2" and 2 groups "Admin" and
"ITTech", What is needed is like say when a user "bob" logging
in to "Server1"
he will get the group "Admin", but when he logs in to "Server2" he will get
group "ITTech". Also it may vary for different users
like when "Kris" logs in
to Server1 he may get a group called "ITTech" and when he logs in to "Server2"
he will get some other group say "Security".
Can it be possible by OpenLDAP ? If this is achieved then we are planning to have SUDO files based on the grooups.
It would be great if you can provide me some pointers or how-to.