note to self…
to add users to a group in ldap do:
ldapsearch -LLL -b "dc=somdomain,dc=com" -x -w
edit ldap_dev.ldif and add
memberUid: someuser
then:
cat ldap_dev.ldif | ldapmodify -D "cn=admin,dc=somedomain,dc=com" -x -w somepass
to add users to a group in ldap do:
ldapsearch -LLL -b "dc=somdomain,dc=com" -x -w
edit ldap_dev.ldif and add
memberUid: someuser
then:
cat ldap_dev.ldif | ldapmodify -D "cn=admin,dc=somedomain,dc=com" -x -w somepass