diff options
author | Jonas Smedegaard <dr@jones.dk> | 2008-09-16 21:29:02 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2008-09-16 21:29:02 +0200 |
commit | fb7d602122d8e6ef97f81056967d909f42a7f2f7 (patch) | |
tree | a46d7b9f14410847527fabd2854f500cdfd384a3 /ldap/mkldapdb | |
parent | 889f1035eb54a46278bfb56fcf9114005ba3f570 (diff) |
Fix ldif files: group must contain member.
Diffstat (limited to 'ldap/mkldapdb')
-rwxr-xr-x | ldap/mkldapdb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ldap/mkldapdb b/ldap/mkldapdb index 697f7cd..7469f5d 100755 --- a/ldap/mkldapdb +++ b/ldap/mkldapdb @@ -57,6 +57,8 @@ done for section in cipux horde; do ldappasswd -x -h localhost -D "cn=admin,$basedn" -S -W "uid=$section,ou=System,ou=Entities,ou=SAM,$basedn" done + +# TODO: Write as function, and create group if not existing ldapmodify -x -h localhost -D "cn=admin,$basedn" -W <<EOF dn: cn=DSA,ou=Administrators,ou=Groups,ou=Access Control,$basedn changetype: modify |