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

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