Add Group to LDAP command line
Add Group to LDAP command line
If you have made it this far with LDAP, you have a basic user added, but need to start taking advantages of groups. Here’s the basic process to add a group to LDAP.
login, and su root

from here change to /tmp

make a dump of the LDAP Database

create a file for the new group you are going to add, let’s go with Finance

and edit the Finance Template

it shoudl be setup as follows (gid must be unique for each group)

type this command to add the file to the database

now the finance group has been added to the database

That’s it, you added a new group to the LDAP Database!
Hosted Linux Servers at www.zwiegnet.com/go
