summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2015-01-25 11:05:23 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2015-01-25 11:05:23 (GMT)
commit0c8347dd00abca79256ba33b04c0732db64e6956 (patch)
tree1ded3bb3bb1544b604b57b5ffa4275d574db05ea
parent246e7bc498c82feb288b3ef127d00bd161a5ec1b (diff)
downloadkolab-scripts-0c8347dd00abca79256ba33b04c0732db64e6956.tar.gz
Set back the base dns and filters to the defaults
-rwxr-xr-xpopulate-ldap/10a-add-vlv-searches.sh14
1 files changed, 7 insertions, 7 deletions
diff --git a/populate-ldap/10a-add-vlv-searches.sh b/populate-ldap/10a-add-vlv-searches.sh
index f802c08..2c7b5d9 100755
--- a/populate-ldap/10a-add-vlv-searches.sh
+++ b/populate-ldap/10a-add-vlv-searches.sh
@@ -7,9 +7,9 @@
echo "objectClass: top"
echo "objectClass: vlvSearch"
echo "cn: PVS"
- echo "vlvBase: ${rootdn}"
+ echo "vlvBase: ou=People,${rootdn}"
echo "vlvScope: 2"
- echo "vlvFilter: (&(entrydn=ou=People,*)(objectclass=inetorgperson)(!(objectclass=nstombstone)))"
+ echo "vlvFilter: (objectclass=inetorgperson)"
echo "aci: (targetattr = \"*\") (version 3.0;acl \"Read Access\";allow (read,compare,search)(userdn = \"ldap:///anyone\");)"
echo ""
) | ldapadd -x -h ${ldap_host} -D "${ldap_binddn}" -w "${ldap_bindpw}" -c
@@ -19,9 +19,9 @@
echo "objectClass: top"
echo "objectClass: vlvSearch"
echo "cn: RVS"
- echo "vlvBase: ${rootdn}"
+ echo "vlvBase: ou=Resources,${rootdn}"
echo "vlvScope: 2"
- echo "vlvFilter: (&(entrydn=ou=Resources,*)(|(&(objectclass=kolabsharedfolder)(kolabfoldertype=event)(mail=*))(objectclass=groupofuniquenames)(objectclass=groupofurls))(!(objectclass=nstombstone)))"
+ echo "vlvFilter: (|(&(objectclass=kolabsharedfolder)(kolabfoldertype=event)(mail=*))(objectclass=groupofuniquenames)(objectclass=groupofurls))"
echo "aci: (targetattr = \"*\") (version 3.0;acl \"Read Access\";allow (read,compare,search)(userdn = \"ldap:///anyone\");)"
echo ""
) | ldapadd -x -h ${ldap_host} -D "${ldap_binddn}" -w "${ldap_bindpw}" -c
@@ -31,9 +31,9 @@
echo "objectClass: top"
echo "objectClass: vlvSearch"
echo "cn: GVS"
- echo "vlvBase: ${rootdn}"
+ echo "vlvBase: ou=Groups,${rootdn}"
echo "vlvScope: 2"
- echo "vlvFilter: (&(|(objectclass=groupofuniquenames)(objectclass=groupofurls))(!(objectclass=nstombstone)))"
+ echo "vlvFilter: (|(objectclass=groupofuniquenames)(objectclass=groupofurls))"
echo "aci: (targetattr = \"*\") (version 3.0;acl \"Read Access\";allow (read,compare,search)(userdn = \"ldap:///anyone\");)"
echo ""
) | ldapadd -x -h ${ldap_host} -D "${ldap_binddn}" -w "${ldap_bindpw}" -c
@@ -46,7 +46,7 @@ if [ "${domain_base_dn}" != "cn=kolab,cn=config" ]; then
echo "cn: DVS"
echo "vlvBase: ${domain_base_dn}"
echo "vlvScope: 2"
- echo "vlvFilter: (&(objectclass=domainrelatedobject)(!(objectclass=nstombstone)))"
+ echo "vlvFilter: (objectclass=domainrelatedobject)"
echo "aci: (targetattr = \"*\") (version 3.0;acl \"Read Access\";allow (read,compare,search)(userdn = \"ldap:///anyone\");)"
echo ""
) | ldapadd -x -h ${ldap_host} -D "${ldap_binddn}" -w "${ldap_bindpw}" -c