[Samba] can't connect from windows

nigel.samaroo at free.fr nigel.samaroo at free.fr
Sat May 18 18:28:02 GMT 2002

Hello all,

I've setup samba Version 2.2.0a on Slackware 8.0
# uname -a
Linux slackware 2.4.5 #6 Fri Jun 22 01:38:20 PDT 2001 i686 unknown

I start samba as root from a console as:
/usr/sbin/smbd -D -d10 -l /var/adm/smblogs/log -s /etc/samba/smb.conf
/usr/sbin/nmbd -D -d1 -s /etc/samba/smb.conf

In smb.conf I have:
   comment = mystuff
   valid users = nigels
   path = /usr1
   read only = no
   public = yes

I can connect to this share from another Linux machine on my network.
However not from Windows 2000 or NT.
(eg using: "net use F: \\slackware\files /user:nigels nigel" )
Windows NT reports: The account is not authorised to connect from this station.
Windows 2000: The network location cannot be reached.
from both windows machines i can do this:
C:\>nbtstat -a slackware
       Table de noms NetBIOS de la machine distante

   Nom                Type         Etat
SLACKWARE      <00>  UNIQUE      Inscrit
SLACKWARE      <03>  UNIQUE      Inscrit
SLACKWARE      <20>  UNIQUE      Inscrit
..__MSBROWSE__.<01>  GROUP       Inscrit
WORKGROUP      <00>  GROUP       Inscrit
WORKGROUP      <1B>  UNIQUE      Inscrit
WORKGROUP      <1D>  UNIQUE      Inscrit
WORKGROUP      <1E>  GROUP       Inscrit

Adresse MAC = 00-00-00-00-00-00

C:\>nbtstat -c

              Table de nom de cache distant NetBIOS

    Nom               Type        Adresse d'hôte   Vie [sec]
SLACKWARE      <00>  UNIQUE        420
WORKGROUP      <1B>  UNIQUE        420

"Slackware" is the hostname of the remote machine running samba.

Any ideas/suggestions on how to get this going ?


PS: The end of the samba.smdb logs look like this:
(super is the name of the windows NT machine)

[2002/05/20 02:39:06, 4] lib/time.c:TimeInit(110)
  Serverzone is -7200
[2002/05/20 02:39:06, 10] lib/util_sock.c:read_smb_length_return_keepalive(602)
  got smb length of 68e directory, but read only, except for people in
[2002/05/20 02:39:06, 10] lib/access.c:check_access(294)
  check_access: allow = 192.168.2. 127., deny =
[2002/05/20 02:39:06, 3] lib/access.c:check_access(308)52)
  check_access: no hostnames in host allow/deny list.
[2002/05/20 02:39:06, 2] lib/access.c:check_access(319)52)
  Allowed connection from  (
[2002/05/20 02:39:06, 6] smbd/process.c:process_smb(830)2)
  got message type 0x81 of len 0x44
[2002/05/20 02:39:06, 3] smbd/process.c:process_smb(831)2)
  Transaction 0 of length 72
[2002/05/20 02:39:06, 2] smbd/reply.c:reply_special(94)52)
  netbios connect: name1=SLACKWARE        name2=SUPER
[2002/05/20 02:39:06, 2] smbd/reply.c:reply_special(113)2)
  netbios connect: local=slackware remote=super

More information about the samba mailing list