I ran into many problems upgrading from Samba 2.2.0a to 2.2.5. In the long run, all these problems were mine, caused by lack of understanding of what was going on. I was missing many SuSE Development packages at first that I had to install. Then it took me a day to figure out that I had to run ./configure from the Samba source to build the Makefile and the proper headers.
I feel confident that the next upgrade will go a lot smoother. I learn from my mistakes so I learned a lot. I am able to map drives and everything seems to work fine. However I see the following messages in the log: Jul 14 20:07:18 ibm9672 smbd[2944]: [2002/07/14 20:07:18, 0] smbd/sec_ctx.c:initialise_groups(229) Jul 14 20:07:18 ibm9672 smbd[2944]: Unable to initgroups. Error was Operation not permitted These ring a bell so I spent most of the day researching it. I pretty much came up empty. I know it has something to do with account "nobody" but can no longer find my notes. Do I need to worry about these messages? Is there anyway to eliminate them? Thanks to everyone that responded. Your assistance was much appreciated. Peter "Post, Mark K" <[EMAIL PROTECTED]> Sent by: Linux on 390 Port <[EMAIL PROTECTED]> 07/12/2002 12:09 PM Please respond to Linux on 390 Port To: [EMAIL PROTECTED] cc: Subject: Re: Upgrading Samba from 2.2.0a to 2.2.5 Peter, I just executed the rpm rebuild on my SuSE 7.0 system, with the 2.2.16 kernel. It seemed to work fine for me. The error you report is generated by the configure command in /usr/src/packages/BUILD/samba-2.2.5/source/. You might take a look at the config.log file in that directory. The very last thing that I have in mine is this: configure:13522: checking for poptGetContext in -lpopt configure:13541: gcc -o conftest -O -O2 -Wall -O -D_GNU_SOURCE -D_LARGEFILE64_SOURCE conftest.c -lpopt -ldl -lnsl -lpam 1>&5 configure:13565: checking whether to use included popt configure:13580: checking configure summary configure:13589: gcc -o conftest -O -O2 -Wall -O -D_GNU_SOURCE -D_LARGEFILE64_SOURCE conftest.c -ldl -lnsl -lpam -lpopt 1>&5 In file included from configure:13586: tests/summary.c:4: warning: return-type defaults to `int' Yours will probably have some sort of error with the compilation of the summary check. Mark Post -----Original Message----- From: Peter E. Abresch Jr. - at Pepco [mailto:[EMAIL PROTECTED]] Sent: Friday, July 12, 2002 8:40 AM To: [EMAIL PROTECTED] Subject: Re: Upgrading Samba from 2.2.0a to 2.2.5 I tried the suggestion below because it looked the easiest. I get the following when I do the 'rpm --rebuild samba-2.2.5-0.src.rpm checking whether to use traditional smbpasswd file... yes --More--configure: error: summary failure. Aborting config Bad exit status from /var/tmp/rpm-tmp.98694 (%build) checking whether to use NISPLUS_HOME... no checking whether to use SSL... no checking whether to use syslog logging... yes When I do SMBD -V I still get Version 2.2.0a I looked over samba.conf but being the newbie I am, I really do not see anything that stands out. Does anyone have any ideas? Much appreciated. Peter <[EMAIL PROTECTED]> 07/11/2002 04:07 PM To: "Peter E. Abresch Jr. - at Pepco" <[EMAIL PROTECTED]> cc: <[EMAIL PROTECTED]> Subject: Re: Upgrading Samba from 2.2.0a to 2.2.5 On Thu, 11 Jul 2002, Peter E. Abresch Jr. - at Pepco wrote: > We are running SuSE SLES7 beta Linux Kernel 2.4.7. The Samba delivered was > Samba 2.2.0a. I used YAST to install the source and created a source tree > under /usr/src/samba-2.2.0a. I downloaded all the patches and successfully > applied them up to 2.2.5. > > My question is where do I go from here? I know I have to compile the > source. What are the commands or sequence of commands necessary? I here a > lot about the .spec file. What is it and what do I do with it? Are there > any gotchas? I appreciate any assistance this newbie can receive. Thanks. Another solution is to download the src rpm for samba 2.2.5 from : ftp://ftp.suse.com/pub/people/lmuelle/src/ Depending on the options you need you will probably have to modify the spec for the rpm to tune it to your needs. If not you can rebuild directly from the src rpm using : rpm --rebuild samba-2.2.5-0.src.rpm If you have to change the spec file (it contains the configure command) then first install the src rpm rpm -i samba-2.2.5-0.src.rpm Then modify the spec file, I think you will find it in /usr/src/packages/SPEC (don't forget the increase the Release field after each modification of the spec file) Then build the s390.rpm files using rpm -bb samba.spec Have fun with it, Tim -- =========================================================================== Tim Verhoeven Linux & Open Source Specialist GSM : 0496 / 693 453 + e-business solutions Email : [EMAIL PROTECTED] + consulting URL : www.sin.khk.be/~dj/ + Server consolidation ===========================================================================