Quoting [email protected]:

Quoting [email protected]:

Quoting [email protected]:

Quoting [email protected]:

Quoting Julien Kerihuel <[email protected]>:

On Wed, 2010-11-17 at 14:31 -0900, [email protected] wrote:
Problem 2:

While trying to provision OpenChange with the command:

./setup/openchange_provision

I get this:

NOTE: This operation can take several minutes
[+] Step 1: Register Exchange OIDs
[+] Step 2: Add new Exchange classes and attributes to Samba schema
Traceback (most recent call last):
File "./setup/openchange_provision", line 62, in <module>
 openchange.provision(setup_path, lp, creds,

Hi Jon,

I'll take over problem 2.

Assuming you have followed the guide step by step, I suppose you have
been using 'make samba-git' to fetch/compile Samba4.

Can you try to run 'make samba' instead and tell us whether or not it
fixed the issue for you?

Kind Regards,
Julien.


So by using 'make samba' instead of 'make samba-git' you will have to patch a few files to get it to compile and install. Once that is done you will end up with the same error that began this thread. While trying to do the "Provision OpenChange Server" by running the following:

./setup/openchange_provision

You again end up here:

[r...@localhost trunk]# ./setup/openchange_provision
NOTE: This operation can take several minutes
[+] Step 1: Register Exchange OIDs
[+] Step 2: Add new Exchange classes and attributes to Samba schema
Traceback (most recent call last):
  File "./setup/openchange_provision", line 62, in <module>
openchange.provision(setup_path, lp, creds, firstorg=opts.firstorg, firstou=opts.firstou) File "/usr/lib64/python2.6/site-packages/openchange/provision.py", line 421, in provision
    install_schemas(setup_path, names, lp, creds)
File "/usr/lib64/python2.6/site-packages/openchange/provision.py", line 163, in install_schemas
    "SCHEMADN": names.schemadn
File "/usr/local/samba/lib/python2.6/site-packages/samba/provision.py", line 372, in setup_add_ldif
    ldb.add_ldif(data, controls)
File "/usr/local/samba/lib/python2.6/site-packages/samba/__init__.py", line 218, in add_ldif
    self.add(msg, controls)
_ldb.LdbError: (21, "objectclass_attrs: attribute 'auxiliaryClass' on entry 'CN=ms-Exch-Addressing-Policy,CN=Schema,CN=Configuration,DC=openchange,DC=local' contains at least one invalid value!")


_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel


I found this on the samba mailing lits from January of 2009:

http://lists.samba.org/archive/samba-technical/2009-January.txt


> when running the provision script i get the fowling:
>  > DevBox:/usr/share/openchange/setup# ./openchange_provision
> --username=samba-admin --password=manager11
> --simple-bind-dn=cn=samba-admin,cn=samba
> NOTE: This operation can take several minutes
> [+] Step 1: Register Exchange OIDs
> [+] Step 2: Add new Exchange classes and attributes to Samba schema
> Traceback (most recent call last):
>   File "./openchange_provision", line 53, in <module>
>     openchange.provision(setup_path, lp, creds,
> firstorg=opts.firstorg, firstou=opts.firstou)
>   File "/usr/lib/python2.5/site-packages/openchange/provision.py",
> line 309, in provision
>     install_schemas(setup_path, names, lp, creds)
>   File "/usr/lib/python2.5/site-packages/openchange/provision.py",
> line 144, in install_schemas
>     "SCHEMADN": names.schemadn
>   File "/usr/lib/python2.5/site-packages/samba/provision.py", line
> 164, in setup_add_ldif
>     ldb.add_ldif(data)
>   File "/usr/lib/python2.5/site-packages/samba/__init__.py", line 192,
> in add_ldif
>     self.add(msg)
> _ldb.LdbError: (19, 'LDAP error 19 LDAP_CONSTRAINT_VIOLATION -
> <entryDN: no user modification allowed> <>')
> I need to investigate this traceback more closely. I have only been
doing provisioning test using the default LDB backend, not any external
LDAP server. This setup being untested so far, I can only assume it
doesn't work properly yet.

My guess is that for some reason your provision script fills in
'distinguishedName' on objects being added.  This is always incorrect,
but perhaps Samba doesn't check without the LDAP backend.

(distinguishedName is mapped to OpenLDAP's entryDN)

Andrew Bartlett
--
Andrew Bartlett
http://samba.org/~abartlet/
Authentication Developer, Samba Team           http://samba.org
Samba Developer, Red Hat Inc.



_______________________________________________
devel mailing list
[email protected]
http://mailman.openchange.org/listinfo/devel

Reply via email to