[Date Prev][Date Next]
Mapping gid numbers
- To: firstname.lastname@example.org
- Subject: Mapping gid numbers
- From: JC <email@example.com>
- Date: Tue, 23 Jul 2019 18:00:51 +0000 (UTC)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1563904855; bh=4fcqD3RuCaOxVLWqYfl2j4ldaJLjggEXjbJm9z692cs=; h=Date:From:To:Subject:References:From:Subject; b=La0Vxs6EOSSG7jufoXl4RnC/8uguJiA19LARC/Nm5gmPK+HL+oMW1UZXZe0QHCyoph4xYHD9YBvykinTSZcl5i5jwC4u1N/RxZAQV4o9CeO+vnj6Jov+Qqv7w0wGKOLI4tNf7V9j/8cOBZBRPgA9/UHOuxCjvygp7hlqlgSoQps83XE932d64BMgS1MzdO/Wym1WxcUpl0GYSldMVTPjqdDNbgAqohJtt+OuhqjjC85ho6GXFRfIi5+c9S/inf1cs8yAAiNzacMnJ2AVkPsPJ4EcOlxc8axJBVqXzCWPq3OwKMPASYAa/br1BNkHs9RkZ7aTxZNcdI9Q87exJiiH3g==
- References: <firstname.lastname@example.org>
My question is not strictly an LDAP one, but perhaps somebody here with experience in the LDAP and Linux worlds can throw some light on it.
I understand how to map attributes, as defined in an LDAP server, to other attributes in a Linux when the NSS framework is used in the latter. Is it possible to map values of attributes? Let's say I have an OpenLDAP server that defines a certain group with a gid number 10000. Would it be possible to map that 10000 to (say) 5000 in the Linux system? That is, every time an operation is executed in the Linux system that uses the group information, the gid would be retrieved from the OpenLDAP server as 10000, and automatically be converted to 5000. Can this be done?