Let's keep this on list - it may help someone else and there are many if
not most who are more knowledgable than I about this stuff...but I get
better all the time - especially when people correct me.
I would bet that you don't have any decent shares for your samba and
seeing that you're windows centric...I have to caution you that you will
find it painful to do much editing of files using windows since Windows
tends to save the files with a CR+LF at the end of each line and
linux/unix wants just a LF at the end of each line. Therefore, you will
find it necessary to convert any configuration files that you directly
edited with a Windows editor.
NOW...
I am gonna make an assumption...that you can't connect to the samba
shares at any time - even if you have just started samba...you can check
this...
service smb stop
service smb start
and try to connect to Faxserver from one of the windows computers on the
network...
So - tear into /etc/samba/smb.conf
suggest that you take care of these things...
- within global...
encrypt passwords = yes
workgroup = "Whatever_the_name_of_your_workgroup_is"
netbios name = "Faxserver"
and if you have a domain controller...
from a terminal window (as root)
smbpasswd -j DOMAIN_NAME -r NETBIOS_NAME_OF_DOMAIN_CONTROLLER
(to join the samba server to the domain)
and make sure in your /etc/samba/smb.conf
security = domain
Password Server = NETBIOS_NAME_OF_YOUR_DOMAIN_CONTROLLER
and
at least one good share section...
[common files]
path = /home/samba/common_files
browseable = yes
valid users = Administrator @dom_users
writeable = yes
hide dot files = true
(of course you must mkdir /home/samba/common_files
and then chmod 775 /home/samba/common_files
and also chown Administrator.dom_users /home/samba/common_files)
and
you have a group in /etc/group like I used above...dom_users
and add the users that you need to that group.
If you start your windows computer and log on to Microsoft Networking
as:
User: Jack
Password: xxxx
that you will need a local user on the linux box and in smbpasswd with
the same name & password in order to connect (unless you permit guest
access which of course blows all the security).
I think that you need to have port 137 open for Win95/98 clients
The documentation in man smb.conf and at
www.samba.org is terrific stuff
and if you get Microsoft Networking at all, you should find it easy to
work this stuff through.
Craig
and from
On Thu, 2002-12-12 at 11:42, Bruner, Andrew wrote:
>
>
> -----Original Message-----
> From: Bruner, Andrew
> Sent: Thursday, December 12, 2002 11:39 AM
> To: 'plug-discuss@lists.plug.phoenix.az.us'
> Subject: RE: Wierd Samba problems
>
>
> Sorry for the confusion. When samba stops, and you go to Netwrok
> Neighborhood, and click on the Faxserver, it gives you that error message.
> >From the linux terminal...
> >ps aux|grep smb
> >does it show it as a running process?
> Yes it shows serveral. See the attatchment.
>
> >netstat -an|grep LISTEN
> >does it show the computer listening to ports 137 to 139?
>
> Yes 139.
>
> The machine does not boot to X and I'm not doing anything in X.
>
> -Andrew
>
> -----Original Message-----
> From: Craig White [mailto:craigwhite@azapple.com]
> Sent: Thursday, December 12, 2002 11:15 AM
> To: plug-discuss@lists.plug.phoenix.az.us
> Subject: Re: Wierd Samba problems
>
>
> On Thu, 2002-12-12 at 10:48, Bruner, Andrew wrote:
> > I was wondering if you guys could help me with a problem I'm having.
> > I recently setup a Hylafax server where my users print to a samba printer
> > and hylafax faxes the print job. Let me give you the info on the box. It's
> a
> > compaq 133 running Red Hat 8.0, Samba 2.2.5 and the latest Hylafax rpm.
> >
> > The problem is Samba will work fine for a little bit then it stops, but
> smbd
> > & nmbd are still running. You can click on it in Network Neighborhood and
> it
> > says the "service is not started". It also takes telnet with it!?
> > I've checked /var/log/messages and nothing jumps out as the culprit.
> > I've checked the logs in /var/log/samba and I don't really see the
> anything
> > there either.
> -----
> Confused by the question...Network Neighborhood is a Windows
> Icon...service is not started is linux.
>
> >From the linux terminal...
> ps aux|grep smb
> does it show it as a running process?
>
> netstat -an|grep LISTEN
> does it show the computer listening to ports 137 to 139?
>
> Are you starting / running this thing in XWindows? Is it freezing up in
> XWindows?
>
> Craig
>
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>