HOW to upgrade to samba 2.2.3a without losing previous samba configuration

HOW to upgrade to samba 2.2.3a without losing previous samba configuration

Post by Shaab Mohaji » Sat, 04 May 2002 04:28:39



Hi,

I am a relative novice to Samba and Linux and, certainly, there are
things I do not know so any help would be highly appreciated.

Lately I downloaded samba 2.2.3a, compiled it and everthing seems fine.
Now, how can I get the new samba to look for my actual configuration
files smb.conf and smbpasswd from the previous samba version.

I installed the new samba 2.2.3a at /usr/local/samba, while samba 2.2.2
files are under /etc/sbin. In the beginning the new samba did't work
because the smb.conf file wasn't at the location where nmbd and smbd were
located.  I figured that I need to put my smb.conf file at the same place
where smbd and nmbd, it worked and I can see the linux box from windows
network places, but I can't logon to it. Do I have to add users again? Or
can I just use the old password files.

Thanks

I'm using:
SuSE Linux 7.2 (i386) Kernel: 2.4.4-4GB (i686)

 
 
 

HOW to upgrade to samba 2.2.3a without losing previous samba configuration

Post by hale » Sat, 04 May 2002 08:34:42


backup the original configurations, install the new Samba, rewrite the new
configuration files with the old.
Or,

mv /etc/smb.conf /etc/smb.conf.orig
mv /etc/smbpasswd /etc/smbpasswd.orig

Install the new Samba then;

cp /etc/smb.conf.orig /etc/smb.conf
cp /etc/smbpasswd.orig /etc/smbpasswd


> Hi,

> I am a relative novice to Samba and Linux and, certainly, there are
> things I do not know so any help would be highly appreciated.

> Lately I downloaded samba 2.2.3a, compiled it and everthing seems fine.
> Now, how can I get the new samba to look for my actual configuration
> files smb.conf and smbpasswd from the previous samba version.

> I installed the new samba 2.2.3a at /usr/local/samba, while samba 2.2.2
> files are under /etc/sbin. In the beginning the new samba did't work
> because the smb.conf file wasn't at the location where nmbd and smbd were
> located.  I figured that I need to put my smb.conf file at the same place
> where smbd and nmbd, it worked and I can see the linux box from windows
> network places, but I can't logon to it. Do I have to add users again? Or
> can I just use the old password files.

> Thanks

> I'm using:
> SuSE Linux 7.2 (i386) Kernel: 2.4.4-4GB (i686)


 
 
 

1. Samba 2.2.3a source compilation err

I downloaded the latest 2.2.3a source tar (gz) ball and while building
an error pops up. This is what I get during 'make'

===============================
Compiling client/smbmount.c
client/smbmount.c: In function `close_our_files':
client/smbmount.c:97: storage size of `limits' isn't known
client/smbmount.c:99: `RLIMIT_NOFILE' undeclared (first use in this
function)
client/smbmount.c:99: (Each undeclared identifier is reported only
once
client/smbmount.c:99: for each function it appears in.)
make: *** [client/smbmount.o] Error 1
===============================

This is on RH with kernel 2.4.16, egcs 2.91.66

All help is appreciated.

2. SW. on CD-ROM ?

3. samba 2.2.3a ??

4. does postgres support "double" datatype

5. Solaris 8 on Sparc and Samba 2.2.3a

6. Dumbing down with Microsoft

7. Upgrading to Win2000/SP2 broke my Samba 2.2 login

8. Binary List ?

9. upgrade to samba 2.2

10. Linux/Samba Machine & User Accounts for Samba PDC in samba-2.2.1a Question?

11. SAMBA, SAMBA, SAMBA

12. How Does one Actually Upgrade Apache WITHOUT Losing Old Configuration??

13. lost AntiAliasing with upgrade to kde 2.2 beta