Following the instructions in the SOGo Native Microsoft Outlook Configuration 
for v2.0 Beta 3 on a Fedora 15 machine, I get all the way through the process 
until the section "Adding Users". At this point when I enter: cd 
~/openchange/sogo/samba4sudo ./bin/samba-tool domain passwordsettings set 
--complexity=off
I receive the following error: Traceback (most recent call last):
  File "./bin/samba-tool", line 30, in <module>
    from samba.netcmd.domain import cmd_domain
  File "bin/python/samba/netcmd/domain.py", line 44, in <module>
    from samba.samba3 import Samba3
  File "bin/python/samba/samba3/__init__.py", line 29, in <module>
    import passdb
ImportError: /usr/local/samba/lib/ldb/libccan.so.0: version 
`SAMBA_4.0.0ALPHA17' not found (required by 
/usr/local/samba/lib/libsmbconf.so.0)
I then tried based on what another user wrote: sudo PYTHONPATH=../python 
./bin/samba-tool domain passwordsettings set --complexity=offand received the 
following error: Traceback (most recent call last):
  File "./bin/samba-tool", line 26, in <module>
    from samba import netcmd
  File "bin/python/samba/__init__.py", line 29, in <module>
    import samba.param
ImportError: No module named talloc
 Then I did the following based on some more research: yum install pytalloc and 
run again: sudo PYTHONPATH=../python ./bin/samba-tool domain passwordsettings 
set --complexity=off and still get this: Traceback (most recent call last):
  File "./bin/samba-tool", line 26, in <module>
    from samba import netcmd
  File "bin/python/samba/__init__.py", line 49, in <module>
    import ldb
ImportError: No module named ldb
 Then I try (since I have no clue as to why this isn't working): yum install 
pyldb and run again: sudo PYTHONPATH=../python ./bin/samba-tool domain 
passwordsettings set --complexity=off and the result now is this: Traceback 
(most recent call last):
  File "./bin/samba-tool", line 26, in <module>
    from samba import netcmd
  File "bin/python/samba/__init__.py", line 49, in <module>
    import ldb
ImportError: /usr/local/samba/lib/libpyldb-util.so.1: version 
`PYLDB_UTIL_1.0.0' not found (required by 
/usr/lib/python2.7/site-packages/ldb.so)
 Some other info that may be helpful: [root@localhost samba4]# ldconfig -p | 
grep "libpyldb"
        libpyldb-util.so.1 (libc6) => /usr/local/samba/lib/libpyldb-util.so.1
        libpyldb-util.so.1 (libc6) => /usr/lib/libpyldb-util.so.1
        libpyldb-util.so (libc6) => /usr/local/samba/lib/libpyldb-util.so
And: [root@localhost samba4]# nm /usr/lib/libpyldb-util.so.1
nm: /usr/lib/libpyldb-util.so.1: no symbols
[root@localhost samba4]# nm /usr/local/samba/lib/libpyldb-util.so.1 | grep 
"PYLDB_UTIL"
00000000 A PYLDB_UTIL_1.1.2
 Obviously, I am doing something wrong but what is wrong isn't obvious to me.  
Would appreciate any help. Thanks!                                         -- 
[email protected]
https://inverse.ca/sogo/lists

Reply via email to