Re: [Samba] Compile help for Solaris 10 x86, samba 3.0.28a deficient?
Sin = Solaris I thought you knew :-) I've been a Solaris user for 10 years and an admin for 3 and I can tell you I'm still clueless with some things. For example I had a system that I moved and plugged into a different fiber connect. Well Sun's BootProm (there version of POST) helpfully changed the configuration of the FC card from 1000 full to autonegotiate. Funny thing really autonegotiate doesn't work in Solaris unless the other side is set to auto too. Makes sense doesn't it :-) Man I was scratching my head for 3 hours with a Sun engineer on the phone because an identical workstation (just different software installed) was at the new location and working fine, all of a sudden both wouldn't work. Anyways Solaris is rock solid just don't touch it unless you have a day to spare. On Oct 12, 2008, at 1:58 PM, Dennis Clarke wrote: On Sunday 12 October 2008 07:55:01 Jake Carroll wrote: I sort of hoped that somebody would release pre-built binaries for Sol 10 x86, unfortunately, all I can find on samba.org is a long way out of date SPARC binary of 3.0.23. There are Blastwave x86 packages out there. If you have searched the old posts on this list, you should have found that maintainer (Dennis Clarke) even posted links here on the list. Here you go: Samba 3.0.31: http://www.blastwave.org/testing/samba-3.0.31,REV=2008.08.22-SunOS5.8-i386-CSW.pkg.bz2 Samba 3.2.2: http://www.blastwave.org/testing/samba-3.2.2,REV=2008.08.22-SunOS5.8-i386-CSW.pkg.gz I don't know if the links are still functional. They function .. always have .. always will .. until we release them to all the mirrors. The poor man should work with me .. sounds like we have both worked in lonely miserable long nights and days and wondered why we were being punished, what sins had we committed that we deserved this. yes .. it is that bad. Dennis -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Compile help for Solaris 10 x86, samba 3.0.28a deficient?
Folks, Just wanted to say thank you for kick starting this. Really glad the community is willing to help out on this and make things happen! Let me know how I can help here. Ultimately, all I want is a binary that will work with Sun krb5, aio, ldap, ads et al that uses the Sun native binaries - exactly in the same way that /usr/sfw/sbin/smbd would! Maybe asking too much? ;) Let the games begin, I suppose! JC PS: Dennis, I see something similar to this: /export/home/dclarke/local/lib/gcc/sparc-sun-solaris2.8/4.2.4/crt1.o main0x5c /export/home/dclarke/local/lib/gcc/sparc-sun-solaris2.8/4.2.4/crt1.o ...and yes, it scares me too! On Oct 13, 2008, at 6:44 AM, Dennis Clarke wrote: On Sun, Oct 12, 2008 at 03:58:00PM -0400, Dennis Clarke wrote: If you send in patches in git format, you get the credits in "git log" and "git blame" :-) Looks like a good idea .. guess what my first job is? You guessed it ! I have to port git to Solaris ! What fun :-) Well, you can always send patches raw. But then you don't get the blamecredits :-) nah .. where is the fun in that ? Solaris people will want a functional git anyways .. so I may as well get that into the catalog here. My real issue with samba is the nasty errors I get during linkage. With GCC 4.3.2 I see this : . . . mkdir bin mkdir lib/talloc Compiling lib/talloc/talloc.c Linking non-shared library bin/libtalloc.a mkdir lib/replace Compiling lib/replace/replace.c Compiling lib/replace/snprintf.c Compiling lib/replace/getpass.c Compiling lib/replace/strptime.c Compiling lib/replace/timegm.c Compiling lib/replace/inet_aton.c Compiling lib/replace/getifaddrs.c creating /export/nfs/build/samba-3.2.3-build/../samba-3.2.3/source/exports/ libtalloc.syms Linking shared library bin/libtalloc.so.1 ld: warning: option -o appears more than once, first setting taken Text relocation remains referenced against symbol offset in file _init 0x34 /export/home/dclarke/local/lib/gcc/sparc-sun-solaris2.8/4.2.4/crt1.o main0x5c /export/home/dclarke/local/lib/gcc/sparc-sun-solaris2.8/4.2.4/crt1.o _fini 0x24 /export/home/dclarke/local/lib/gcc/sparc-sun-solaris2.8/4.2.4/crt1.o _fini 0x28 /export/home/dclarke/local/lib/gcc/sparc-sun-solaris2.8/4.2.4/crt1.o exit0x64 /export/home/dclarke/local/lib/gcc/sparc-sun-solaris2.8/4.2.4/crt1.o _environ0x50 /export/home/dclarke/local/lib/gcc/sparc-sun-solaris2.8/4.2.4/crt1.o _environ0x54 /export/home/dclarke/local/lib/gcc/sparc-sun-solaris2.8/4.2.4/crt1.o atexit 0x1c /export/home/dclarke/local/lib/gcc/sparc-sun-solaris2.8/4.2.4/crt1.o atexit 0x2c /export/home/dclarke/local/lib/gcc/sparc-sun-solaris2.8/4.2.4/crt1.o _exit 0x6c /export/home/dclarke/local/lib/gcc/sparc-sun-solaris2.8/4.2.4/crt1.o ld: fatal: relocations remain against allocatable but non-writable sections collect2: ld returned 1 exit status make: *** [bin/libtalloc.so.1] Error 1 sometimes the process feels very voodoo spooky because I am quite careful with compiler options. With Sun Studio 11 I get the same sort of error message but with less detail. quite annoying. Dennis -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Compile help for Solaris 10 x86, samba 3.0.28a deficient?
> On Sun, Oct 12, 2008 at 03:58:00PM -0400, Dennis Clarke wrote: >> > If you send in patches in git format, you get the credits in >> > "git log" and "git blame" :-) >> >> Looks like a good idea .. guess what my first job is? You guessed it ! I >> have to port git to Solaris ! What fun :-) > > Well, you can always send patches raw. But then you don't > get the blamecredits :-) nah .. where is the fun in that ? Solaris people will want a functional git anyways .. so I may as well get that into the catalog here. My real issue with samba is the nasty errors I get during linkage. With GCC 4.3.2 I see this : . . . mkdir bin mkdir lib/talloc Compiling lib/talloc/talloc.c Linking non-shared library bin/libtalloc.a mkdir lib/replace Compiling lib/replace/replace.c Compiling lib/replace/snprintf.c Compiling lib/replace/getpass.c Compiling lib/replace/strptime.c Compiling lib/replace/timegm.c Compiling lib/replace/inet_aton.c Compiling lib/replace/getifaddrs.c creating /export/nfs/build/samba-3.2.3-build/../samba-3.2.3/source/exports/libtalloc.syms Linking shared library bin/libtalloc.so.1 ld: warning: option -o appears more than once, first setting taken Text relocation remains referenced against symbol offset in file _init 0x34 /export/home/dclarke/local/lib/gcc/sparc-sun-solaris2.8/4.2.4/crt1.o main0x5c /export/home/dclarke/local/lib/gcc/sparc-sun-solaris2.8/4.2.4/crt1.o _fini 0x24 /export/home/dclarke/local/lib/gcc/sparc-sun-solaris2.8/4.2.4/crt1.o _fini 0x28 /export/home/dclarke/local/lib/gcc/sparc-sun-solaris2.8/4.2.4/crt1.o exit0x64 /export/home/dclarke/local/lib/gcc/sparc-sun-solaris2.8/4.2.4/crt1.o _environ0x50 /export/home/dclarke/local/lib/gcc/sparc-sun-solaris2.8/4.2.4/crt1.o _environ0x54 /export/home/dclarke/local/lib/gcc/sparc-sun-solaris2.8/4.2.4/crt1.o atexit 0x1c /export/home/dclarke/local/lib/gcc/sparc-sun-solaris2.8/4.2.4/crt1.o atexit 0x2c /export/home/dclarke/local/lib/gcc/sparc-sun-solaris2.8/4.2.4/crt1.o _exit 0x6c /export/home/dclarke/local/lib/gcc/sparc-sun-solaris2.8/4.2.4/crt1.o ld: fatal: relocations remain against allocatable but non-writable sections collect2: ld returned 1 exit status make: *** [bin/libtalloc.so.1] Error 1 sometimes the process feels very voodoo spooky because I am quite careful with compiler options. With Sun Studio 11 I get the same sort of error message but with less detail. quite annoying. Dennis -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Compile help for Solaris 10 x86, samba 3.0.28a deficient?
On Sun, Oct 12, 2008 at 03:58:00PM -0400, Dennis Clarke wrote: > > If you send in patches in git format, you get the credits in > > "git log" and "git blame" :-) > > Looks like a good idea .. guess what my first job is? You guessed it ! I > have to port git to Solaris ! What fun :-) Well, you can always send patches raw. But then you don't get the blamecredits :-) Volker pgpUiwSKVt68F.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Compile help for Solaris 10 x86, samba 3.0.28a deficient?
> On Sun, Oct 12, 2008 at 12:26:36PM -0400, Dennis Clarke wrote: >> I'd be happy to fill it with a samba package or a set. Keep in mind that >> any such package will require dependencies and I may come up with >> something standalone that "just works" with only one package being >> installed. >> >> I have some thoughts on that ... but anyways .. I'd be happy to help >> with >> that poor forgotten orphan. > > You're very welcome. You might want to look at > > http://wiki.samba.org/index.php/Using_Git_for_Samba_Development > > If you send in patches in git format, you get the credits in > "git log" and "git blame" :-) Looks like a good idea .. guess what my first job is? You guessed it ! I have to port git to Solaris ! What fun :-) -- Dennis Clarke -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Compile help for Solaris 10 x86, samba 3.0.28a deficient?
On Sun, Oct 12, 2008 at 12:26:36PM -0400, Dennis Clarke wrote: > I'd be happy to fill it with a samba package or a set. Keep in mind that > any such package will require dependencies and I may come up with > something standalone that "just works" with only one package being > installed. > > I have some thoughts on that ... but anyways .. I'd be happy to help with > that poor forgotten orphan. You're very welcome. You might want to look at http://wiki.samba.org/index.php/Using_Git_for_Samba_Development If you send in patches in git format, you get the credits in "git log" and "git blame" :-) Volker pgpxdzv3y52rJ.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Compile help for Solaris 10 x86, samba 3.0.28a deficient?
> On Sun, Oct 12, 2008 at 07:50:33AM -0400, Dennis Clarke wrote: >> see http://www.blastwave.org/testing/ >> >> you will find 3.0.32 and 3.2.2 there >> >> If you want to work on this together, sounds great, come over to >> Blastwave >> and we can sort this out. I can tell you that building Samba on Solaris >> is >> a miserable experience, a lonely miserable wretched task. > > Wait a second -- at least we try to keep our build farm > hosts happy. At this very moment, the build is broken, but > I've already checked in a fix. > > If you have necessary patches, please send them to > samba-technical. The packaging/Solaris subdirectory is > pretty much orphaned, it could really benefit from some > care. I'd be happy to fill it with a samba package or a set. Keep in mind that any such package will require dependencies and I may come up with something standalone that "just works" with only one package being installed. I have some thoughts on that ... but anyways .. I'd be happy to help with that poor forgotten orphan. Dennis -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Compile help for Solaris 10 x86, samba 3.0.28a deficient?
On Sun, Oct 12, 2008 at 07:50:33AM -0400, Dennis Clarke wrote: > see http://www.blastwave.org/testing/ > > you will find 3.0.32 and 3.2.2 there > > If you want to work on this together, sounds great, come over to Blastwave > and we can sort this out. I can tell you that building Samba on Solaris is > a miserable experience, a lonely miserable wretched task. Wait a second -- at least we try to keep our build farm hosts happy. At this very moment, the build is broken, but I've already checked in a fix. If you have necessary patches, please send them to samba-technical. The packaging/Solaris subdirectory is pretty much orphaned, it could really benefit from some care. Volker pgph8mwdfvujl.pgp Description: PGP signature -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Compile help for Solaris 10 x86, samba 3.0.28a deficient?
> On Sunday 12 October 2008 07:55:01 Jake Carroll wrote: > >> I sort of hoped that somebody would release pre-built binaries for Sol >> 10 x86, unfortunately, all I can find on samba.org is a long way out >> of date SPARC binary of 3.0.23. > > There are Blastwave x86 packages out there. If you have searched the old > posts > on this list, you should have found that maintainer (Dennis Clarke) even > posted links here on the list. > > Here you go: > > Samba 3.0.31: > http://www.blastwave.org/testing/samba-3.0.31,REV=2008.08.22-SunOS5.8-i386-CSW.pkg.bz2 > > Samba 3.2.2: > http://www.blastwave.org/testing/samba-3.2.2,REV=2008.08.22-SunOS5.8-i386-CSW.pkg.gz > > I don't know if the links are still functional. > They function .. always have .. always will .. until we release them to all the mirrors. The poor man should work with me .. sounds like we have both worked in lonely miserable long nights and days and wondered why we were being punished, what sins had we committed that we deserved this. yes .. it is that bad. Dennis -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Compile help for Solaris 10 x86, samba 3.0.28a deficient?
> Hi all, see http://www.blastwave.org/testing/ you will find 3.0.32 and 3.2.2 there If you want to work on this together, sounds great, come over to Blastwave and we can sort this out. I can tell you that building Samba on Solaris is a miserable experience, a lonely miserable wretched task. but .. you already know that :-\ I do too. One has to wonder how code that is written in C can be moving towards such poor portability that it compiles in the linux world but not the unix world. I'd be happy to discuss that .. and whatever else is needed for a nice stable package .. but not here. please see http://wiki.blastwave.org and click "join us" such that we can suffer through this process together. Dennis Clarke ps: I am working on the samba packages here .. hence the misery -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Compile help for Solaris 10 x86, samba 3.0.28a deficient?
On Sunday 12 October 2008 07:55:01 Jake Carroll wrote: > I sort of hoped that somebody would release pre-built binaries for Sol > 10 x86, unfortunately, all I can find on samba.org is a long way out > of date SPARC binary of 3.0.23. There are Blastwave x86 packages out there. If you have searched the old posts on this list, you should have found that maintainer (Dennis Clarke) even posted links here on the list. Here you go: Samba 3.0.31: http://www.blastwave.org/testing/samba-3.0.31,REV=2008.08.22-SunOS5.8-i386-CSW.pkg.bz2 Samba 3.2.2: http://www.blastwave.org/testing/samba-3.2.2,REV=2008.08.22-SunOS5.8-i386-CSW.pkg.gz I don't know if the links are still functional. -- |Jakov Sosic|ICQ: 28410271| PGP: 0x965CAE2D | = | start fighting cancer -> http://www.worldcommunitygrid.org/ | signature.asc Description: This is a digitally signed message part. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
[Samba] Compile help for Solaris 10 x86, samba 3.0.28a deficient?
Hi all, I've got an ongoing battle with samba shipped with Sun Solaris 10 in it's current form (Samba version 3.0.28a) not wanting to talk to my OpenLDAP master correctly. Essentially, under certain conditions, this behaviour is observed, in the log.smbd: [2008/10/11 08:54:03, 1, pid=13610] libsmb/cliconnect.c:(1451) Error connecting to 192.168.117.150 (Connection refused) [2008/10/11 08:54:03, 0, pid=13610] auth/auth_server.c:(89) password server not available [2008/10/11 08:54:03, 1, pid=13610] auth/auth_server.c:(247) password server is not connected (cli not initilised) So, I went about logging this at a much more verbose level, which hasn't really gotten me anywhere. I can't find an answer to what these errors actually mean - and the only google hits on this specific problem are my own posts. I thought, "What if they have changed the way SPNEGO works in Mac OS X 10.5.5's implementation of their directory/kerberos KDC?" I then thought that maybe Samba 3.0.28a (only a hunch, no way to prove it) just wasn't up to the task, and that I should try compiling 3.2.4 for my hosts. I gave it a good shot. A really good shot - been at it for a week now, with no joy. Thanks to all those here who have tried to help out with it too! I am looking for some very basic instructions with regard to compiling samba. I want to compile Samba for Solaris 10 x86, with krb5 support, with aio support. I don't really want or need ADS. Unfortunately, try as I might, just hasn't panned out this way. Every step of the way, something has gone wrong. If someone could help me out from first principles with the basics, such as the "influential environmental variables" : CC C compiler command CFLAGS C compiler flags LDFLAGS linker flags, e.g. -L if you have libraries in a nonstandard directory LIBSlibraries to pass to the linker, e.g. -l CPPFLAGSC/C++/Objective C preprocessor flags, e.g. -Idir> if you have headers in a nonstandard directory CPP C preprocessor ...and actually getting Solaris default/vanilla krb5 to configure, make, make install correctly when one specifies --with-krb5=/usr/lib/ krb5, this would be most appreciated. Not even sure if I should be using Sun Studio compiler or GCC. I sort of hoped that somebody would release pre-built binaries for Sol 10 x86, unfortunately, all I can find on samba.org is a long way out of date SPARC binary of 3.0.23. Thanks for your time. JC -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba