diff options
author | root <root@borneuni.dk> | 2008-09-16 19:29:17 +0000 |
---|---|---|
committer | root <root@borneuni.dk> | 2008-09-16 19:29:17 +0000 |
commit | b12c8b413837c14d70df7e103fcc61b523f4a1be (patch) | |
tree | 166c46f95092c171410c1b61b40f71ad85856c32 /ldap/mkldapdb | |
parent | a9c1c5a56bf88e600845f6de81d726b043315f9f (diff) | |
parent | fb7d602122d8e6ef97f81056967d909f42a7f2f7 (diff) |
Merge branch 'master' of git://source.jones.dk/local-COMMON
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 |