[Samba] Windows XP and Samba

Jochen Roedenbeck
Wed, 06 Feb 2002 07:02:03 -0000

We have a local network with Samba 2.0.3 on SuSE-Linux and some
Windows 95 and Windows 98 clients. All works fine.

Now we have got a new Windows XP computer, and we found no way
to connect to the Samba server from that computer.

1. The network card works. I can ping the server, and it replies.

2. The Samba server as well as the Windows XP computer are shown
   in the network neighbourhood.

3. If I double-click the symbol of the Samba server an error
   message is shown saying "Auf \\CERES kann nicht zugegriffen
   werden. Sie haben eventuell keine Berechtigung, diese Netz-
   werkresource zu verwenden. ..." (in English: You cannot access
   \\CERES. May be, you are not allowed to use this network
   resource."

4. On Windows 95 and Windows 98 computers the dialog window, opened
   by the "property" button for "client of Microsoft
networks",
   shows a checkbox "log on to Windows NT domain", which is checked
   on these computers. Below that there is a edit field which shows
   the name of the workgroup.

   On Windows XP this window looks completely different, and it
   doesn't seem to me very useful.

5. The main part of the /etc/smb.conf file is:

   [global]
      workgroup = WORKGROUP
      guest account = nobody
      os level = 65
      security = user
      printing = bsd
      printcap name = /etc/printcap
      load printers = yes
      socket options = TCP_NODELAY
      oplocks = false
      map to guest = Bad User
      interfaces = 192.168.76.2/255.255.255.0 192.168.67.2/255.255.255.0
      wins support = yes
      logon script =%U.bat
      domain logons = yes
      domain master = yes
      preferred master = yes
      password level = 2
   [netlogon]
      path = /usr/samba/netlogon
      browseable = yes
      writeable = no
      guest ok = no
   [homes]
      comment = Heimatverzeichnis
      browseable = no
      read only = no
      create mode = 0750
   [printers]
      comment = All Printers
      browseable = no
      printable = yes
      public = no
      read only = yes
      create mode = 0700
      directory = /tmp

    (Some drive and printer definitions follow.)

6. The log file messages in /var/log/log.smb are:

[2002/02/06 15:48:06, 2] smbd/server.c:main(702)
  Changed root to /
[2002/02/06 15:48:06, 3] smbd/oplock.c:open_oplock_ipc(73)
  open_oplock_ipc: opening loopback UDP socket.
[2002/02/06 15:48:06, 3] lib/util_sock.c:open_socket_in(683)
  bind succeeded on port 0
[2002/02/06 15:48:06, 3] smbd/oplock.c:open_oplock_ipc(101)
  open_oplock ipc: pid = 18113, global_oplock_port = 2323
[2002/02/06 15:48:06, 3] smbd/process.c:smbd_process(924)
  priming nmbd
[2002/02/06 15:48:06, 3] lib/util_sock.c:send_one_packet(608)
  sending a packet of len 1 to (127.0.0.1) on port 137 of type DGRAM
[2002/02/06 15:48:06, 3] smbd/process.c:process_smb(565)
  Transaction 0 of length 72
[2002/02/06 15:48:06, 2] smbd/reply.c:reply_special(95)
  netbios connect: name1=CERES            name2=SN1
[2002/02/06 15:48:06, 3] smbd/process.c:process_smb(565)
  Transaction 1 of length 137
[2002/02/06 15:48:06, 3] smbd/process.c:switch_message(402)
  switch message SMBnegprot (pid 18113)
[2002/02/06 15:48:06, 3] smbd/negprot.c:reply_negprot(332)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[2002/02/06 15:48:06, 3] smbd/negprot.c:reply_negprot(332)
  Requested protocol [LANMAN1.0]
[2002/02/06 15:48:06, 3] smbd/negprot.c:reply_negprot(332)
  Requested protocol [Windows for Workgroups 3.1a]
[2002/02/06 15:48:06, 3] smbd/negprot.c:reply_negprot(332)
  Requested protocol [LM1.2X002]
[2002/02/06 15:48:06, 3] smbd/negprot.c:reply_negprot(332)
  Requested protocol [LANMAN2.1]
[2002/02/06 15:48:06, 3] smbd/negprot.c:reply_negprot(332)
  Requested protocol [NT LM 0.12]
[2002/02/06 15:48:06, 3] smbd/negprot.c:reply_negprot(409)
  Selected protocol NT LM 0.12
[2002/02/06 15:48:08, 3] smbd/process.c:timeout_processing(755)
  end of file from client
[2002/02/06 15:48:08, 2] smbd/server.c:exit_server(406)
  Closing connections
[2002/02/06 15:48:08, 3] smbd/server.c:exit_server(431)
  Server exit (normal exit)

Could anyone help me and say how to configure Windows XP?

Jochen