[Samba] upgrade from 4.1.9 to 4.1.13

David Bear dwbear75 at gmail.com
Wed Dec 24 00:52:40 MST 2014


I went through the upgrade process describe here
https://wiki.samba.org/index.php/Updating_Samba

after grabbing the samba 4.1.13 source I configured, make and make
installed the new source over the top of my existing 4.1.9 code.

I expected that the install would copy over the top of existing python and
binaries but this seems to not be the case. My first clue was  running

bin/samba-tool dbcheck

This yielded the exception
 bin/samba-tool dbcheck
Traceback (most recent call last):
  File "bin/samba-tool", line 33, in <module>
    from samba.netcmd.main import cmd_sambatool
  File "/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/main.py",
line 24, in <module>
    from samba.netcmd.delegation import cmd_delegation
  File
"/usr/local/samba/lib/python2.7/site-packages/samba/netcmd/delegation.py",
line 23, in <module>
    from samba import provision
  File
"/usr/local/samba/lib/python2.7/site-packages/samba/provision/__init__.py",
line 46, in <module>
    from samba.samba3 import smbd, passdb
  File
"/usr/local/samba/lib/python2.7/site-packages/samba/samba3/__init__.py",
line 28, in <module>
    import ntdb
ImportError: /usr/local/samba/lib/private/libccan.so: version `SAMBA_4.1.9'
not found (required by /usr/local/samba/lib/private/libntdb.so.0)


So now we know the libntdb.so.0 was not replaced by the make install.

Running sbin/samba

starts the samba daemon but it doesn't seem to start it completely, nor
does it crash and die.  The last thing shown in var/log.samba is this:

tail var/log.samba
[2014/12/24 00:26:45.104709,  3]
../source4/auth/ntlm/auth.c:673(auth_register)
  AUTH backend 'unix' registered
[2014/12/24 00:26:45.104860,  3]
../source4/param/share.c:124(share_register)
  SHARE backend [classic] registered.
[2014/12/24 00:26:45.104939,  3]
../source4/param/share.c:124(share_register)
  SHARE backend [ldb] registered.


So clearly, something is messed up.

Is there some clean command in the make install step that I can use ? Or is
there some listing of files that I should clean before make install ?


-- 
David Bear
mobile: (602) 903-6476


More information about the samba mailing list