Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F9784046
22-create-resource.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
672 B
Referenced Files
None
Subscribers
None
22-create-resource.sh
View Options
#!/bin/bash
. ./settings.sh
(
echo
"dn: cn=TestResource,ou=Resources,ou=kolab.org,
${
hosted_domain_rootdn
}
"
echo
"cn: TestResource"
echo
"owner: uid=jack@kolab.org,ou=People,ou=kolab.org,
${
hosted_domain_rootdn
}
"
echo
"kolabTargetFolder: shared/Resources/TestResource@kolab.org"
echo
"mail: resource-confroom-testresource@kolab.org"
echo
"objectClass: top"
echo
"objectClass: kolabsharedfolder"
echo
"objectClass: kolabresource"
echo
"objectClass: mailrecipient"
echo
"kolabFolderType: event"
echo
"kolabInvitationPolicy: ACT_STORE_AND_NOTIFY"
echo
""
)
|
ldapadd -x -h
${
ldap_host
}
-D
"
${
ldap_binddn
}
"
-w
"
${
ldap_bindpw
}
"
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Mon, Aug 17, 11:06 AM (3 h, 26 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1261270
Default Alt Text
22-create-resource.sh (672 B)
Attached To
Mode
R2 kolab
Attached
Detach File
Event Timeline
Log In to Comment