Samba 2.0.3

Matthew Harrell mharrell at sito.saic.com
Wed Apr 28 15:20:46 GMT 1999


Hi,
        I am unable to log into samba anymore since I upgraded to 2.0.3.  I've
attached my smb.conf below and I've even gone to trying the CVS releases to 
see if one of them will help.  

First of all, I get soemthing like
  {33}: smbclient -L vilnius -U mharrell
  Added interface ip=207.97.105.146 bcast=207.97.105.255 nmask=255.255.255.128
  Password: 
  session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair in
   a Tree Connect or Session Setup are invalid.)

I've tried it with encrypted and unencrypted passwords.  What's changed?  This
is the same file that used to work with older versions of Samba.

I've attached the samba log below if anyone can explain what happens.  Please 
help.  This is driving me crazy.

-- 
  Matthew Harrell                          Preserve wildlife --
  Simulation Technology Division, SAIC      pickle a squirrel today!
  mharrell at sito.saic.com
-------------- next part --------------
;
;  smb.conf
;

;
;  Global parameters
;
[global]
  nt smb support      = no

  browse list         = no
  domain master       = no
  ; interfaces          = 38.178.252.3/255.255.255.0
  local master        = no
  os level            = 32
  preferred master    = no
  server string       = Charon (%L)
  ; wins proxy          = yes
  wins server         = 207.97.105.131
  ; wins support        = yes
  workgroup           = MATT
  ; include             = /usr/local/samba/smb.conf.%L

  ; domain admin group
  ; domain admin users
  ; domain controller
  ; domain groups
  ; domain logons       = yes
  logon drive         = m:
  ; logon home          = "\\%N\%U"
  logon path          = \\%N\%U\winprofile
  ; logon script        = %U.bat

  case sensitive      = no
  default case        = lower
  mangle case         = no
  preserve case       = yes
  short preserve case = yes

  ; announce as         = NT Server
  auto services       = pub
  create mask         = 0644
  default service     = pub
  debug level         = 3
  ; domain controller   = 199.42.3.200
  dns proxy           = yes
  ; encrypt passwords   = no
  getwd cache         = yes
  guest account       = guest
  hide dot files      = yes
  load printers       = yes
  map to guest        = Bad User
  max xmit            = 4096
  ; message command     = /usr/local/lib/samba/bin/message %f %m %s; rm %s
  ; netbios aliases     = tashkent riga
  null passwords      = no
  ; password level      = 1
  ; password server     = ginger
  printcap name       = /usr/local/etc/samba/printcap
  printer driver file = /usr/local/etc/samba/printers/printers.def
  printing            = sysv
  read prediction     = yes
  read raw            = yes
  read size           = 16384
  ; remote announce     = 207.97.105.255/COAA
  ; remote browse sync  = 207.97.105.255
  security            = user
  socket options      = TCP_NODELAY \
                        SO_KEEPALIVE SO_SNDBUF=65536 SO_RCVBUF=65536
  status              = yes
  syslog only         = no
  username map        = /usr/local/etc/samba/users.map
  write raw           = yes

;
;  Home directory
;   note: these are restricted to the users who have valid accounts
;
[homes]
  available       = yes
  browseable      = no
  comment         = Home Directory
  create mode     = 0755
  public          = no
  read only       = no
  wide links      = yes
-------------- next part --------------
[1999/04/28 11:18:40, 1] smbd/server.c:main(605)
  smbd version 2.1.0-prealpha started.
  Copyright Andrew Tridgell 1992-1998
[1999/04/28 11:19:22, 1] smbd/server.c:main(605)
  smbd version 2.1.0-prealpha started.
  Copyright Andrew Tridgell 1992-1998
  doing parameter dns proxy = yes
  doing parameter getwd cache = yes
  doing parameter guest account = guest
  doing parameter hide dot files = yes
  doing parameter load printers = yes
  doing parameter map to guest = Bad User
  doing parameter max xmit = 4096
  doing parameter null passwords = no
  doing parameter printcap name = /usr/local/etc/samba/printcap
  doing parameter printer driver file = /usr/local/etc/samba/printers/printers.def
  doing parameter printing = sysv
  doing parameter read prediction = yes
  doing parameter read raw = yes
  doing parameter read size = 16384
  doing parameter security = user
  doing parameter socket options = TCP_NODELAY                         SO_KEEPALIVE SO_SNDBUF=65536 SO_RCVBUF=65536
  doing parameter status = yes
  doing parameter syslog only = no
  doing parameter username map = /usr/local/etc/samba/users.map
  doing parameter write raw = yes
[1999/04/28 11:19:22, 2] param/loadparm.c:do_section(2269)
  Processing section "[homes]"
  doing parameter available = yes
  doing parameter browseable = no
  doing parameter comment = Home Directory
  doing parameter create mode = 0755
  doing parameter public = no
  doing parameter read only = no
  doing parameter wide links = yes
[1999/04/28 11:19:22, 3] param/loadparm.c:lp_load(2591)
  pm_process() returned Yes
[1999/04/28 11:19:22, 3] param/loadparm.c:lp_add_ipc(1550)
  adding IPC service
[1999/04/28 11:19:22, 2] lib/interface.c:interpret_interfaces(213)
  Added interface ip=207.97.105.146 bcast=207.97.105.255 nmask=255.255.255.128
[1999/04/28 11:19:22, 1] smbd/files.c:file_init(219)
  file_init: Information only: requested 10000 open files, 1014 are available.
[1999/04/28 11:19:22, 3] smbd/server.c:main(706)
  loaded services
[1999/04/28 11:19:23, 3] locking/shmem_sysv.c:sysv_shm_open(698)
  Initialised IPC area of size 1048576
[1999/04/28 11:19:23, 2] smbd/server.c:main(739)
  Changed root to /
[1999/04/28 11:19:23, 3] smbd/oplock.c:open_oplock_ipc(73)
  open_oplock_ipc: opening loopback UDP socket.
[1999/04/28 11:19:23, 3] lib/util_sock.c:open_socket_in(675)
  bind succeeded on port 0
[1999/04/28 11:19:23, 3] smbd/oplock.c:open_oplock_ipc(101)
  open_oplock ipc: pid = 2565, global_oplock_port = 1037
[1999/04/28 11:19:23, 3] smbd/process.c:smbd_process(759)
  priming nmbd
[1999/04/28 11:19:23, 3] lib/util_sock.c:send_one_packet(604)
  sending a packet of len 1 to (127.0.0.1) on port 137 of type DGRAM
[1999/04/28 11:19:23, 3] smbd/process.c:process_smb(569)
  Transaction 0 of length 76
[1999/04/28 11:19:23, 2] smbd/reply.c:reply_special(140)
  netbios connect: name1=VILNIUS          name2=VILNIUS        
[1999/04/28 11:19:23, 3] smbd/process.c:process_smb(569)
  Transaction 1 of length 168
[1999/04/28 11:19:23, 3] smbd/process.c:switch_message(402)
  switch message SMBnegprot (pid 2565)
[1999/04/28 11:19:23, 3] smbd/negprot.c:reply_negprot(332)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[1999/04/28 11:19:23, 3] smbd/negprot.c:reply_negprot(332)
  Requested protocol [MICROSOFT NETWORKS 1.03]
[1999/04/28 11:19:23, 3] smbd/negprot.c:reply_negprot(332)
  Requested protocol [MICROSOFT NETWORKS 3.0]
[1999/04/28 11:19:23, 3] smbd/negprot.c:reply_negprot(332)
  Requested protocol [LANMAN1.0]
[1999/04/28 11:19:23, 3] smbd/negprot.c:reply_negprot(332)
  Requested protocol [LM1.2X002]
[1999/04/28 11:19:23, 3] smbd/negprot.c:reply_negprot(332)
  Requested protocol [Samba]
[1999/04/28 11:19:23, 3] smbd/negprot.c:reply_negprot(409)
  Selected protocol NT LANMAN 1.0
[1999/04/28 11:19:24, 3] smbd/process.c:process_smb(569)
  Transaction 2 of length 97
[1999/04/28 11:19:24, 3] smbd/process.c:switch_message(402)
  switch message SMBsesssetupX (pid 2565)
[1999/04/28 11:19:24, 3] smbd/reply.c:reply_sesssetup_and_X(625)
  Domain=[MATT]  NativeOS=[Unix] NativeLanMan=[Samba]
[1999/04/28 11:19:24, 3] smbd/reply.c:reply_sesssetup_and_X(628)
  sesssetupX:name=[MHARRELL]
[1999/04/28 11:19:24, 3] smbd/error.c:error_packet(138)
  error packet at line 723 cmd=115 (SMBsesssetupX) eclass=2 ecode=2
[1999/04/28 11:19:24, 3] smbd/error.c:error_packet(143)
  error string = No such file or directory
[1999/04/28 11:19:24, 3] smbd/process.c:smbd_process(810)
  end of file from client
[1999/04/28 11:19:24, 2] smbd/server.c:exit_server(406)
  Closing connections
[1999/04/28 11:19:24, 3] smbd/server.c:exit_server(431)
  Server exit (normal exit)


More information about the samba mailing list