Re: Re: [SOGo] openchange_provision error

2015-07-10 Thread petr.sevcik
All users are in OU=Users DN=...

I didn't move any user.

It looks like problem with Phyton 2.6 syntax. Look at the attached log.
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] openchange_provision error

2015-07-10 Thread Johannes Faber

> Am 10.07.2015 um 09:14 schrieb petr.sev...@linuxbox.cz:
> 
> Hi all,
> 
> I discovered the same problem on CentOS release 6.6 (Final)
> 
> I'm using nightly packages:
> openchange-ocsmanager-2.3.r5529.sogo-1.centos6.x86_64
> openchange-rpcproxy-2.3.r5529.sogo-1.centos6.x86_64
> openchange-2.3.r5529.sogo-1.centos6.x86_64
> sogo-activesync-2.3.0.20150709-1.centos6.x86_64
> sogo-debuginfo-2.3.0.20150709-1.centos6.x86_64
> sogo-ealarms-notify-2.3.0.20150709-1.centos6.x86_64
> sogo-openchange-backend-2.3.0.20150709-1.centos6.x86_64
> sogo-slapd-sockd-2.3.0.20150709-1.centos6.x86_64
> sogo-tool-2.3.0.20150709-1.centos6.x86_64
> sogo-2.3.0.20150709-1.centos6.x86_64
> 
> When I run openchange_newuser I get this error log:
> Traceback (most recent call last):
> File "/usr/sbin/openchange_newuser", line 30, in 
>   import openchange.provision as openchange
> File "/usr/lib64/python2.6/site-packages/openchange/provision.py", line 27,
> in 
>   from openchange import mailbox
> File "/usr/lib64/python2.6/site-packages/openchange/mailbox.py", line 34, in
> 
>   from openchange.migration import MigrationManager
> File "/usr/lib64/python2.6/site-packages/openchange/migration/__init__.py",
> line 61
>   self._version = {app: None for app in self.migrations.keys()}
>^
> SyntaxError: invalid syntax

Do you maybe have your users on a different dn than OpenChange expects? I had 
to make some changes to the scripts to use something different than the default 
user dn.

OpenChange expects everything within ou=Users,DC=domain,DC=toplevel and it is 
hardcoded at several places.

Regards,

Johannes

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] openchange_provision error

2015-07-10 Thread petr.sevcik
Hi all,

I discovered the same problem on CentOS release 6.6 (Final)

I'm using nightly packages:
openchange-ocsmanager-2.3.r5529.sogo-1.centos6.x86_64
openchange-rpcproxy-2.3.r5529.sogo-1.centos6.x86_64
openchange-2.3.r5529.sogo-1.centos6.x86_64
sogo-activesync-2.3.0.20150709-1.centos6.x86_64
sogo-debuginfo-2.3.0.20150709-1.centos6.x86_64
sogo-ealarms-notify-2.3.0.20150709-1.centos6.x86_64
sogo-openchange-backend-2.3.0.20150709-1.centos6.x86_64
sogo-slapd-sockd-2.3.0.20150709-1.centos6.x86_64
sogo-tool-2.3.0.20150709-1.centos6.x86_64
sogo-2.3.0.20150709-1.centos6.x86_64

When I run openchange_newuser I get this error log:
Traceback (most recent call last):
  File "/usr/sbin/openchange_newuser", line 30, in 
import openchange.provision as openchange
  File "/usr/lib64/python2.6/site-packages/openchange/provision.py", line 27,
in 
from openchange import mailbox
  File "/usr/lib64/python2.6/site-packages/openchange/mailbox.py", line 34, in

from openchange.migration import MigrationManager
  File "/usr/lib64/python2.6/site-packages/openchange/migration/__init__.py",
line 61
self._version = {app: None for app in self.migrations.keys()}
 ^
SyntaxError: invalid syntax

Thank you for your advice.
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


RE: [SOGo] openchange_provision error

2015-06-09 Thread Victor, Eben, Vodacom South Africa
Hi Ludovic,

Below worked 100% for me thanks but now when starting up openchange-ocsmanager 
I get the following error message.

Error msg:
ImportError: No module named mapistor
Removing PID file /var/run/ocsmanager/ocsmanager.pid

I have the following packages installed on CentOS 6.5 from SOGo.repo

[root@sogo ~]# rpm -qa | egrep "samba|sogo|openchange"
sogo-ealarms-notify-2.3.0-1.centos6.x86_64
samba-dc-libs-4.1.18-2.centos6.x86_64
samba-4.1.18-2.centos6.x86_64
sogo-openchange-backend-2.3.0-1.centos6.x86_64
samba-client-4.1.18-2.centos6.x86_64
sogo-tool-2.3.0-1.centos6.x86_64
samba-common-4.1.18-2.centos6.x86_64
openchange-2.2.r4816.sogo-1.centos6.x86_64
openchange-ocsmanager-2.2.r4816.sogo-1.centos6.x86_64
samba-winbind-4.1.18-2.centos6.x86_64
sogo-activesync-2.3.0-1.centos6.x86_64
samba-python-4.1.18-2.centos6.x86_64
sogo-2.3.0-1.centos6.x86_64
samba-winbind-modules-4.1.18-2.centos6.x86_64
samba-dc-4.1.18-2.centos6.x86_64
samba-libs-4.1.18-2.centos6.x86_64
openchange-rpcproxy-2.2.r4816.sogo-1.centos6.x86_64
sogo-slapd-sockd-2.3.0-1.centos6.x86_64

I had a look and cannot find the mapistore.so on my server. The rest is working 
100%.

Regards

-Original Message-
From: users-requ...@sogo.nu [mailto:users-requ...@sogo.nu] On Behalf Of Ludovic 
Marcotte
Sent: 04 June 2015 02:13 PM
To: users@sogo.nu
Subject: Re: [SOGo] openchange_provision error

On 04/06/2015 06:53, Julien Kerihuel wrote:
> On 04/06/15 07:27, Victor, Eben, Vodacom South Africa wrote:
>> >db: failed to initialise module /usr/lib64/samba/ldb/acl.so :
>> >Unavailable
>  From what I can see in the output, you are missing the libacl library.
>
> Checkhttps://wiki.samba.org/index.php/OS_Requirements  to ensure your
> system match the packages requirements.
>
> If libacl was indeed missing, install the devel package AND recompile Samba.
Have a quick look at: http://www.sogo.nu/bugs/view.php?id=3229

This is now fixed with our Samba 4.1.18-2 packages.

They are available in the official repo. Update and test again.

Thanks,

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca Inverse inc. 
:: Leaders behind SOGo (http://sogo.nu) and PacketFence (http://packetfence.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists
This e-mail is classified C2 - Vodacom Restricted - Information to be used 
inside Vodacom but it may be shared with authorised partners.
“This e-mail is sent on the Terms and Conditions that can be accessed by 
Clicking on this link https://webmail.vodacom.co.za/tc/default.html " 
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] openchange_provision error

2015-06-04 Thread Ludovic Marcotte

On 04/06/2015 06:53, Julien Kerihuel wrote:

On 04/06/15 07:27, Victor, Eben, Vodacom South Africa wrote:

>db: failed to initialise module /usr/lib64/samba/ldb/acl.so : Unavailable

 From what I can see in the output, you are missing the libacl library.

Checkhttps://wiki.samba.org/index.php/OS_Requirements  to ensure your
system match the packages requirements.

If libacl was indeed missing, install the devel package AND recompile Samba.

Have a quick look at: http://www.sogo.nu/bugs/view.php?id=3229

This is now fixed with our Samba 4.1.18-2 packages.

They are available in the official repo. Update and test again.

Thanks,

--
Ludovic Marcotte
lmarco...@inverse.ca  ::  +1.514.755.3630  ::  http://inverse.ca
Inverse inc. :: Leaders behind SOGo (http://sogo.nu) and PacketFence 
(http://packetfence.org)

--
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] openchange_provision error

2015-06-04 Thread Julien Kerihuel


On 04/06/15 07:27, Victor, Eben, Vodacom South Africa wrote:
> db: failed to initialise module /usr/lib64/samba/ldb/acl.so : Unavailable

From what I can see in the output, you are missing the libacl library.

Check https://wiki.samba.org/index.php/OS_Requirements to ensure your
system match the packages requirements.

If libacl was indeed missing, install the devel package AND recompile Samba.

Br,
Julien.

-- 
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




signature.asc
Description: OpenPGP digital signature


RE: [SOGo] openchange_provision error

2015-06-04 Thread Victor, Eben, Vodacom South Africa
Hi Julien,

Even after setting the LDB_MODULES_PATH samba cannot be join or created as a AD 
DC.

# export LDB_MODULES_PATH="/usr/lib64/samba/ldb"

# echo $LDB_MODULES_PATH
/usr/lib64/samba/ldb

# ldconfig
/usr/lib64/samba:
/usr/lib64/samba/ldb:

I know this used to work in Samba-4.1.11 without any issues.

Regards

From: users-requ...@sogo.nu [mailto:users-requ...@sogo.nu] On Behalf Of Julien 
Kerihuel
Sent: 03 June 2015 02:40 PM
To: users@sogo.nu
Subject: Re: [SOGo] openchange_provision error

Hi Eben,

You need to set the LDB_MODULES_PATH environment variable:

LDB_MODULES_PATH="/usr/lib64/samba/ldb"


Cheers,
Julien.
On 03/06/15 08:24, 
eben.vic...@vcontractor.co.za<mailto:eben.vic...@vcontractor.co.za> wrote:

Hi,



I decided to do a rebuild and use samba 4.1.18 with openchange 2.2 and sogo

2.3 (All from SOGo repo) with RHEL 6.5



When using openchange_provision it works, but now I keep on receive the

following error.



** Trying to setup a new ADDC **

samba-tool domain provision --use-rfc2307 --interactive

Realm [SAMBA.TEST]:

 Domain [SAMBA]:

 Server Role (dc, member, standalone) [dc]:

 DNS backend (SAMBA_INTERNAL, BIND9_FLATFILE, BIND9_DLZ, NONE)

[SAMBA_INTERNAL]:

 DNS forwarder IP address (write 'none' to disable forwarding) [10.132.33.2]:

Administrator password:

Retype password:

Sorry, passwords do not match.

Administrator password:

Retype password:

Looking up IPv4 addresses

Looking up IPv6 addresses

No IPv6 address will be assigned

ldb: module version mismatch in ../source4/dsdb/samdb/ldb_modules/acl.c :

ldb_version=1.1.17 module_version=1.1.20

ldb: failed to initialise module /usr/lib64/samba/ldb/acl.so : Unavailable

Setting up secrets.ldb

WARNING: Module [samba_secrets] not found - do you need to set

LDB_MODULES_PATH?

Unable to load modules for /var/lib/samba/private/secrets.ldb: (null)

ERROR(ldb): uncaught exception - None

  File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py", line

175, in _run

return self.run(*args, **kwargs)

  File "/usr/lib64/python2.6/site-packages/samba/netcmd/domain.py", line 401,

in run

use_rfc2307=use_rfc2307, skip_sysvolacl=False)

  File "/usr/lib64/python2.6/site-packages/samba/provision/__init__.py", line

2109, in provision

backend_credentials=provision_backend.secrets_credentials, lp=lp)

  File "/usr/lib64/python2.6/site-packages/samba/provision/__init__.py", line

946, in setup_secretsdb

secrets_ldb = Ldb(path, session_info=session_info, lp=lp)

  File "/usr/lib64/python2.6/site-packages/samba/__init__.py", line 114, in

__init__

self.connect(url, flags, options)





** Trying to join to domain **

samba-tool domain join samba.test DC -Uadministrator --realm=samba.test

Finding a writeable DC for domain 'samba.test'

Found DC hostname.samba.test

ldb: module version mismatch in ../source4/dsdb/samdb/ldb_modules/acl.c :

ldb_version=1.1.17 module_version=1.1.20

ldb: failed to initialise module /usr/lib64/samba/ldb/acl.so : Unavailable

ERROR(): uncaught exception - Can't join,

error: 2020: Operation unavailable without authentication

  File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py", line

175, in _run

return self.run(*args, **kwargs)

  File "/usr/lib64/python2.6/site-packages/samba/netcmd/domain.py", line 555,

in run

machinepass=machinepass, use_ntvfs=use_ntvfs, dns_backend=dns_backend)

  File "/usr/lib64/python2.6/site-packages/samba/join.py", line 1150, in

join_DC

machinepass, use_ntvfs, dns_backend, promote_existing)

  File "/usr/lib64/python2.6/site-packages/samba/join.py", line 86, in

__init__

raise DCJoinException(estr)



Please assist, what I'm I doing wrong?

I installed all the required packages including samba/openchange from yum repo

packages.



Regards



--

Julien Kerihuel

j.kerih...@openchange.org<mailto:j.kerih...@openchange.org>

OpenChange Project Founder



Twitter: http://twitter.com/jkerihuel



GPG Fingerprint: 0B55 783D A781 6329 108A  B609 7EF6 FE11 A35F 1F79

This e-mail is classified C2 - Vodacom Restricted - Information to be used 
inside Vodacom but it may be shared with authorised partners.

“This e-mail is sent on the Terms and Conditions that can be accessed by 
Clicking on this link https://webmail.vodacom.co.za/tc/default.html " 
-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] openchange_provision error

2015-06-03 Thread Julien Kerihuel
Hi Eben,

You need to set the LDB_MODULES_PATH environment variable:

LDB_MODULES_PATH="/usr/lib64/samba/ldb"


Cheers,
Julien.

On 03/06/15 08:24, eben.vic...@vcontractor.co.za wrote:
> Hi,
>
> I decided to do a rebuild and use samba 4.1.18 with openchange 2.2 and sogo
> 2.3 (All from SOGo repo) with RHEL 6.5
>
> When using openchange_provision it works, but now I keep on receive the
> following error.
>
> ** Trying to setup a new ADDC **
> samba-tool domain provision --use-rfc2307 --interactive
> Realm [SAMBA.TEST]:
>  Domain [SAMBA]:
>  Server Role (dc, member, standalone) [dc]:
>  DNS backend (SAMBA_INTERNAL, BIND9_FLATFILE, BIND9_DLZ, NONE)
> [SAMBA_INTERNAL]:
>  DNS forwarder IP address (write 'none' to disable forwarding) [10.132.33.2]:
> Administrator password:
> Retype password:
> Sorry, passwords do not match.
> Administrator password:
> Retype password:
> Looking up IPv4 addresses
> Looking up IPv6 addresses
> No IPv6 address will be assigned
> ldb: module version mismatch in ../source4/dsdb/samdb/ldb_modules/acl.c :
> ldb_version=1.1.17 module_version=1.1.20
> ldb: failed to initialise module /usr/lib64/samba/ldb/acl.so : Unavailable
> Setting up secrets.ldb
> WARNING: Module [samba_secrets] not found - do you need to set
> LDB_MODULES_PATH?
> Unable to load modules for /var/lib/samba/private/secrets.ldb: (null)
> ERROR(ldb): uncaught exception - None
>   File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py", line
> 175, in _run
> return self.run(*args, **kwargs)
>   File "/usr/lib64/python2.6/site-packages/samba/netcmd/domain.py", line 401,
> in run
> use_rfc2307=use_rfc2307, skip_sysvolacl=False)
>   File "/usr/lib64/python2.6/site-packages/samba/provision/__init__.py", line
> 2109, in provision
> backend_credentials=provision_backend.secrets_credentials, lp=lp)
>   File "/usr/lib64/python2.6/site-packages/samba/provision/__init__.py", line
> 946, in setup_secretsdb
> secrets_ldb = Ldb(path, session_info=session_info, lp=lp)
>   File "/usr/lib64/python2.6/site-packages/samba/__init__.py", line 114, in
> __init__
> self.connect(url, flags, options)
>
>
> ** Trying to join to domain **
> samba-tool domain join samba.test DC -Uadministrator --realm=samba.test
> Finding a writeable DC for domain 'samba.test'
> Found DC hostname.samba.test
> ldb: module version mismatch in ../source4/dsdb/samdb/ldb_modules/acl.c :
> ldb_version=1.1.17 module_version=1.1.20
> ldb: failed to initialise module /usr/lib64/samba/ldb/acl.so : Unavailable
> ERROR(): uncaught exception - Can't join,
> error: 2020: Operation unavailable without authentication
>   File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py", line
> 175, in _run
> return self.run(*args, **kwargs)
>   File "/usr/lib64/python2.6/site-packages/samba/netcmd/domain.py", line 555,
> in run
> machinepass=machinepass, use_ntvfs=use_ntvfs, dns_backend=dns_backend)
>   File "/usr/lib64/python2.6/site-packages/samba/join.py", line 1150, in
> join_DC
> machinepass, use_ntvfs, dns_backend, promote_existing)
>   File "/usr/lib64/python2.6/site-packages/samba/join.py", line 86, in
> __init__
> raise DCJoinException(estr)
>
> Please assist, what I'm I doing wrong?
> I installed all the required packages including samba/openchange from yum repo
> packages.
>
> Regards

-- 
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



signature.asc
Description: OpenPGP digital signature


Re: [SOGo] openchange_provision error

2015-06-03 Thread eben.victor
Hi,

I decided to do a rebuild and use samba 4.1.18 with openchange 2.2 and sogo
2.3 (All from SOGo repo) with RHEL 6.5

When using openchange_provision it works, but now I keep on receive the
following error.

** Trying to setup a new ADDC **
samba-tool domain provision --use-rfc2307 --interactive
Realm [SAMBA.TEST]:
 Domain [SAMBA]:
 Server Role (dc, member, standalone) [dc]:
 DNS backend (SAMBA_INTERNAL, BIND9_FLATFILE, BIND9_DLZ, NONE)
[SAMBA_INTERNAL]:
 DNS forwarder IP address (write 'none' to disable forwarding) [10.132.33.2]:
Administrator password:
Retype password:
Sorry, passwords do not match.
Administrator password:
Retype password:
Looking up IPv4 addresses
Looking up IPv6 addresses
No IPv6 address will be assigned
ldb: module version mismatch in ../source4/dsdb/samdb/ldb_modules/acl.c :
ldb_version=1.1.17 module_version=1.1.20
ldb: failed to initialise module /usr/lib64/samba/ldb/acl.so : Unavailable
Setting up secrets.ldb
WARNING: Module [samba_secrets] not found - do you need to set
LDB_MODULES_PATH?
Unable to load modules for /var/lib/samba/private/secrets.ldb: (null)
ERROR(ldb): uncaught exception - None
  File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py", line
175, in _run
return self.run(*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/samba/netcmd/domain.py", line 401,
in run
use_rfc2307=use_rfc2307, skip_sysvolacl=False)
  File "/usr/lib64/python2.6/site-packages/samba/provision/__init__.py", line
2109, in provision
backend_credentials=provision_backend.secrets_credentials, lp=lp)
  File "/usr/lib64/python2.6/site-packages/samba/provision/__init__.py", line
946, in setup_secretsdb
secrets_ldb = Ldb(path, session_info=session_info, lp=lp)
  File "/usr/lib64/python2.6/site-packages/samba/__init__.py", line 114, in
__init__
self.connect(url, flags, options)


** Trying to join to domain **
samba-tool domain join samba.test DC -Uadministrator --realm=samba.test
Finding a writeable DC for domain 'samba.test'
Found DC hostname.samba.test
ldb: module version mismatch in ../source4/dsdb/samdb/ldb_modules/acl.c :
ldb_version=1.1.17 module_version=1.1.20
ldb: failed to initialise module /usr/lib64/samba/ldb/acl.so : Unavailable
ERROR(): uncaught exception - Can't join,
error: 2020: Operation unavailable without authentication
  File "/usr/lib64/python2.6/site-packages/samba/netcmd/__init__.py", line
175, in _run
return self.run(*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/samba/netcmd/domain.py", line 555,
in run
machinepass=machinepass, use_ntvfs=use_ntvfs, dns_backend=dns_backend)
  File "/usr/lib64/python2.6/site-packages/samba/join.py", line 1150, in
join_DC
machinepass, use_ntvfs, dns_backend, promote_existing)
  File "/usr/lib64/python2.6/site-packages/samba/join.py", line 86, in
__init__
raise DCJoinException(estr)

Please assist, what I'm I doing wrong?
I installed all the required packages including samba/openchange from yum repo
packages.

Regards
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Openchange_provision error

2013-02-22 Thread Julien Kerihuel
Hi Daniele,

With your RODC setup this could work in any case. OpenChange
provisioning is extending AD schema with Exchange attributes and
classes. Same thing with DC unless you transfer the control to Samba. 

For openchange specific questions, please report them to OpenChange
devel mailing-list directly:
http://mailman.openchange.org/listinfo/devel

While I'm doing my best to sort out openchange specific questions from
sogo ml, it usually happen I miss some of them. Using the proper
mailing-list reduce the path to 'no answer'.

Kind Regards,
Julien.

On Fri, 2013-02-22 at 11:00 -0500, d.bor...@effegidi.it wrote:
> i've tried changing samba domain join from RODC to DC. by these way my first
> problem seem to solved, but i cannot go on with openchange provision because 
> it
> expects local samba is "master".. here's the error message:
> 
>  Add Exchange attributes to Samba schema
> schema_data_add: we are not master: reject request
> 
> [!] error while provisioning the Exchange schema classes (53): 
> schema_data_add:
> we are not master: reject request
> [+] Step 3: Exchange Samba with Exchange configuration objects
> [!] error while provisioning the Exchange configuration objects (16):
> objectclass msExchOrganizationContainer is not a valid objectClass in schema
> 
> thanks,
> daniele.

-- 
Julien Kerihuel
j.kerih...@openchange.org
OpenChange Project Founder

Twitter: http://www.twitter.com/jkerihuel
GPG Fingerprint: 0B55 783D A781 6329 108A  B609 7EF6 FE11 A35F 1F79

Julien Kerihuel
j.kerih...@openchange.org
OpenChange Project Founder

Twitter: http://www.twitter.com/jkerihuel
GPG Fingerprint: 0B55 783D A781 6329 108A  B609 7EF6 FE11 A35F 1F79


-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] Openchange_provision error

2013-02-22 Thread Sven Auhagen
You are on the right way.
After joining the samba DC to the domain you have to transfer master control 
over to this DC to actually provision.
Use samba-tool fsmo OPTION
I think what you need is SchemaMasterRole but I am not sure.

Best,
Sven

On Feb 22, 2013, at 5:00 PM,  wrote:

> i've tried changing samba domain join from RODC to DC. by these way my first
> problem seem to solved, but i cannot go on with openchange provision because 
> it
> expects local samba is "master".. here's the error message:
> 
> Add Exchange attributes to Samba schema
> schema_data_add: we are not master: reject request
> 
> [!] error while provisioning the Exchange schema classes (53): 
> schema_data_add:
> we are not master: reject request
> [+] Step 3: Exchange Samba with Exchange configuration objects
> [!] error while provisioning the Exchange configuration objects (16):
> objectclass msExchOrganizationContainer is not a valid objectClass in schema
> 
> thanks,
> daniele.
> -- 
> users@sogo.nu
> https://inverse.ca/sogo/lists

-- 
users@sogo.nu
https://inverse.ca/sogo/lists

Re: [SOGo] Openchange_provision error

2013-02-22 Thread d.borini
i've tried changing samba domain join from RODC to DC. by these way my first
problem seem to solved, but i cannot go on with openchange provision because it
expects local samba is "master".. here's the error message:

 Add Exchange attributes to Samba schema
schema_data_add: we are not master: reject request

[!] error while provisioning the Exchange schema classes (53): schema_data_add:
we are not master: reject request
[+] Step 3: Exchange Samba with Exchange configuration objects
[!] error while provisioning the Exchange configuration objects (16):
objectclass msExchOrganizationContainer is not a valid objectClass in schema

thanks,
daniele.
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: Re: [SOGo] openchange_provision error

2012-09-20 Thread utapyngo
I have the same error:

NOTE: This operation can take several minutes
Traceback (most recent call last):
  File "setup/openchange_provision", line 61, in 
openchange.provision(setup_path, lp, creds, firstorg=opts.firstorg,
firstou=opts.firstou)
  File "/usr/local/src/openchange/python/openchange/provision.py", line 357, in
provision
install_schemas(setup_path, names, lp, creds, reporter)
  File "/usr/local/src/openchange/python/openchange/provision.py", line 223, in
install_schemas
scope=SCOPE_SUBTREE)
_ldb.LdbError: (32, 'No such Base DN: CN=Schema,CN=Configuration,CN=D')

Did you manage to overcome it?
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] openchange_provision error

2012-07-04 Thread oooo1
Not the same but looks like:

NOTE: This operation can take several minutes
Traceback (most recent call last):
  File "/usr/local/samba/sbin/openchange_provision", line 61, in 
openchange.provision(setup_path, lp, creds, firstorg=opts.firstorg,
firstou=opts.firstou)
  File "/usr/local/samba/lib/python2.7/site-packages/openchange/provision.py",
line 358, in provision
install_schemas(setup_path, names, lp, creds, reporter)
  File "/usr/local/samba/lib/python2.7/site-packages/openchange/provision.py",
line 224, in install_schemas
scope=SCOPE_SUBTREE)
_ldb.LdbError: (32, 'No such Base DN: CN=Schema,CN=Configuration,CN=SERVER')
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: Re: [SOGo] openchange_provision error

2012-07-04 Thread oooo1
I have such file at /usr/local/samba/share/setup/AD and have the same error
also.
-- 
users@sogo.nu
https://inverse.ca/sogo/lists


Re: [SOGo] openchange_provision error

2012-05-07 Thread Christian Mack
Hello Christoph Schröder


On 2012-05-06 23:48, christophschroede...@googlemail.com wrote:
> 
> whwn running openchange_proviosion I come across the following error:
> 
> $ sudo openchange_provision
> NOTE: This operation can take several minutes
> Traceback (most recent call last):
>   File "/usr/sbin/openchange_provision", line 61, in 
> openchange.provision(setup_path, lp, creds, firstorg=opts.firstorg,
> firstou=opts.firstou)
>   File "/usr/lib/pymodules/python2.7/openchange/provision.py", line 357, in
> provision
> install_schemas(setup_path, names, lp, creds, reporter)
>   File "/usr/lib/pymodules/python2.7/openchange/provision.py", line 231, in
> install_schemas
> prefixmap_data = open(setup_path("AD/prefixMap.txt"), 'r').read()
> IOError: [Errno 2] No such file or directory:
> '/usr/share/samba/setup/AD/prefixMap.txt'
> 
> Does anyone of you hzave an idea how to overcome it? Would be very much
> appreciated.
> 

Seems you don't have samba installed completely.
Missing file:
/usr/share/samba/setup/AD/prefixMap.txt


Kind regards,
Christian Mack

-- 
Christian Mack
Gruppe Informationsdienste
Rechenzentrum Universität Konstanz
-- 
users@sogo.nu
https://inverse.ca/sogo/lists