How to install samba server on solaris 10 ?

Hi,

I am newbee in UNIX/solaris  i cant install samba on solaris see wht steps i tried in cdrom

# pkgadd -d . SUNWsmbar SUNWsmbau SUNWmbac SUNWsmbas

but it could only install SUNWsmbar and SUNWsmbau

for other packages it says package not found  i installed SUNWsmbaS also but i  dont know what is use of this?? but still i cant find ./samba service script in /etc/inet.d/

actually iam following this tutorial

http://it.toolbox.com/wiki/index.php/How_to_configure_SAMBA_in_Solaris




pls help me out guys

Ty  alot
LVL 1
dontdigAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

omarfaridCommented:
0
dontdigAuthor Commented:
Ty omarfarid for links

but i dont have sparc pc its on vmware workstation with C2DUO processor will it work?
actually iam studying on solaris...though iam downloading it...
0
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

dontdigAuthor Commented:
sorry to say but i have downloaded it was corrupted  package ..iam trying to  download it  again
0
dontdigAuthor Commented:
now i have extracted the above package but prob is i dont know how to instll it its  

 samba-3.2.4-sol10-x86-local

i dont know how to run  it is an script ?
0
omarfaridCommented:
after unzipping it

gunzip samba-3.2.4-sol10-x86-local.gz

then run as root

pkgadd -d samba-3.2.4-sol10-x86-local
0
dontdigAuthor Commented:
thanks its has been installed now but how to start this service in /etc/init.d there is no start-up script for this like we have in linux
0
dontdigAuthor Commented:
now  my samba server is up and running i can share folder .....but still funny thing is how can i start/restart  the service?? there is no /etc/init.d/samba or /etc/init.d/./samba to stop or to restart this service  

suppose i have made some changes in smb.conf i want to restart the service pls tel me about it

Regards++
0
omarfaridCommented:
please look into the provided links on how to stop / start / restart samba
0
dontdigAuthor Commented:
yes i looked at it it says the same /etc/init.d/samba start/stop ,,but the script is "NOT" there to start and stop the service.
0
omarfaridCommented:
in the link below (already given)

http://forums.sun.com/thread.jspa?threadID=5106458

Follow the steps from

Sep 18, 2006 11:23 PM  (reply 4 of 20)  (In reply to  #3  )
0
dontdigAuthor Commented:
HeLL!!!!!!!!!!!!  

LOL man the procedure is very long do we need to follow the same procedure to just start and stop an service in solaris???????????// nothing inbuilt??


if answer is yes i"ll  have to certainly leave solaris study..... :-(
0
omarfaridCommented:
well, you could take the commands and run them manually and forget about automating it!
0
dontdigAuthor Commented:
"well, you could take the commands and run them manually and forget about automating it!"

can u pls explain urs comment practically
please tell me the procedure u do when u use solaris for an service to start like samba...please be practical while answering it will be easy to understand


Ty++
0
omarfaridCommented:
ok, if not mistaken you can do

- to start

/etc/rc3.d/S90samba start

OR

 /usr/sfw/sbin/smbd -D
 /usr/sfw/sbin/nmbd -D

- to stop

/etc/rc3.d/S90samba stop

OR

pkill smbd
pkill nmbd
0
dontdigAuthor Commented:
Ty omar

/etc/rc3.d/S90samba doesnt exist i dont know y but  /usr/sfw/sbin/smbd -D did the job and then pkill to stop

but y /etc/rc3.d/S90samba is not here?
0
omarfaridCommented:
I am not sure why ! I have it on my system and you can simply add it to your system. You can simply create with runing

echo '#!/sbin/sh
#
# Copyright (c) 2001 by Sun Microsystems, Inc
# All rights reserved.
#
#ident  "@(#)samba      1.1     01/09/24 SMI"

case "$1" in
start)
        [ -f /etc/sfw/smb.conf ] || exit 0

        /usr/sfw/sbin/smbd -D
        /usr/sfw/sbin/nmbd -D
        ;;
stop)
        pkill smbd
        pkill nmbd
        ;;
*)
        echo "Usage: $0 { start | stop }"
        exit 1
        ;;
esac
exit 0' > /etc/rc3.d/S90samba

chown root:sys /etc/rc3.d/S90samba
chmod 744 /etc/rc3.d/S90samba
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dontdigAuthor Commented:
Thanks Omar :-)
0
dontdigAuthor Commented:
just one more thing bit out of topic

may i know that where people are implementing solaris i mean about objective like for an web server ?
I want to know  actual usage of an solaris O.S in our practical life see there are many more easier to handle server are available like cent 0.S



Thanks :-)
0
omarfaridCommented:
solaris is very popular OS and widely used as web server, mail server, directory / LDAP server, etc.

Many free and commercial S/W packages are developed and available on it.

solaris runs on sparc and x86 platforms and recently Sun released it as open source ( Open Solaris)
0
dontdigAuthor Commented:
thanks for information
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.