On Thu, 2 Jan 2003, Michael Munger wrote:
> Believe me, I have tried everytbing I can think of to solve this
> problem.
> I will work my tail off to resolve this but I am fresh out of ideas.
> Any suggestions would be GREATLY appreciated. Here are the details...
>
> problem: server can see machines/shares on clients but clients cannot
> see machines/shares on server
Firstly a quick sumary of your configuration below. Then some pointers.
1. Your samba server:
a) Is acting as a stand-alone MS Windows file and print server.
If you want it to act as a domain controller then you must add
to smb.conf [globals]:
domain logons = Yes
If you want domain logon support for MS Windows NT4 clients then
you also must have an [netlogon] share.
b) Is acting as a WINS server.
Are all clients configured so that in their TCP/IP configuration
all have the IP address of your Samba server as the WINS server
addresses?
If you leave the WINS entries on your MS Windows clients blank
then Win2K will use broadcast name resolution, not WINS. Why then
enable samba to be a WINS server?
c) You have not indicated clearly, but I conclude from the info you have
provided that you did add your MS Windows users to /etc/passwd _AND_ to
the smbpasswd file. If you did not add them to the smbpasswd file then do
so using:
smbpasswd -a 'user_name'
2. You MS Windows clients
a) Why have you installed the NetBEUI protocol? Samba does NOT use it.
b) When you install more than one protocol under MS Windows NT4/Win2K you
may experience network connectivity problems UNLESS you also configure the
LANA settings. LANA means Local Area Network Adaptor. It is configurable
under the Network Services, NetBIOS interface. One every client the LANA
settings should be identical. This way client/server location on all
networks (Yes, NetBIOS treats each protocol (TCP/IP, IPX, NetBEUI) as
another network!) will work the same way.
I hope this info helps.
- John T.
>
> workgroup/domain: golgerth
> no router
>
> server:
> rpms:
> kernel 2.4.18.19.8.0
> net-snmp 5.0.6.8.80.2.i386
> samba 2.2.5
> xinetd 2.3.7.5.i386
>
> torvalds - 192.168.100.3
>
> clients:
> pubert - 192.168.100.1
> pebbles - 192.168.100.2
> toshie - 192.168.100.4
> all: w2kp3, client for microsoft networks, file and printer sharing,
> Netbui, tcp/ip (mask 255.255.255.0, dns blank, wins blank and enable
> lmhosts lookup and netbios over tcp/ip), hosts and lmhosts
> accurate
>
> all machines have same user names and passwords
>
> smb.conf:
>
> # Samba config file created using SWAT
> # from localhost (127.0.0.1)
> # Date: 2003/01/02 10:21:08
>
> # Global parameters
> [global]
> workgroup = GOLGERTH
> netbios name = TORVALDS
> server string = Samba Server
> encrypt passwords = Yes
> log level = 3
> log file = /usr/local/samba/var/log.%m
> max log size = 1
> os level = 34
> preferred master = True
> dns proxy = No
> wins proxy = Yes
> wins support = Yes
> hosts allow = 192.168.100. 127.0.0.1
> nt acl support = No
>
> [homes]
> comment = Home Directories
> valid users = root Administrator mike
> read only = No
> browseable = No
>
> [printers]
> comment = All Printers
> path = /usr/spool/samba
> printable = Yes
> browseable = No
>
> [tmp]
> comment = Temporary file space
> path = /tmp
> read only = No
> guest ok = Yes
>
> **************************************************************************
> tests run on server
> **************************************************************************
> test3a:
>
> smbclient -L torvalds
>
> added interface ip=192.168.100.3 bcast=192.168.100.255
> nmask=255.255.255.0
>
> Domain=[GOLGERTH] OS=[Unix] Server=[Samba 2.2.5]
>
> Sharename Type Comment
> --------- ---- -------
> tmp Disk Temporary file space
> IPC$ IPC IPC Service (Samba Server)
> ADMIN$ Disk IPC Service (Samba Server)
> root Disk Home Directories
>
> Server Comment
> --------- -------
> TORVALDS Samba Server
>
> Workgroup Master
> --------- -------
> GOLGERTH TORVALDS
>
> **************************************************************************
> test3b:
>
> smbclient -L pubert
>
> added interface ip=192.168.100.3 bcast=192.168.100.255
> nmask=255.255.255.0
>
> Domain=[GOLGERTH] OS=[Windows 5.0] Server=[Windows 2000 LAN Manager]
>
> Sharename Type Comment
> --------- ---- -------
> IPC$ IPC Remote IPC
> D$ Disk Default share
> print$ Disk Printer Drivers
> HP642 Printer HP642
> PubertC Disk
> PubertD Disk
> ADMIN$ Disk Remote Admin
> MSOFFICE Disk
> C$ Disk Default share
>
> Server Comment
> --------- -------
>
> Workgroup Master
> --------- -------
>
> **************************************************************************
> test4:
>
> nmblookup -B torvalds __SAMBA__
>
> querying __SAMBA__ on 192.168.100.3
> 192.168.100.3 __SAMBA__<00>
>
> **************************************************************************
> test5:
>
> nmblookup -B pubert '*'
>
> querying __SAMBA__ on 192.168.100.3
> 192.168.100.3 __SAMBA__<00>
>
> **************************************************************************
> test6:
>
> nmblookup -d 2 '*'
>
> added interface ip=192.168.100.3 bcast=192.168.100.255
> nmask=255.255.255.0
> querying * on 192.168.100.255
> Got a positive name query response from 192.168.100.1 ( 64.229.225.35
> 192.168.100.1 )
> Got a positive name query response from 192.168.100.4 ( 192.168.100.4 )
> Got a positive name query response from 192.168.100.2 ( 192.168.100.2 )
> 64.229.225.35 *<00>
> 192.168.100.1 *<00>
> 192.168.100.4 *<00>
> 192.168.100.2 *<00>
>
> **************************************************************************
> test7:
>
> smbclient //torvalds/tmp
>
> added interface ip=192.168.100.3 bcast=192.168.100.255
> nmask=255.255.255.0
>
> Domain=[GOLGERTH] OS=[Unix] Server=[Samba 2.2.5]
>
> smb: \>
> smb: \> quit
>
> **************************************************************************
> test10a:
>
> nmblookup -U -R -M golgerth
>
> querying golgerth on 0.0.0.0
> 192.168.100.3 golgerth<1d>
>
> **************************************************************************
> test10b:
>
> nmblookup -U -R -M '-'
>
> querying __MSBROWSE__ on 0.0.0.0
> 192.168.100.3 __MSBROWSE__<01>
>
> **************************************************************************
> tests run on client
> **************************************************************************
> test10a:
>
> net view \\192.168.100.3
>
> C:\WINNT\system32>nbtstat -a pubert
>
> Local Area Connection 7:
> Node IpAddress: [64.229.225.35] Scope Id: []
>
>
>
> NetBIOS Remote Machine Name Table
>
>
>
> Name Type Status
>
> ---------------------------------------------
>
> PUBERT <00> UNIQUE Registered
>
> PUBERT <20> UNIQUE Registered
>
> GOLGERTH <00> GROUP Registered
>
> GOLGERTH <1E> GROUP Registered
>
> PUBERT <03> UNIQUE Registered
>
> ADMINISTRATOR <03> UNIQUE Registered
>
>
>
> MAC Address = 44-45-53-54-77-77
>
>
>
>
> LAN:
> Node IpAddress: [192.168.100.1] Scope Id: []
>
>
>
> NetBIOS Remote Machine Name Table
>
>
>
> Name Type Status
>
> ---------------------------------------------
>
> PUBERT <00> UNIQUE Registered
>
> PUBERT <20> UNIQUE Registered
>
> GOLGERTH <00> GROUP Registered
>
> GOLGERTH <1E> GROUP Registered
>
> PUBERT <03> UNIQUE Registered
>
> ADMINISTRATOR <03> UNIQUE Registered
>
>
>
> MAC Address = 00-03-6D-13-6B-3E
>
>
>
> **************************************************************************
> test10a:
>
> nbtstat -A 192.168.100.3
>
>
> C:\WINNT\system32>nbtstat -A 192.168.100.3
>
> Local Area Connection 7:
> Node IpAddress: [0.0.0.0] Scope Id: []
>
>
>
> Host not found.
>
>
> LAN:
> Node IpAddress: [192.168.100.1] Scope Id: []
>
>
>
> Host not found.
>
>
>
>
> ====> saru mo ki kara ochiru
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
--
John H Terpstra
Email: jht@samba.org