On 10/14/2015 7:56 AM, Steve Ankeny wrote:
On 10/14/2015 12:25 AM, Chris Coleman wrote:
It appears that the openchange.org documentation page is showing an
example of how to setup a zentyal server for an openchange developer
to run code against the server, with python scripts included to help
get it going for the tutorial. It seems in a different order but
really all it means is you should do all the things in the sogo PDF
setup document for openchange (native outlook client compatibility
PDF) first, which initializes certain data inside the databases, so
that their openchange developer server setup doesn't produce errors
due to uninitialized data.
I'm stuck! Running, 'sudo openchange_provision --standalone' FAILS
This is after I successfully ran 'sudo openchange_provision --deprovision'
It fails with the following errors --
adam@sogo:~$ sudo openchange_provision --standalone
NOTE: This operation can take several minutes
[+] Step 1: Register Exchange OIDs
[+] Step 2: Add Exchange attributes to Samba schema
Error: "(68, 'Entry
CN=ms-Exch-Access-Control-Map,CN=Schema,CN=Configuration,DC=smbdomain,DC=com
*already exists*')" when adding element:
#
# ms-Exch-Access-Control-Map
# Contains the mapping for the access controls.
#
dn:
CN=ms-Exch-Access-Control-Map,CN=Schema,CN=Configuration,DC=smbdomain,DC=com
objectClass: top
objectClass: attributeSchema
cn: ms-Exch-Access-Control-Map
distinguishedName:
CN=ms-Exch-Access-Control-Map,CN=Schema,CN=Configuration,DC=smbdomain,DC=com
attributeID: 1.2.840.113556.1.4.7000.102.64
attributeSyntax: 2.5.5.12
isSingleValued: TRUE
showInAdvancedViewOnly: TRUE
adminDisplayName: ms-Exch-Access-Control-Map
adminDescription: ms-Exch-Access-Control-Map
oMSyntax: 64
searchFlags: 0
lDAPDisplayName: msExchAccessControlMap
name: ms-Exch-Access-Control-Map
#schemaIDGUID: 8ff54464-b093-11d2-aa06-00c04f8eedd8
isMemberOfPartialAttributeSet: FALSE
objectCategory:
CN=Attribute-Schema,CN=Schema,CN=Configuration,DC=smbdomain,DC=com
[!] error while provisioning the Exchange schema classes (68): Entry
CN=ms-Exch-Access-Control-Map,CN=Schema,CN=Configuration,DC=smbdomain,DC=com
*already exists*
Traceback (most recent call last):
File "/usr/sbin/openchange_provision", line 115, in <module>
*ignore_already_exists*=opts.ignore_already_exists)
File "/usr/lib/python2.7/dist-packages/openchange/provision.py",
line 1062, in provision
*ignore_already_exists*=ignore_already_exists)
File "/usr/lib/python2.7/dist-packages/openchange/provision.py",
line 470, in install_schemas
*ignore_already_exists*=ignore_already_exists)
File "/usr/lib/python2.7/dist-packages/openchange/provision.py",
line 251, in provision_schema
ldif_apply_method(el, ['relax:0'])
File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 224,
in add_ldif
self.add(msg, controls)
_*ldb.LdbError*: (68, 'Entry
CN=ms-Exch-Access-Control-Map,CN=Schema,CN=Configuration,DC=smbdomain,DC=com
*already exists*')
adam@sogo:~$
Are there any switches I can use with the command to provision that
EXCEPTS these errors?
And, where can I find this stuff on my own? Documentation is SCARCE
with OpenChange, IMO
Thanks for all your help! I know it's not your responsibility but
it's appreciated.
Steve
I provided you that previous tip by reading the openchange source and
determining what commands and options it really needed from you at that
point.
Try posting this issue at the following github repo, with full details,
this is the developer of openchange:
https://github.com/openchange/openchange
Click Issues / New Issue.
Paste in this thread.
And post back your results!
Agreed that openchange and sogo documentation is less clear and concise
than it should be for the end user to be able to quickly and simply
accomplish all the usual administrative setup tasks. There seems to be
no documentation at all on the command line commands.
The openchange_provision error messages, and all the error messages,
could/should be more helpful in terms of explaining what you need to do,
why, and how.
-Chris
--
[email protected]
https://inverse.ca/sogo/lists