[Samba] samba installation

Michael Noble mgnoble at cox.net
Sun Jun 1 21:32:56 GMT 2003


If you have both versions of samba installed on your system and
you want to use the one in /usr/local. You need to modify your
path statement to have /usr/local/bin come before /usr/bin.
You should have a file /etc/init.d/samba  or /etc/init.d/smb
you want to edit this file and and change the paths were samba 
is located.  Basically edit the file and tell it where to find 
the files smbd (/usr/local/bin/smbd or wherever they are).
The best thing that you can do would be to remove the old version.
If that is not possible then at least rename smbd nmbd files in
/usr/bin to be smbd.old and nmbd.old and smbstatus  to smbstatus.old.
This way the new files would be found in /usr/local/bin. Either way
you must make sure that /usr/local/bin is in your path and in roots
path for startup.

Mike

On Sun, 2003-06-01 at 14:11, A.A wrote:
> Hi Thomas,
> 
> As i wrote that's still the old Version:
> 
> /usr/local/samba-2.2.8a/bin/smbstatus --> samba version 2.2.7a-SUSE
> 
> When i type "Which smbstatus" i get /usr/bin /smbstatus
> 
> I dont know what you mean with :
> 
> For startup the samba processes you should change your Startscript in 
> 
> "/etc/init.d/samba" where the other version is still started.
> 
> Sorry,what should i do with /init.d/samba ?
> 
> Thanks
> 
> henry
> 
> 
> 
> 
> 
> Hi,
> 
> please try
> 
> "/usr/local/samba-2.2.8a/bin/smbstatus"
> 
> Might be, you have a standard installation on your system.
> 
> Type
> 
> "which smbstatus"
> 
> and you will see which prgram are in your default path ($PATH variable)
> 
> For startup the samba processes you should change your Startscript in 
> 
> "/etc/init.d/samba" where the other version is still started.
> 
> - Thomas
> 
> A.A wrote:
> 
> > Hi,
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba
> 
-- 
Michael Noble
mailto: mgnoble at cox.net




More information about the samba mailing list