[Samba] Cannot connect WinXP

Stepen Liu satimis at writeme.com
Fri Oct 4 03:28:01 GMT 2002


Hi Daniel,

Thanks for your response.

>> Do you really have those last few lines in smb.conf instead of 
>> /etc/hosts?  If so, I'd have a look there first (/etc/hosts and 
>> /path/to/smb.conf are two different files).
>
Yes.   That is the complete content of /etc/samba/smb.conf

Re-tried
# mount -t smbfs //M40G/Shared /mnt/WinXP
params.c:Parameter() - Ignoring badly formed line in configuration file: 
127.0.0.1 localhost localhost.localdomain
params.c:Parameter() - Ignoring badly formed line in configuration file: 
192.168.0.1 M40G
params.c:Parameter() - Unexpected end-of-file at: 192.168.0.254 server.ltsp
Password:       (there is no password.  I just hit  [Enter]

It seems connected but I could not find the shared folder of WinXP
# cd /mnt/WinXP/
# ls
#

/etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1            localhost.localdomain     localhost
192.168.0.1        M40G   
192.168.0.254    server.ltsp    server

(Remark:  

1)  The server is a LTSP server.  M40G (PC) works as a standalone WS and 
Diskless Workstation as well
2)  In this test I change the last 2nd line to read as "192.168.0.1 
 M40G.  Before it reads as "192.168.0.1  ws001")

However I could not find /path/to/smb.conf

However to change those badly formed lines in /etc/smb.conf?

Thanks

Stephen Liu


>> satimis at writeme.com wrote:
>>
>>> Hi All
>>>
>>> Can't connect WinXP
>>>
>>> (Remark:  Group=SEC  WinXP=M40G
>>> Samba Server=server.ltsp
>>> ipchains stop)
>>>
>>> # mount -t smbfs //M40G/Shared /mnt/WinXP/
>>> params.c:Parameter() - Ignoring badly formed line in configuration 
>>> file: 127.0.0.1 localhost localhost.localdomain
>>> params.c:Parameter() - Ignoring badly formed line in configuration 
>>> file: 192.168.0.1 M40G
>>> params.c:Parameter() - Unexpected end-of-file at: 192.168.0.254 
>>> server.ltsp
>>> Error connecting to 218.188.78.190 (Network is unreachable)
>>> 3049: Connection to M40G failed
>>> SMB connection failed
>>>
>>>
>>> # testparm
>>> Load smb config files from /etc/samba/smb.conf
>>> Processing section "[test]"
>>> params.c:Parameter() - Ignoring badly formed line in configuration 
>>> file: 127.0.0.1 localhost localhost.localdomain
>>> params.c:Parameter() - Ignoring badly formed line in configuration 
>>> file: 192.168.0.1 M40G
>>> params.c:Parameter() - Unexpected end-of-file at: 192.168.0.254 
>>> server.ltsp
>>> Loaded services file OK.
>>>
>>>
>>> Configure File
>>> ===========
>>> #/etc/samba/smb.conf
>>> # Samba config file created using SWAT
>>> # from localhost.localdomain (127.0.0.1)
>>> # Date: 2002/08/05 16:52:24
>>>
>>> # Global parameters
>>> [global]
>>>    workgroup = SEC
>>>    security = SHARE
>>>    guest account = M40G
>>>
>>> [test]
>>>    comment = test share
>>>    path = /test
>>>    writable = yes
>>>    browseable = yes
>>>    follow symlinks = yes
>>>    wide links = yes
>>>    public = yes
>>>    read only = No
>>>    guest ok = Yes
>>>    guest only = Yes
>>>
>>>
>>> # /etc/hosts
>>> # Do not remove the following line, or various programs
>>> # that require network functionality will fail.
>>> 127.0.0.1         localhost     localhost.localdomain
>>> 192.168.0.1 M40G
>>> 192.168.0.254   server.ltsp
>>>
>>> Kindly advise.
>>>
>>> Thanks in advance.
>>>
>>> Stephen Liu
>>






More information about the samba mailing list