Which tool/command can I use to see if I installed two versions of Samba and what should I do to get one of them working...Im using SuSE 7.0 and tried to install a new Samba version but it still uses the old one. Could i just redirect a link or??? THX/Jens _________________________________________________________________ MSN Hotmail ?r v?rldens popul?raste e-posttj?nst. Skaffa dig ett eget konto du ocks?: http://www.hotmail.com
run ps -ae | grep smbd then /proc/_processid_/exe -V Example session: itweb01p:~ # /proc/27733/exe -V Version 2.2.5 itweb01p:~ # ps -ae | grep smbd 27733 ? 00:00:01 smbd 27747 ? 00:00:05 smbd itweb01p:~ # /proc/27733/exe -V Version 2.2.5 When you compile samba from source it defaults to /usr/local/bin you can re-configure it using --prefix or change the /etc/rc.d/smb file to point to the new binaries. HTH Josh> -----Original Message----- > From: Jens Pettersson [mailto:pettersson_jens@hotmail.com] > Sent: Monday, August 05, 2002 7:34 AM > To: samba@lists.samba.org > Subject: [Samba] Two versions of Samba? > > > Which tool/command can I use to see if I installed two > versions of Samba and > what should I do to get one of them working...Im using SuSE > 7.0 and tried to > install a new Samba version but it still uses the old one. > Could i just > redirect a link or??? > > THX/Jens > > _________________________________________________________________ > MSN Hotmail ?r v?rldens popul?raste e-posttj?nst. Skaffa dig > ett eget konto > du ocks?: http://www.hotmail.com > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
Sorry typo here. The default path is /usr/local/samba. Josh> -----Original Message----- > From: Konkol, Josh [mailto:JKonkol@guidemail.com] > Sent: Monday, August 05, 2002 7:46 AM > To: 'Jens Pettersson'; samba@lists.samba.org > Subject: RE: [Samba] Two versions of Samba? > > > run ps -ae | grep smbd > > then > > /proc/_processid_/exe -V > > Example session: > itweb01p:~ # /proc/27733/exe -V > Version 2.2.5 > itweb01p:~ # ps -ae | grep smbd > 27733 ? 00:00:01 smbd > 27747 ? 00:00:05 smbd > itweb01p:~ # /proc/27733/exe -V > Version 2.2.5 > > > When you compile samba from source it defaults to > /usr/local/bin you can > re-configure it using --prefix or change the /etc/rc.d/smb > file to point to > the new binaries. > > HTH > > Josh > > > -----Original Message----- > > From: Jens Pettersson [mailto:pettersson_jens@hotmail.com] > > Sent: Monday, August 05, 2002 7:34 AM > > To: samba@lists.samba.org > > Subject: [Samba] Two versions of Samba? > > > > > > Which tool/command can I use to see if I installed two > > versions of Samba and > > what should I do to get one of them working...Im using SuSE > > 7.0 and tried to > > install a new Samba version but it still uses the old one. > > Could i just > > redirect a link or??? > > > > THX/Jens > > > > _________________________________________________________________ > > MSN Hotmail ?r v?rldens popul?raste e-posttj?nst. Skaffa dig > > ett eget konto > > du ocks?: http://www.hotmail.com > > > > > > -- > > To unsubscribe from this list go to the following URL and read the > > instructions: http://lists.samba.org/mailman/listinfo/samba > > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
This problem occurs when you install a new version, but did not remove the old one properly. All your batches &c. will still be linked to the old version, even if you change all settings in the startup files and smb.conf. First of all, make sure that you de-installed the old version completely, under Turbo Linux and RedHat there are tools to do it, Suse may have them, too, If you compile Samba 2.2.5 it can be that such commands as: # smbpasswd are unknown. You will then have to enter the complete path.