samba 2.0.2: tree connect setup failed

Kaman Wong kaman at databyte.com
Sat Feb 20 04:44:24 GMT 1999


Hi,

I just upgrade to samba 2.0.2. on AIX 4.1. My smb.conf looks like this:

# Global parameters
    workgroup = MYGROUP
    netbios name = myserver
    security = DOMAIN
    update encrypted = Yes
    password server = server2
    log level = 3
    log file = /usr/local/samba/log/log.%m
    local master = No
    guest account = nobody
    hosts allow = 10.1.1.
    oplocks = No

[service1]
    comment =
    path = /usr/local
    read only = No
    create mask = 0766


I use smbclient to try out the services:

	Smbclient //myserver/services1

The following message returns:

doing parameter log file = /usr/local/samba/log/log.%m
doing parameter local master = No
doing parameter hosts allow = 10.1.1.
doing parameter oplocks = No
pm_process() returned Yes
Added interface ip=10.1.1.10 bcast=10.1.1.255 nmask=255.255.255.0
Client started (version 2.0.2).
resolve_name: Attempting lmhosts lookup for name myserver<0x20>
Connecting to 10.1.1.10 at port 139
Password:
session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair
in a Tree Connect or Session Setup are invalid.)

The log.myserver file contains:

[1999/02/19 19:49:55, 3] smbd/process.c:process_smb(565)
  Transaction 1 of length 168
[1999/02/19 19:49:55, 3] smbd/process.c:switch_message(402)
  switch message SMBnegprot (pid 13252)
[1999/02/19 19:49:55, 3] smbd/negprot.c:reply_negprot(332)
  Requested protocol [PC NETWORK PROGRAM 1.0]
[1999/02/19 19:49:55, 3] smbd/negprot.c:reply_negprot(332)
  Requested protocol [MICROSOFT NETWORKS 1.03]
[1999/02/19 19:49:55, 3] smbd/negprot.c:reply_negprot(332)
  Requested protocol [MICROSOFT NETWORKS 3.0]
[1999/02/19 19:49:55, 3] smbd/negprot.c:reply_negprot(332)
  Requested protocol [LANMAN1.0]
[1999/02/19 19:49:55, 3] smbd/negprot.c:reply_negprot(332)
  Requested protocol [LM1.2X002]
[1999/02/19 19:49:55, 3] smbd/negprot.c:reply_negprot(332)
  Requested protocol [Samba]
[1999/02/19 19:49:55, 3] smbd/negprot.c:reply_negprot(409)
  Selected protocol NT LANMAN 1.0
[1999/02/19 19:49:58, 3] smbd/process.c:process_smb(565)
  Transaction 2 of length 95
[1999/02/19 19:49:58, 3] smbd/process.c:switch_message(402)
  switch message SMBsesssetupX (pid 13252)
[1999/02/19 19:49:58, 3] smbd/reply.c:reply_sesssetup_and_X(675)
  Domain=[MYGROUP]  NativeOS=[Unix] NativeLanMan=[Samba]
[1999/02/19 19:49:58, 3] smbd/reply.c:reply_sesssetup_and_X(679)
  sesssetupX:name=[KAMAN]
[1999/02/19 19:49:58, 3] smbd/password.c:domain_client_validate(1193)
  domain_client_validate: User passwords not in encrypted format.
[1999/02/19 19:49:58, 3] libsmb/namequery.c:resolve_lmhosts(546)
  resolve_name: Attempting lmhosts lookup for name SERVER2<0x20>
[1999/02/19 19:49:58, 3] libsmb/namequery.c:resolve_hosts(574)
  resolve_name: Attempting host lookup for name SERVER2<0x20>
[1999/02/19 19:49:59, 3] lib/util_sock.c:open_socket_out(711)
  Connecting to 10.1.1.9 at port 139
[1999/02/19 19:49:59, 0] rpc_client/cli_netlogon.c:cli_net_sam_logon(371)
  cli_net_sam_logon: NT_STATUS_WRONG_PASSWORD
[1999/02/19 19:49:59, 0] smbd/password.c:domain_client_validate(1363)
  domain_client_validate: unable to validate password for user kaman in
domain MYGROUP to Domain controller SERVER2. Error was
NT_STATUS_WRONG_PASSWORD.
[1999/02/19 19:49:59, 3] smbd/error.c:error_packet(138)
  error packet at line 781 cmd=115 (SMBsesssetupX) eclass=2 ecode=2
[1999/02/19 19:49:59, 3] smbd/error.c:error_packet(143)
  error string = No such file or directory
[1999/02/19 19:49:59, 3] smbd/process.c:timeout_processing(755)
end of file from client
[1999/02/19 19:49:59, 2] smbd/server.c:exit_server(406)
  Closing connections
[1999/02/19 19:49:59, 3] smbd/server.c:exit_server(431)
  Server exit (normal exit)




More information about the samba mailing list