Can't see linux server

Allen, Michael B (RSCH) Michael_B_Allen at ml.com
Thu Feb 21 23:11:37 GMT 2002


The way you enable password encryption for samba is to do:

# cat /etc/passwd | mksmbpasswd.sh > /etc/smbpasswd
# smbpasswd mdavis
<type in password twice>

Than add:

[global]
   encrupted passswords = yes

to smb.conf. Do all of this as root. Also, if you're on the internet or
using ppp you really do want to block most everything on the
interface open to the net or you will get hacked. Look into ipchains.
Despite the arcane syntax associated with most Linux apps (Samba
is no exception, see above) the ipchains system is beautiful and
intuitive. Worth understanding and using.

Mike

> -----Original Message-----
> From:	Morrison Davis [SMTP:Morry.Davis at Sun.COM]
> Sent:	Thursday, February 21, 2002 2:45 PM
> To:	smb-clients at lists.samba.org
> Subject:	RE: Can't see linux server
> 
> Mike,
> 
>    Thanks for the help. I found after running setup and setting some values under
>    authentication I was able to see the linux box in the network neighborhood
>    but access was not allowed. Then someone else told me to stop the ipchains service
>    and now it prompts me for a password to connect which I don't know and can't
>    figure out how to set. Tried smbpasswd but after going throught the process
>    old password, new password, confirm password, I get machine 127.0.0.1  pasword change 
>    disallowed.
>    
> >Date: Wed, 20 Feb 2002 22:40:13 -0500
> >From: "Allen, Michael B (RSCH)" <Michael_B_Allen at ml.com>
> >Subject: RE: Can't see linux server
> >To: 'Morrison Davis' <Morry.Davis at Sun.COM>, smb-clients at lists.samba.org
> >MIME-version: 1.0
> >Content-transfer-encoding: 7bit
> >X-Server-Uuid: 3789b954-9c4e-11d3-af68-0008c73b0911
> >X-WSS-ID: 106AB4C9257369-01-01
> >
> >All you really need is something like this:
> >
> >[global]
> >   workgroup = FOO
> >[homes]
> >   comment = Home Directories
> >   browseable = no
> >   writable = yes
> >[tmp]
> >   comment = Temporary file space
> >   path = /tmp
> >   read only = no
> >
> >Also, the machines have to be on the same broadcast address and they all have to have the same 
> "Scope ID" preferrably none. Make sure you're not blocking traffic with some iptables or ipchains
> >firewall rules. Try some of the utility programs like nmblookup -A <ip> and smbclient -L <win mach> 
> on the linux end and nbtstat -A <ip of linux> on the windows side. The best was to really *see*
> >whats going on is to look at the wire with the Ethereal packet sniffer.
> >
> >Mike
> >
> >> -----Original Message-----
> >> From:	Morrison Davis [SMTP:Morry.Davis at Sun.COM]
> >> Sent:	Wednesday, February 20, 2002 10:37 PM
> >> To:	smb-clients at lists.samba.org; Michael_B_Allen at ml.com
> >> Subject:	RE: Can't see linux server
> >> 
> >> Yes, I changed that to match the workgroup name on my windows machines.
> >> But, still no linux server in my network neighborhood.
> >> [global]
> >> share modes = yes 
> >> 
> >> anyone have a good smb.conf file I could use as a template?
> >> 
> >> 
> >> 
> >> >Date: Wed, 20 Feb 2002 17:51:28 -0500
> >> >From: "Allen, Michael B (RSCH)" <Michael_B_Allen at ml.com>
> >> >Subject: RE: Can't see linux server
> >> >To: 'Morrison Davis' <morry at ha3mpk.eng.sun.com>, smb-clients at lists.samba.org
> >> >MIME-version: 1.0
> >> >Content-transfer-encoding: 7bit
> >> >X-Server-Uuid: 3789b954-9c4e-11d3-af68-0008c73b0911
> >> >X-WSS-ID: 106AF82629265-01-01
> >> >
> >> >This doesn't have anything to do with "clients" but I think you just need to 
> >> set the workgroup parameter. The default is:
> >> >
> >> >   workgroup = MYGROUP
> >> >
> >> >> -----Original Message-----
> >> >> From:	Morrison Davis [SMTP:morry at ha3mpk.Eng.Sun.COM]
> >> >> Sent:	Wednesday, February 20, 2002 2:10 AM
> >> >> To:	smb-clients at lists.samba.org
> >> >> Subject:	Can't see linux server
> >> >> 
> >> >> Just built linux server. I have it plus 3 other windows 95 an 98 
> >> >> machines on my home network. I want the linux machine to be the print 
> >> >> server. But none of the windows machines can see the linux box. How do I 
> >> >> fix this.
> >> >> Any Help much appreciated.
> >> >> -Morry
> >> >> 
> >> >> 
> >> >
> >> 
> >
> 
> Thanks Morry
> e-mail address: morry.davis at Sun.COM
> phone: X84792/650 786-4792 fax 650 562-2143
> 
> 





More information about the smb-clients mailing list