Re: [Samba] Need help compiling Samba on Solaris

2010-10-05 Thread Stroh, George
I got it to compile and run. I joined it to the domain and what the
wbinfo and net ads commands returned looked correct. I was not able to
map a drive to it. Computer management in windows says that nothing is
shared and when I browsed for the server it showed up under Other and
not the domain. 

I was not aware that nsswitch might need to be compiled also. Is there
documentation that says for samba x.x.x you need openldap x.x.x or
Kerberos x.x.x? I haven't seen anything on samba.org or in the source
code. I the Solaris samba source code I found the configure options they
used.

On samba 3.0.37 we have the windows 2003 domain controller listed as the
password server in the smb.conf and as the kdc in the krb5.conf files.
The windows 2008 domain controller doesn't like samba. Set the Network
Security: LAN Manager authentication level to LM and NTLM - use NTLMV2
session security if negotiated
http://yonitg.com/solution-for-windows-7-samba-connection-problem

I need to build a newer version because the windows admin wants to
replace the windows 2003 dc with a windows 2008 dc.



-Original Message-
From: Gaiseric Vandal [mailto:gaiseric.van...@gmail.com] 
Sent: Monday, October 04, 2010 17:02
To: samba@lists.samba.org
Subject: Re: [Samba] Need help compiling Samba on Solaris

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?





-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Need help compiling Samba on Solaris

2010-10-05 Thread Gaiseric Vandal
Documentation on samba.org is a little iffy -  stuff involving domain 
trusts and idmap has really been thin.   I had to rely on google 
searches to find info on changes for idmap between 3.0.x and 3.4.x


Are you using  a WINS server?   Active Directory does not require one-  
and I suspect Samba 3 as a ADS domain member might not either, but may 
help fix browsing issue.   Did you specify the workgroup in smb.conf?  
That may also help.


Was a computer account created in AD for your samba machine?

A google search at some point found a solaris or opensolaris forum blurb 
about ldap.  Sun's samba build using Sun LDAP client with some work 
arounds.Otherwise openldap is the default.  When you run configure, 
it will say which ldap features are supported.   Effectively, if you 
want AD support you need openldap.



I think Win 2008 R2 may increase security levels compared to Win 
2008.I think it is safe to assume samba 3.0.x is not Win 2008 R2 
compatible.






On 10/05/2010 10:46 AM, Stroh, George wrote:

I got it to compile and run. I joined it to the domain and what the
wbinfo and net ads commands returned looked correct. I was not able to
map a drive to it. Computer management in windows says that nothing is
shared and when I browsed for the server it showed up under Other and
not the domain.

I was not aware that nsswitch might need to be compiled also. Is there
documentation that says for samba x.x.x you need openldap x.x.x or
Kerberos x.x.x? I haven't seen anything on samba.org or in the source
code. I the Solaris samba source code I found the configure options they
used.

On samba 3.0.37 we have the windows 2003 domain controller listed as the
password server in the smb.conf and as the kdc in the krb5.conf files.
The windows 2008 domain controller doesn't like samba. Set the Network
Security: LAN Manager authentication level to LM and NTLM - use NTLMV2
session security if negotiated
http://yonitg.com/solution-for-windows-7-samba-connection-problem

I need to build a newer version because the windows admin wants to
replace the windows 2003 dc with a windows 2008 dc.



-Original Message-
From: Gaiseric Vandal [mailto:gaiseric.van...@gmail.com]
Sent: Monday, October 04, 2010 17:02
To: samba@lists.samba.org
Subject: Re: [Samba] Need help compiling Samba on Solaris

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?



 


   


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba


Re: [Samba] Need help compiling Samba on Solaris

2010-10-04 Thread Gaiseric Vandal

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?


   


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba