[Samba] upgrading Samba

Rowland Penny rowlandpenny at googlemail.com
Wed Jun 17 07:03:39 MDT 2015


On 17/06/15 13:09, ZdenekChladek_cyber wrote:
> Hello,
> I have Debian 8(x64) and there installed Samba 4.1.17 from package 
> manager
>
> based on "upgrading-samba4.txt"
> I have made:
> 1] /etc/init.d/samba stop
> 2] /home/user/Downloads/samba-4.2.2$ ./configure 
> --prefix=/usr/share/samba [successfully]
> 3] /home/user/Downloads/samba-4.2.2$ make [successfully]
> 4] /home/user/Downloads/samba-4.2.2# make install [successfully]
> 5] /home/user/Downloads/samba-4.2.2# samba-tool dbcheck
> Checking 268 objects
> Checked 268 objects (0 errors)
>
> but when I try:
> samba --version
> Version 4.1.17-Debian
> as You see there is still previous version
>
> thank You for any help how to do it correctly.
>
> Regards Zdenek

Have you tried looking in /usr/share/samba ?
When you find your new Samba, alter your path to use it instead of the 
still installed Debian Samba and then alter the Debian startup scripts 
to start your self compiled Samba.

Rowland


More information about the samba mailing list