[Samba] Samba upgrade question

Ray Van Dolson rvandolson at esri.com
Mon Dec 20 09:34:38 MST 2010


On Thu, Dec 16, 2010 at 07:56:55AM -0800, Chernoguz, Inessa wrote:
> Hi All,
> 
> I have a problem with upgrade samba on Solaris 10 (x86). The current
> version is 3.0.25b (distributed with Solaris 10). I am trying to
> upgrade version to 3.4.5. I compiled samba from sources, has not any
> problem with make and installation. Now I have 2 different versions
> and when I am running "svcadm enable samba" I am receiving old
> version.  The old version installed under: /usr/sfw/sbin, new one
> under /usr/sbin...
> 
> # /usr/sfw/sbin/smbd -V
> Version 3.0.25a
> # /usr/sbin/smbd -V
> Version 3.4.5
> # ps -ef | grep smbd
>     root  7531  7305   0 17:55:32 pts/1       0:00 grep smbd
>     root  6981  6979   0 15:19:58 ?           0:00 /usr/sfw/sbin/smbd -D
>     root  6979     1   0 15:19:58 ?           0:00 /usr/sfw/sbin/smbd -D
> 
> Can you, please help me here?
> 
> Thanks a lot,
> Inessa

As someone already replied, you need to disable the vendor provided
Samba first:

    # svcadm disable samba

Then set up SysV init scripts for your new, custom installation of
Samba or something via SMF.

Alternately, Sunfreeware or Blastwave may have pre-packaged Samba
installs that include these scripts.

I prefer sticking with the vendor-provided packages when possible (hand
built packages don't scale administratively).  The latest Sun version
of Samba is 3.0.37 for Solaris 10 and I believe they have a refresh due
out shortly.

Thanks,
Ray


More information about the samba mailing list