[openchange][devel] schema_data_add: updates are not allowed: reject request

2015-05-18 Thread Fox NET
hello
When I execute this command, then I have this error:

openchange_provision --standalone

NOTE: This operation can take several minutes
[+] Step 1: Register Exchange OIDs
[+] Step 2: Add Exchange attributes to Samba schema
schema_data_add: updates are not allowed: reject request

Error: "(53, 'schema_data_add: updates are not allowed: reject request\n')" 
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=foxnet,DC=be
objectClass: top
objectClass: attributeSchema
cn: ms-Exch-Access-Control-Map
distinguishedName: 
CN=ms-Exch-Access-Control-Map,CN=Schema,CN=Configuration,DC=foxnet,DC=be
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=foxnet,DC=be

[!] error while provisioning the Exchange schema classes (53): schema_data_add: 
updates are not allowed: reject request

Traceback (most recent call last):
  File "/usr/sbin/openchange_provision", line 109, in 
openchange.provision(setup_path, provisionnames, lp, creds)
  File "/usr/lib/python2.7/dist-packages/openchange/provision.py", line 778, in 
provision
install_schemas(setup_path, names, lp, creds, reporter)
  File "/usr/lib/python2.7/dist-packages/openchange/provision.py", line 447, in 
install_schemas
provision_schema(sam_db, setup_path, names, reporter, schema['path'], 
schema['description'], schema['modify_mode'])
  File "/usr/lib/python2.7/dist-packages/openchange/provision.py", line 233, in 
provision_schema
sam_db.add_ldif(el, ['relax:0'])
  File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 224, in 
add_ldif
self.add(msg, controls)
_ldb.LdbError: (53, 'schema_data_add: updates are not allowed: reject 
request\n’)

Michel___
devel mailing list
devel@lists.openchange.org
http://mailman.openchange.org/listinfo/devel


Re: [openchange][devel] schema_data_add: updates are not allowed: reject request

2015-05-18 Thread Fox NET
Hello Julian

Missing one thing I have to add when creating my smb.conf, or on my server?

thank you
Michel


> Le 18 mai 2015 à 17:12, Julien Kerihuel  a écrit :
> 
> You are probably trying to provision an additional domain controller which 
> does not have schema master role.
> 
> Julien.
> 
> On 18/05/15 17:11, Fox NET wrote:
>> hello
>> When I execute this command, then I have this error:
>> 
>> openchange_provision --standalone
>> 
>> NOTE: This operation can take several minutes
>> [+] Step 1: Register Exchange OIDs
>> [+] Step 2: Add Exchange attributes to Samba schema
>> schema_data_add: updates are not allowed: reject request
>> 
>> Error: "(53, 'schema_data_add: updates are not allowed: reject request\n')" 
>> 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=foxnet,DC=be
>> objectClass: top
>> objectClass: attributeSchema
>> cn: ms-Exch-Access-Control-Map
>> distinguishedName: 
>> CN=ms-Exch-Access-Control-Map,CN=Schema,CN=Configuration,DC=foxnet,DC=be
>> 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=foxnet,DC=be
>> 
>> [!] error while provisioning the Exchange schema classes (53): 
>> schema_data_add: updates are not allowed: reject request
>> 
>> Traceback (most recent call last):
>>   File "/usr/sbin/openchange_provision", line 109, in 
>> openchange.provision(setup_path, provisionnames, lp, creds)
>>   File "/usr/lib/python2.7/dist-packages/openchange/provision.py", line 778, 
>> in provision
>> install_schemas(setup_path, names, lp, creds, reporter)
>>   File "/usr/lib/python2.7/dist-packages/openchange/provision.py", line 447, 
>> in install_schemas
>> provision_schema(sam_db, setup_path, names, reporter, schema['path'], 
>> schema['description'], schema['modify_mode'])
>>   File "/usr/lib/python2.7/dist-packages/openchange/provision.py", line 233, 
>> in provision_schema
>> sam_db.add_ldif(el, ['relax:0'])
>>   File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 224, in 
>> add_ldif
>> self.add(msg, controls)
>> _ldb.LdbError: (53, 'schema_data_add: updates are not allowed: reject 
>> request\n’)
>> 
>> Michel
>> 
>> 
>> ___
>> devel mailing list
>> devel@lists.openchange.org <mailto:devel@lists.openchange.org>
>> http://mailman.openchange.org/listinfo/devel 
>> <http://mailman.openchange.org/listinfo/devel>
> 
> -- 
> Julien Kerihuel
> j.kerih...@openchange.org <mailto:j.kerih...@openchange.org>
> OpenChange Project Founder
> 
> Twitter: http://twitter.com/jkerihuel <http://twitter.com/jkerihuel>
> 
> GPG Fingerprint: 0B55 783D A781 6329 108A  B609 7EF6 FE11 A35F 1F79
> ___
> devel mailing list
> devel@lists.openchange.org
> http://mailman.openchange.org/listinfo/devel

___
devel mailing list
devel@lists.openchange.org
http://mailman.openchange.org/listinfo/devel


[openchange][devel] Error with OpenChange

2015-05-20 Thread Fox NET
hi
Jessie I use the pool that has just been created.
So openchange_2.3 version of Zentyal
I have 2 errors
With this order, when I create the provision for OpenChange:
openchange_provision —standalone

openchange_provision --standalone
NOTE: This operation can take several minutes
[+] Step 1: Register Exchange OIDs
[+] Step 2: Add Exchange attributes to Samba schema
schema_data_add: updates are not allowed: reject request

Error: "(53, 'schema_data_add: updates are not allowed: reject request\n')" 
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=foxnet,DC=be
objectClass: top
objectClass: attributeSchema
cn: ms-Exch-Access-Control-Map
distinguishedName: 
CN=ms-Exch-Access-Control-Map,CN=Schema,CN=Configuration,DC=foxnet,DC=be
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=foxnet,DC=be

[!] error while provisioning the Exchange schema classes (53): schema_data_add: 
updates are not allowed: reject request

Traceback (most recent call last):
  File "/usr/sbin/openchange_provision", line 109, in 
openchange.provision(setup_path, provisionnames, lp, creds)
  File "/usr/lib/python2.7/dist-packages/openchange/provision.py", line 778, in 
provision
install_schemas(setup_path, names, lp, creds, reporter)
  File "/usr/lib/python2.7/dist-packages/openchange/provision.py", line 447, in 
install_schemas
provision_schema(sam_db, setup_path, names, reporter, schema['path'], 
schema['description'], schema['modify_mode'])
  File "/usr/lib/python2.7/dist-packages/openchange/provision.py", line 233, in 
provision_schema
sam_db.add_ldif(el, ['relax:0'])
  File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 224, in 
add_ldif
self.add(msg, controls)
_ldb.LdbError: (53, 'schema_data_add: updates are not allowed: reject 
request\n')

And when I create a user for OpenChange:

openchange_newuser --create m...@michelrenard.net 
Traceback (most recent call last):
  File "/usr/sbin/openchange_newuser", line 65, in 
lp, creds, opts.firstorg, opts.firstou)
  File "/usr/lib/python2.7/dist-packages/openchange/provision.py", line 161, in 
guess_names_from_smbconf
ldb.SCOPE_SUBTREE)
  File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 126, in 
searchone
res = self.search(basedn, scope, expression, [attribute])
_ldb.LdbError: (32, 'No such Base DN: CN=Microsoft 
Exchange,CN=Services,CN=Configuration,DC=foxnet,DC=be')

I OpenChange sources, should the refaires?

Thank you for your answers
Michel___
devel mailing list
devel@lists.openchange.org
http://mailman.openchange.org/listinfo/devel


Re: [openchange][devel] Error with OpenChange

2015-05-21 Thread Fox NET
Oh yes, generally it is YOU who answer the question.
We will not get excited about it and if I have to add my config with my own IP 
Fixed Server I not send that other community members can do anything with.

Are you sure that it works with any version of Python?

For be it compiles or via packet, the problem is still there.

So I decide to make a stop to it.

good day

Michel

> Le 21 mai 2015 à 11:50, Julien Kerihuel  a écrit :
> 
> Michel,
> 
> Asking the same question over and over is not going to result in a different 
> reply.
> 
> Please do the following:
> 1. Answer the question from the previous thread (are you running as 
> additional DC?)
> 2. Send your smb.conf to the list
> 
> Please also avoid duplicating or cross-posting questions among different 
> lists. It is misleading for users searching for an answer to similar problems 
> and give a wrong perspective about the feedback people may have when asking 
> for help on OpenChange.
> 
> Thanks,
> Julien.
> 
> On 20/05/15 19:07, Fox NET wrote:
>> hi
>> Jessie I use the pool that has just been created.
>> So openchange_2.3 version of Zentyal
>> I have 2 errors
>> With this order, when I create the provision for OpenChange:
>> openchange_provision —standalone
>> 
>> openchange_provision --standalone
>> NOTE: This operation can take several minutes
>> [+] Step 1: Register Exchange OIDs
>> [+] Step 2: Add Exchange attributes to Samba schema
>> schema_data_add: updates are not allowed: reject request
>> 
>> Error: "(53, 'schema_data_add: updates are not allowed: reject request\n')" 
>> 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=foxnet,DC=be
>> objectClass: top
>> objectClass: attributeSchema
>> cn: ms-Exch-Access-Control-Map
>> distinguishedName: 
>> CN=ms-Exch-Access-Control-Map,CN=Schema,CN=Configuration,DC=foxnet,DC=be
>> 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=foxnet,DC=be
>> 
>> [!] error while provisioning the Exchange schema classes (53): 
>> schema_data_add: updates are not allowed: reject request
>> 
>> Traceback (most recent call last):
>>   File "/usr/sbin/openchange_provision", line 109, in 
>> openchange.provision(setup_path, provisionnames, lp, creds)
>>   File "/usr/lib/python2.7/dist-packages/openchange/provision.py", line 778, 
>> in provision
>> install_schemas(setup_path, names, lp, creds, reporter)
>>   File "/usr/lib/python2.7/dist-packages/openchange/provision.py", line 447, 
>> in install_schemas
>> provision_schema(sam_db, setup_path, names, reporter, schema['path'], 
>> schema['description'], schema['modify_mode'])
>>   File "/usr/lib/python2.7/dist-packages/openchange/provision.py", line 233, 
>> in provision_schema
>> sam_db.add_ldif(el, ['relax:0'])
>>   File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 224, in 
>> add_ldif
>> self.add(msg, controls)
>> _ldb.LdbError: (53, 'schema_data_add: updates are not allowed: reject 
>> request\n')
>> 
>> And when I create a user for OpenChange:
>> 
>> openchange_newuser --create m...@michelrenard.net 
>> <mailto:m...@michelrenard.net> 
>> Traceback (most recent call last):
>>   File "/usr/sbin/openchange_newuser", line 65, in 
>> lp, creds, opts.firstorg, opts.firstou)
>>   File "/usr/lib/python2.7/dist-packages/openchange/provision.py", line 161, 
>> in guess_names_from_smbconf
>> ldb.SCOPE_SUBTREE)
>>   File "/usr/lib/python2.7/dist-packages/samba/__init__.py", line 126, in 
>> searchone
>> res = self.search(basedn, scope, expression, [attribute])
>> _ldb.LdbError: (32, 'No such Base DN: CN=Microsoft 
>> Exchange,CN=Services,CN=Configuration,DC=foxnet,DC=be')
>> 
>> I OpenChange sources, should the refaires?

Re: [openchange][devel] Error with OpenChange

2015-05-21 Thread Fox NET
Uh yes, I have to add or not
IF it's not a python error, what is it then?
I use your tutorial Julien, documentation you provided to install.
Or he works exclusively for Ubuntu / Fedora ...
Regardless, I feel I'm going to the "enemy" in the community ...

Michel

> Le 21 mai 2015 à 16:34, Julien Kerihuel  a écrit :
> 
> 
> 
> On 21/05/15 16:32, Jesús García Sáez wrote:
> 
> In this case you can probably fix the issue by adding this to your
> smb.conf (under [global] section)
> 
> dsdb:schema update allowed = true
> 
> Ahhh good catch, completely forgot about this!
> 
> Didn't we patch the python script to add this temporarily?
> 
> -- 
> Julien Kerihuel
> j.kerih...@openchange.org 
> OpenChange Project Founder
> 
> Twitter: http://twitter.com/jkerihuel 
> 
> GPG Fingerprint: 0B55 783D A781 6329 108A  B609 7EF6 FE11 A35F 1F79
> 
> 
> ___
> devel mailing list
> devel@lists.openchange.org 
> http://mailman.openchange.org/listinfo/devel 
> 
___
devel mailing list
devel@lists.openchange.org
http://mailman.openchange.org/listinfo/devel