[ANNOUNCE] Samba 4.0 alpha 17

Sam Liddicott sam at liddicott.com
Wed Sep 21 06:34:32 MDT 2011


On Sat, Sep 17, 2011 at 11:57 AM, Andrew Bartlett <abartlet at samba.org>wrote:

> 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.
>
>
The only reference to kludge_acl within files on my filesystem is
within: /var/lib/samba/private/sam.ldb

which has this tdbdump extract:

{
key(12) = "DN=@MODULES\00"
data(277) = "g\19\01&\01\00\00\00 at MODULES\00 at LIST
\00\01\00\00\00\F5\00\00\00rootdse,paged_results,ranged_results,anr,server_sort,asq,extended_dn_store,extended_dn_in,rdn_name,objectclass,samldb,kludge_acl,password_hash,operational,subtree_rename,subtree_delete,linked_attributes,extended_dn_out_ldb,show_deleted,partition\00"
}

there are no other files that contain kludge_acl either in the file name or
in file contents.

I had supposed the purpose of the dbcheck was to fixup and remove kludges so
maybe kludge_acl is still needed for now?

Sam


More information about the samba-technical mailing list