[lug] Samba 2.2.3a-6 on Redhat 7.3

D. Stimits stimits at attbi.com
Tue Oct 29 20:19:34 MST 2002


j davis wrote:

>
> >
> > I am trying to set up Samba so that I can share files with my Win2000
> > workstation. I installed the samba 2.2.3a-6 from my 7.3 distro. When I
> > execute: rpm -qa | grep samba I see: samba-common-2.2.3a-6 and
> > samba-client-2.2.3a-6 so I am assuming that I have all of the correct
> > pieces. But how do I start samba? The book I have (RH Linux Bible 7.3)
> > indicates to simply type: "smb on" but there is no smb executable on the
> > system. In looking at the HOW-TOs on samba.org they seem to suggest
> > starting
> > the daemons, smbd and nmbd. After doing this however I can't see the
> > Linux
> > workstation from the Windows workstation.
> >
> > Could someone please give me a couple of clues here.


To set samba to boot by default on RH, run "chkconfig --level 345 smb 
on". [your mileage may vary, config files are important]

D. Stimits, stimits AT attbi.com

> >
> > Thanks in advance,
> > Dale
> >
> hello,
> with redhat try....service smb start (as root and if you su this wont be
> in path
> unless you su -)
> or just make your self some little bash script to start smbd and nmbd .
> i.e.
>
> #! /bin/bash
> /usr/sbin/smbd -D
> /usr/sbin/nmbd -D
>
> and make sure you edit /etc/samba/smb.conf to reflect
> the workgroup settings on your windoz box. And reload samba
> every time you make changes to smb.conf. Then you will have to add a user
> and pass to /etc/passwd and /etc/samba/smbpasswd
>
> done like:
>
> useradd bubba
> passwd bubba
> smbpasswd -a bubba
>
> then see if your windoz box can see!
> be sure /etc/samba/smb.conf has
> the encrypyt passwd stuff on
>
>
> good luck
> jd
> http://www.taproot.bz
>
> _________________________________________________________________
> Protect your PC - get McAfee.com VirusScan Online
> http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963
>
> _______________________________________________
> Web Page:  http://lug.boulder.co.us
> Mailing List: http://lists.lug.boulder.co.us/mailman/listinfo/lug
> Join us on IRC: lug.boulder.co.us port=6667 channel=#colug
>





More information about the LUG mailing list