How to Override Group ID for LDAP in Enterprise Linux 6.5

I recently set up a Linux server with LDAP user information. The group id (gid) from LDAP is not useful on this server. It took me a while to figure out how to override the group id. The trick is to modify this file /etc/nslcd.conf . Add this line to the file.

If you’re thinking about purchasing a new GPU, we’d greatly appreciate it if you used our Amazon Associate links. The price you pay will be exactly the same, but Amazon provides us with a small commission for each purchase. It’s a simple way to support our site and helps us keep creating useful content for you. Recommended GPUs: RTX 5090, RTX 5080, and RTX 5070. #ad

map passwd gidNumber "gid_number"

Replace the gid_number with the number you want. Save the file and restart the service.

sudo /sbin/service nslcd restart

 

Be the first to comment

Leave a Reply