[Samba] Need help compiling Samba on Solaris

Gaiseric Vandal gaiseric.vandal at gmail.com
Mon Oct 4 16:01:50 MDT 2010

Sort of compiled?  Does that mean some options didn't compile?

I was able to compile samba 3.4.x. (as you point out, it requires 
tinkering with the CPPFLAGS etc.)    The latest OpenLDAP from 
sunfreeware should be fine (plus its dependencies, which are listed.)   
Presumably you are using GCC from Sunfreeware?  The Solaris kerberos 
should be fine.

nsswitch source is in a separate directory

.../samba-3.4.8/nsswitch not .../samba-3.4.8/source3

you may need to compile separately.

I see your other post.   3.0.37 generally worked for me except for 
interdomain trusts.  I know it wouldn't work with Windows 7 but that 
wasn't an issue for me at the time.

(Again, I repeat complain about Sun abandoning samba and not moving 
before 3.0.x-  which is will be useless one you need to support Windows 7.)

On 10/04/2010 04:59 PM, Stroh, George wrote:
> I had limited success compiling 3.4.8 and 3.5.4 on Solaris 10 8/07 x86.
> I downloaded the source code from Samba.org and the dependencies from
> sunfreeware.com. After some googling and trial and error with the
> LDDFLAGS, CPPFLAGS and such, it sort of compiled. I need to know how to
> properly set things up. How can I find out what version of dependencies
> you need for a particular samba version?

More information about the samba mailing list