[Samba] connection problem to W2k DC

Moeller Daniel (QI/EES3) * Daniel.Moeller at de.bosch.com
Wed Jul 3 07:23:09 GMT 2002


we are using Samba 2.2.5 in a somewhat larger configuration: a big NFS file
server and a separate box acting as a NFS/SMB gateway. Usually there are
about 200-250 connected clients. The box is a Sun Netra T1 AC200 with
Solaris 8.
Sometimes we get the following (loglevel 1):
[2002/07/01 11:48:50, 1] smbd/service.c:make_connection(615)
  si17062 ( connect to service mrd8si as user mrd8si (uid=2674,
gid=155) (pid 23348)
[2002/07/01 11:50:31, 0] lib/util_sock.c:read_socket_with_timeout(298)
  read_socket_with_timeout: timeout read. read error = Connection reset by
[2002/07/01 11:50:31, 1] smbd/password.c:server_cryptkey(1083)
  SI21930 rejected the negprot
[2002/07/01 11:50:31, 1] smbd/password.c:server_validate(1117)
  password server  is not connected
[2002/07/01 11:50:31, 1] smbd/password.c:pass_check_smb(555)
  Couldn't find user 'mrd8si' in passdb.
[2002/07/01 11:50:31, 1] smbd/password.c:pass_check_smb(555)
  Couldn't find user 'mrd8si' in passdb.
[2002/07/01 11:50:31, 1] smbd/reply.c:reply_sesssetup_and_X(988)
  Rejecting user 'mrd8si': authentication failed
[2002/07/01 11:50:31, 1] smbd/password.c:authorise_login(737)
  authorise_login: refusing user  with no session setup

Last two lines repeated about a dozen times. The Windows client show
something like "Drive N: is already connected to \\server\share". I'm sorry
I don't have the exact error message. The user has to disconnect and
reconnect his network drive. This is very annoying.
I'm using "security = server". Domain Controller is a W2k server, clients
are mainly W2k.
I tried a patch to serialize authentication which is a backport from Head,
but it didn't solve my problem.
Next shot was to increase "deadtime" from 60 to 120, but I guess it won't
help either, because the problem occured only a few minutes after last
successful connection.
Global section in smb.conf looks like this:
        workgroup = DE
        netbios name = SI-SAMBA
        server string =;QI/EES3 Mr;SAMBA %v
        interfaces = eri0:1 eri0
        security = SERVER
        encrypt passwords = Yes
        password server = si21931,si8832,si6245,hsm1nt1
        username map = /net/samba/fs1/samba/lib/users.map
        log file = /net/samba/fs1/samba/var/%m.log
        max log size = 300
        time server = Yes
        change notify timeout = 10
        deadtime = 120
        kernel oplocks = No
        oplocks = No
        level2 oplocks = No
        max open files = 800
        load printers = No
        log level = 1
        local master = No
        wins server =
        force directory mode = 0700
        dos filetimes = Yes

Anybody has a Idea how to solve this?

Mit freundlichen Grüßen / Kind regards / Saludos cordiales

Daniel Möller
Robert Bosch GmbH
SC Operation, QI/EES3
Tel: 0711/811-34340  FAX: -266689

More information about the samba mailing list