Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F117882534
08-remove-hosted-service-access-from-mgmt-domain.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
587 B
Referenced Files
None
Subscribers
None
08-remove-hosted-service-access-from-mgmt-domain.sh
View Options
#!/bin/bash
. ./settings.sh
(
echo
"dn: associateddomain=
${
domain
}
,ou=Domains,
${
rootdn
}
"
echo
"changetype: modify"
echo
"replace: aci"
echo
"aci: (targetattr = \"*\")(version 3.0;acl \"Deny Rest\";deny (all)(userdn != \"ldap:///uid=kolab-service,ou=Special Users,
${
rootdn
}
|| ldap:///
${
rootdn
}
??sub?(objectclass=*)\");)"
echo
"aci: (targetattr = \"*\")(version 3.0;acl \"Deny Hosted Kolab\";deny (all)(userdn = \"ldap:///uid=hosted-kolab-service,ou=Special Users,
${
rootdn
}
\");)"
echo
""
)
|
ldapmodify -x -h
${
ldap_host
}
-D
"
${
ldap_binddn
}
"
-w
"
${
ldap_bindpw
}
"
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Mon, Apr 6, 12:37 AM (6 d, 6 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
18729177
Default Alt Text
08-remove-hosted-service-access-from-mgmt-domain.sh (587 B)
Attached To
Mode
rK kolab
Attached
Detach File
Event Timeline