[Samba] Samba and WinXP connection problem

Stephen Liu satimis at writeme.com
Mon Oct 7 16:22:01 GMT 2002


Hi All Guys,

I tried several days to get WinXP connected with Samba Server without 
success !!!

*** ipchains stopped ***

# mount    (as root)

looking like connected but the shared folder did not show up 
under  /mnt/WinXP.

Hereinunder are another sets of my test results;

# findsmb

IP ADDR         NETBIOS NAME   WORKGROUP/OS/VERSION
---------------------------------------------------------------------
192.168.0.254   SERVER         [SEC]


# nmblookup -A 192.168.0.1
Looking up status of 192.168.0.1
         M40G            <00> -         M <ACTIVE>
         SEC             <00> - <GROUP> M <ACTIVE>
         M40G            <20> -         M <ACTIVE>
         SEC             <1e> - <GROUP> M <ACTIVE>
         SEC             <1d> -         M <ACTIVE>
         ..__MSBROWSE__. <01> - <GROUP> M <ACTIVE>

# nmblookup -A M40G
Looking up status of 192.168.0.1
         M40G            <00> -         M <ACTIVE>
         SEC             <00> - <GROUP> M <ACTIVE>
         M40G            <20> -         M <ACTIVE>
         SEC             <1e> - <GROUP> M <ACTIVE>
         SEC             <1d> -         M <ACTIVE>
         ..__MSBROWSE__. <01> - <GROUP> M <ACTIVE>

# smbclient -L 192.168.0.1
added interface ip=192.168.0.254 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=218.188.79.94 bcast=218.188.79.255 nmask=255.255.252.0
session request to 192.168.0.1 failed (Called name not present)
session request to 192 failed (Called name not present)
Password:  (no password.  Any input or "just hit Enter" have the same response)

Domain=[SEC] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

         Sharename      Type      Comment
         ---------      ----      -------
         IPC$           IPC       Remote IPC
         D$             Disk      Default share
         print$         Disk      Printer Drivers
         SharedDocs     Disk
         Printer8       Printer   HP DeskJet 690C
         Printer5       Printer   Acrobat Distiller
         Printer2       Printer   Print to this device to send a fax.
         ADMIN$         Disk      Remote Admin
         C$             Disk      Default share
         Shared         Disk
         Printer        Printer   Print to this device to send a photo 
quality fax.

         Server               Comment
         ---------            -------
         M40G                 MAXTOR-40G
         SERVER               Samba 2.2.3a

         Workgroup            Master
         ---------            -------
         SEC                  M40G


It detected the printers of WinXP but the share folder did not show up in 
Samba Server


# smbclient -L M40G
added interface ip=192.168.0.254 bcast=192.168.0.255 nmask=255.255.255.0
added interface ip=218.188.79.94 bcast=218.188.79.255 nmask=255.255.252.0
Password:   (no password.  Any input or "just hit Enter" have the same 
response)
Domain=[SEC] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]

         Sharename      Type      Comment
         ---------      ----      -------
         IPC$           IPC       Remote IPC
         D$             Disk      Default share
         print$         Disk      Printer Drivers
         SharedDocs     Disk
         Printer8       Printer   HP DeskJet 690C
         Printer5       Printer   Acrobat Distiller
         Printer2       Printer   Print to this device to send a fax.
         ADMIN$         Disk      Remote Admin
         C$             Disk      Default share
         Shared         Disk
         Printer        Printer   Print to this device to send a photo 
quality fax.

         Server               Comment
         ---------            -------
         M40G                 MAXTOR-40G
         SERVER               Samba 2.2.3a

         Workgroup            Master
         ---------            -------
         SEC                  M40G


/etc/samba/smb.conf     FILE

# Samba config file created using SWAT
# from UNKNOWN (127.0.0.1)
# Date: 2002/10/04 19:55:55

# Global parameters
[global]
         workgroup = SEC
         server string = Samba %v
         security = SHARE
         encrypt passwords = yes
         guest account = M40G
         hosts allow = Yes

[test]
         comment = test share
         path = /test
         writable = yes
         browseable = yes
         follow symlinks = yes
         wide links = yes
         public = yes
         read only = No
         guest only = Yes
         guest ok = Yes


Kindly help.

Thanks

Stephen Liu








More information about the samba mailing list