-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>[root@ripley samba]# smbclient -L localhost
>added interface ip=192.168.230.201 bcast=192.168.230.255
>nmask=255.255.255.0
>added interface ip=172.16.166.1 bcast=172.16.166.255 nmask=255.255.255.0
>added interface ip=172.16.177.1 bcast=172.16.177.255 nmask=255.255.255.0
>error connecting to 127.0.0.1:139 (Connection refused)
>Connection to localhost failed

>I'm trying to start Samba with the script /usr/local/samba/startsmb:
>
>#!/bin/sh
>/usr/local/samba/bin/smbd -D
>/usr/local/samba/bin/nmbd -D

First, make sure you're using the right config file:

# /usr/local/samba/bin/smbd -D -s /etc/samba/smb.conf
# /usr/local/samba/bin/nmbd -D -s /etc/samba/smb.conf

If that's the config file you're using.  By default, it's looking to 
/usr/local/samba/lib/smb.conf, unless you specified --with-configdir 
at build time.

Then check that file and make sure a) you've told it to listen on 
127.0.0.1, and b) you've told it to allow connections from 127.0.0.1 
('interfaces' and 'hosts allow', respectively).

- -d


- -- 
David Talkington

PGP key: http://www.prairienet.org/~dtalk/0xCA4C11AD.pgp
- --
http://setiathome.ssl.berkeley.edu/pale_blue_dot.html

-----BEGIN PGP SIGNATURE-----
Version: PGP 6.5.8
Comment: Made with pgp4pine 1.75-6

iQA/AwUBPEx03b9BpdPKTBGtEQK0hACfR4O3155lKdzE+Jrn3vwe1DfnV+sAoKk4
kesqmAk0aPXRG5f3NE5xm8ho
=uTLr
-----END PGP SIGNATURE-----




_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to