| Welcome to the Zimbra :: Forums! | |
Welcome, if you would like to post a comment please register.
We also encourage you to explore all things Zimbra with our team and members of the community.
|  | | 
09-21-2009, 02:12 PM
| | Zimbra Employee | |
Posts: 572
| | As I said... there is some difference between what is in your ldif file, and what is stored in the server config, that I can't readily discover via cut and paste through the forum. It would take having a text editor comparing both the config file in the cn=config tree and your ldif file.
__________________
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
| 
09-22-2009, 01:00 PM
| | Intermediate Member | |
Posts: 24
| | Hi quanah!
Still no luck with this problem. Retried 3 times without success.
I have examined the file (ldif) looking for extra spaces, tabs, etc and found nothing.
Can you please provide me a correct ldif file for this part of the tutorial?  | 
09-22-2009, 01:09 PM
| | Zimbra Employee | |
Posts: 572
| | I have no way of determining what a "correct" ldif for you would be, as I don't see a reason for it to be failing. Short of examining your system directly, there's not much I can do. :/
__________________
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
| 
09-22-2009, 07:05 PM
| | Intermediate Member | |
Posts: 24
| | Hi quanah!
My apologies for waste your time...
I have been used to create shell scripts to automate the tutorials I am working on.
So, when I need to create a file for some purpose I use the construction: Code: echo "
blah blah blah
" | tee /path/to/file The problem that I spotted only today is that when somewere between the opening quote and the ending quote there is others quotes they are removed...
So, the code: Code: dn: olcDatabase={2}hdb,cn=config
changetype:modify
delete: olcAccess
olcAccess: {9}to attrs=entry by dn.children="cn=admins,cn=zimbra" write by * read
-
add: olcAccess
olcAccess: {9}to attrs=entry by dn.children="cn=admins,cn=zimbra" write by dn.exact="uid=zmposixroot,cn=appaccts,cn=zimbra" write by * read
dn: olcDatabase={2}hdb,cn=config
changetype:modify
add: olcAccess
olcAccess: {10}to dn.subtree="dc=zimbra,dc=example,dc=com" by dn.children="cn=admins,cn=zimbra" write by dn.exact="uid=zmposixroot,cn=appaccts,cn=zimbra" write by dn.exact="uid=zmposix,cn=appaccts,cn=zimbra" read by * none
olcAccess: {11}to dn.subtree="ou=machines,dc=zimbra,dc=example,dc=com" by dn.children="cn=admins,cn=zimbra" write by dn.exact="uid=zmposixroot,cn=appaccts,cn=zimbra" write by dn.exact="uid=zmposix,cn=appaccts,cn=zimbra" read by * none
olcAccess: {12}to dn.subtree="ou=groups,dc=zimbra,dc=example,dc=com" by dn.children="cn=admins,cn=zimbra" write by dn.exact="uid=zmposixroot,cn=appaccts,cn=zimbra" write by dn.exact="uid=zmposix,cn=appaccts,cn=zimbra" read by * none
olcAccess: {13}to dn.subtree="ou=people,dc=zimbra,dc=example,dc=com" by dn.children="cn=admins,cn=zimbra" write by dn.exact="uid=zmposixroot,cn=appaccts,cn=zimbra" write by dn.exact="uid=zmposix,cn=appaccts,cn=zimbra" read by * none become Code: dn: olcDatabase={2}hdb,cn=config
changetype:modify
delete: olcAccess
olcAccess: {9}to attrs=entry by dn.children=cn=admins,cn=zimbra write by * read
-
add: olcAccess
olcAccess: {9}to attrs=entry by dn.children=cn=admins,cn=zimbra write by dn.exact=uid=zmposixroot,cn=appaccts,cn=zimbra write by * read
dn: olcDatabase={2}hdb,cn=config
changetype:modify
add: olcAccess
olcAccess: {10}to dn.subtree=dc=zimbra,dc=example,dc=com by dn.children=cn=admins,cn=zimbra write by dn.exact=uid=zmposixroot,cn=appaccts,cn=zimbra write by dn.exact=uid=zmposix,cn=appaccts,cn=zimbra read by * none
olcAccess: {11}to dn.subtree=ou=machines,dc=zimbra,dc=example,dc=com by dn.children=cn=admins,cn=zimbra write by dn.exact=uid=zmposixroot,cn=appaccts,cn=zimbra write by dn.exact=uid=zmposix,cn=appaccts,cn=zimbra read by * none
olcAccess: {12}to dn.subtree=ou=groups,dc=zimbra,dc=example,dc=com by dn.children=cn=admins,cn=zimbra write by dn.exact=uid=zmposixroot,cn=appaccts,cn=zimbra write by dn.exact=uid=zmposix,cn=appaccts,cn=zimbra read by * none
olcAccess: {13}to dn.subtree=ou=people,dc=zimbra,dc=example,dc=com by dn.children=cn=admins,cn=zimbra write by dn.exact=uid=zmposixroot,cn=appaccts,cn=zimbra write by dn.exact=uid=zmposix,cn=appaccts,cn=zimbra read by * none Pay attention, the inside quotes were removed by the echo command.
Little detail made all difference...  | 
09-22-2009, 08:07 PM
| | Zimbra Employee | |
Posts: 572
| | Quote:
Originally Posted by peracchi Hi quanah!
My apologies for waste your time...
I have been used to create shell scripts to automate the tutorials I am working on.
Little detail made all difference...  | Glad you figured it out!
__________________
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
| 
09-22-2009, 08:08 PM
| | Zimbra Employee | |
Posts: 572
| | Quote:
Originally Posted by topspeeds I am using 6.0.1 GA Release (zcs-6.0.1_GA_1816.UBUNTU8_64.20090911235613.tgz)
Zimbra standalone server. Methoo | If you have a question, then please ask it.
__________________
Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra :: the leader in open source messaging and collaboration
| | Thread Tools | Search this Thread | | | | | Display Modes | Linear Mode | | Why Join? Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.  |