Simpler Navigation for Servers and Operating Systems - Please Update Your Bookmarks
Completed: a much simpler Servers and Operating Systems section of the Community. We combined many of the older boards, so you won't have to click through so many levels to get at the information you need. Check the consolidated boards here as many sub-forums are now single boards.
If you have bookmarked forums or discussion boards in Servers and Operating Systems, we suggest you check and update them as needed.
Operating System - Tru64 Unix
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