[Samba] Samba upgrade question

Gaiseric Vandal gaiseric.vandal at gmail.com
Mon Dec 20 12:58:48 MST 2010


The key advantages of the Solaris provided version is that
   - someone already did the compilation work
   -  ZFS support is included (this is backported by Sun and not 
included with 3.0.x source code from samba.)
   -  nsswitch support is also enabled

The big problems I had with Sun's version  (which is why I also ended up 
recompiling)
   -  domain trusts don't always work, and the idmap functionality is buggy.


So I think 3.0.x is pretty much a dead-end at this point.  According to 
the Oracle forums, Samba 3.4.x is included with the recent Solaris 
Express release-  so I expect it to be included with Solaris 11 
(whenever that comes out.)  My guess (no evidence to back this up) is 
that Solaris 10 will stay on samba 3.0.x.      You have to make some 
changes when you change versions and if they pushed that our as an 
automatic update it could possible break things.

With the sunfreeware and blastwave versions of samba-
    -  these might be 32-bit only.
    -  I don't think zfs is included.
    -  nsswitch support may or may not be included.    I had problems 
with this with sunfreeware samba in the past.



On 12/20/2010 11:34 AM, Ray Van Dolson wrote:
> 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