[ANNOUNCE] Samba 4.0 alpha 17

Andrew Bartlett abartlet at samba.org
Sat Sep 17 04:57:52 MDT 2011


On Thu, 2011-09-15 at 10:34 +0100, Sam Liddicott wrote:
> On Tue, Sep 13, 2011 at 6:16 AM, Andrew Bartlett <abartlet at samba.org> wrote:
> ...
> 
> >
> > After upgrading Samba, it is suggested that you do the following:
> >
> >  - stop samba
> >  - take a backup copy of your sam.ldb and sam.ldb.d/* database files
> >  - run samba-tool dbcheck --cross-ncs --fix
> >  - use 'all' to say yes to fixing each type of error found
> >  - after it has finished, run dbcheck again to ensure it reports no
> >    errors
> >
> >
> After upgrading to samba4 a17, when I run the upgrade command:
> 
> # samba-tool dbcheck --cross-ncs --fix
> 
> it shows:
> 
> WARNING: Module [kludge_acl] not found - do you need to set
> LDB_MODULES_PATH?
> Unable to load modules for tdb:///var/lib/samba/private/sam.ldb: (null)
> ERROR(ldb): uncaught exception - None
>   File "/usr/lib/python2.6/site-packages/samba/netcmd/__init__.py", line
> 145, in _run
>     return self.run(*args, **kwargs)
>   File "/usr/lib/python2.6/site-packages/samba/netcmd/dbcheck.py", line 72,
> in run
>     credentials=creds, lp=lp)
>   File "/usr/lib/python2.6/site-packages/samba/samdb.py", line 57, in
> __init__
>     options=options)
>   File "/usr/lib/python2.6/site-packages/samba/__init__.py", line 122, in
> __init__
>     self.connect(url, flags, options)
>   File "/usr/lib/python2.6/site-packages/samba/samdb.py", line 71, in
> connect
>     options=options)
> 
> strace shows that python is opening packages in
> /usr/lib/python2.6/site-packages/samba and does open
> /usr/lib/samba/libtdb-wrap.so and /usr/lib/samba/libtdb.so.1 and
> /usr/modules/samba/ldb/tdb.so
> 
> strace doesn't show any ultimate failure to open any file with "tdb" in the
> filename (although it does show search path open sequences which succeed in
> the end)
> 
> It does fail to open files which would match "*ldb.py*" but then there are
> no such files in the source either
> 
> Any tips?

Remove your existing installed binaries.  The failure is due to us
attempting to load a module (kludge_acl) from the previous installation.

Andrew Bartlett

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




More information about the samba-announce mailing list