SMBCLIENT to Domain-Laden NT SP3

bterrier at best.com bterrier at best.com
Sun Dec 28 07:19:36 GMT 1997


I am trying to list the shares on an NT 4.0 SP3 system.
I supply the -L <host> and -U <user> parameter and the password.
The password is correct, but I get an error 2242 returned. On a similar
machine configured without domains I have no problem. I have built using
DES and without DES and have tried the -DBSD44 switch and without 
it (this is on FreeBSD). Enclosed is the debug output.... does anyone
know what the error code 2242 is? I am using Samba 1.9.17p5.

Debug output:



Can't load /usr/local/samba/lib/smb.conf - run testparm to debug it
12/27/97 23:20:03 client started (version 1.9.17p5)
Initialising global parameters
Unable to open configuration file "/usr/local/samba/lib/smb.conf"!
pm_process retuned false
pm_process() returned No
lp_servicenumber: couldn't find homes
lp_servicenumber: couldn't find printers
lp_servicenumber: couldn't find printers
adding IPC service
Netmask for ed1 = 255.255.255.0
Derived broadcast address 10.0.0.255
Added interface ip=10.0.0.59 bcast=10.0.0.255 nmask=255.255.255.0
Opening sockets
Connecting to 10.0.0.90 at port 139
Connected
write_socket(3,76)
write_socket(3,76) wrote 76
Sent session request
write_socket(3,168)
write_socket(3,168) wrote 168
size=101
smb_com=0x72
smb_rcls=0          
smb_reh=0
smb_err=0
smb_flg=128
smb_flg2=0
smb_tid=0
smb_pid=14713
smb_uid=1028
smb_mid=14813
smt_wct=17
smb_vwv[0]=6 (0x6)
smb_vwv[1]=12803 (0x3203)
smb_vwv[2]=256 (0x100)
smb_vwv[3]=1024 (0x400)
smb_vwv[4]=17 (0x11)
smb_vwv[5]=0 (0x0)
smb_vwv[6]=256 (0x100)
smb_vwv[7]=0 (0x0)
smb_vwv[8]=0 (0x0)
smb_vwv[9]=64768 (0xFD00)
smb_vwv[10]=67 (0x43)
smb_vwv[11]=12288 (0x3000)
smb_vwv[12]=54612 (0xD554)
smb_vwv[13]=24843 (0x610B)
smb_vwv[14]=48403 (0xBD13)  
smb_vwv[15]=57345 (0xE001)
smb_vwv[16]=2049 (0x801)
smb_bcc=32
max mux 50
max vcs 1
max raw 65536
capabilities 0x43fd
Sec mode 12803
max xmt 4356
Got 8 byte crypt key
Chose protocol [NT LM 0.12]
Server time is Sat Dec 27 23:20:17 1997
Timezone is UTC-8.0
write_socket(3,93)
write_socket(3,93) wrote 93
size=35
smb_com=0x73
smb_rcls=1
smb_reh=0
smb_err=5
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=14713        
smb_uid=1028
smb_mid=14813
smt_wct=0
smb_bcc=0
resending login
Using encrypted passwords
write_socket(3,116)
write_socket(3,116) wrote 116
size=35
smb_com=0x73
smb_rcls=2
smb_reh=0
smb_err=2242
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=14713
smb_uid=1028
smb_mid=14813
smt_wct=0
smb_bcc=0
Session setup failed for username=kevin myname=MKTGIPS destname=PADUNT   ERRSRV
- 2242
You might find the -U, -W or -n options useful    
Sometimes you have to use `-n USERNAME' (particularly with OS/2)
Some servers also insist on uppercase-only passwords       



More information about the samba mailing list