samba connection problem

Soo Hom syhom at ece.ucsd.edu
Tue Nov 20 11:25:03 GMT 2001


Thanks for your reply!  So smb file should be like this:
[global]
        hosts allow = 127. 132.239.228.162 132.239.228.29 132.239.134.236
132.239.24.17 132.239.24.7
        workgroup = SONG
        netbios name = SONG1
        encrypt passwords = Yes
        update encrypted = Yes
        unix password sync = Yes

[song]
        comment = Song home directory
        path = /home/song


The hosts line is one long line which didn't copy and paste correctly.

Soo



On Tue, 20 Nov 2001, Joel Hammer wrote:

> In Recent-FAQs.txt it says this error is due to a bad hosts allow statement.
> Yours seems suspect, since it lies outside the [global] section, has
> localhost instead of 127. extends onto three lines, and you are using commas
> instead of spaces to separate some but not all of the hosts.
> Try just taking out that statement (I think by default everybody can then
> log on) and see if that helps.
> OR try:
> hosts allow = 127. 132.239.
> Joel
> 
> > 
> > # Global parameters
> > 
> > 
> > hosts allow = localhost \
> >                132.239.228.162, 132.239.228.29, 132.239.134.236,
> > 132.239.24.17, 132.239.24.7
> > [global]
> >         workgroup = SONG
> >         netbios name = SONG1
> >         encrypt passwords = Yes
> >         update encrypted = Yes
> >         unix password sync = Yes
> > 
> > [song]
> >         comment = Song home directory
> >         path = /home/song
> > 
> 





More information about the samba mailing list