cancel
Showing results for 
Search instead for 
Did you mean: 

Samba Uninstall

SOLVED
Go to solution
Bruno Vilardo
Regular Advisor

Samba Uninstall

Hello All,

HOw do i uninstall samba from the system ?
What is the comand ?
I need to do it for security reasons.

Thanks all

Bruno
4 REPLIES
Johan Brusche
Honored Contributor
Solution

Re: Samba Uninstall

Bruno,

If it was installed from the Internet Express (V5.4)CD's, you can deinstall it with the command:
# setld -d IAESMB540

If it's from a kit at samba.org, then it usually resides in /usr/local/samba, and it's sufficient then to delete that directory.

Additionally check /etc/inetd.conf for lines like :
#
netbios-ssn stream tcp nowait root /usr/local/samba/bin/smbd smbd
netbios-ns dgram udp wait root /usr/local/samba/bin/nmbd nmbd
swat stream tcp nowait.400 root /usr/local/samba/bin/swat swat
#
and comment them ,or delete them from there.

Rgds,
Johan.

_JB_
Bruno Vilardo
Regular Advisor

Re: Samba Uninstall

Thanks ,


Is there a way to find out which version of Samba was installed ?
The OS version is 4.0g and i think this samba.org was installed via .
I am going to check those steps out.
Appreciate a lot.

Regards


Bruno
Johan Brusche
Honored Contributor

Re: Samba Uninstall

If it's installed from Internet Express, you will find following lines in inetd.conf
# The following lines were added by Compaq Open Source Internet
# Solutions Version 540 on Thu Aug 28 16:26:06 MET DST 2003


The paths to the smb deamon executable are:
# /usr/opt/IAE540/usr/local/samba/bin/smbd -V
or
# /usr/local/samba/bin/smbd -V
Version 2.0.7

_JB_
Bruno Vilardo
Regular Advisor

Re: Samba Uninstall

Thanks a lot

Bruno