Mikael M. Hansen
2003-Dec-18 08:41 UTC
[Samba] smbclient-2.2.8a cannot connect to samba-3.0.0 server
Hi I have a problem with subject. I have a samba 3.0.1 server to which both windows and linux (using smbclient version 3) users can connect perfectly. But smbclient version 2.2.8a or earlier users cannot connect to this server. I have searched release notes, changelogs, the linux.samba newsgroup and found no indication of others having the same problem. Most likely it is something I have overlooked (an option in [global] section that I must include). Does anyone have any suggestions for a solution? Or has anyone experienced similar problems? My smb.conf (on the server) looks like this: [global] workgroup = CS netbios name = lfs1 server string = LFS1 Fileserver hosts allow 130.225.194.0/255.255.255.0,192.168.194.0/255.255.254.0,130.225.195.0/255.255.255.0,172.16.4.0/255.255.255.0 log file = /usr/priv/samba/var/log/log.%m log level = 1 max log size = 3000 socket options = TCP_NODELAY # Limit listening interface interfaces = 130.225.194.0/24,130.225.195/24 local master = no dns proxy = yes encrypt passwords = no load printers = no nis homedir = yes homedir map = auto_user [PC] path = /tmp guest ok = no read only = no preserve case = yes create mode = 775 I connect like this: smbclient //kfs1/PC -Umhansen -d 10 and receive this: Serverzone is -3600 Adding chars 0x0 0x0 (l->u = False) (u->l = False) Adding chars 0x21 0x0 (l->u = False) (u->l = False) -- a lot of lines similar to the above -- Initialising global parameters params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf" Processing section "[global]" doing parameter workgroup = CS doing parameter hosts allow 130.225.194.0/255.255.255.0,130.225.195.0/255.255.255.0,192.168.194.0/255.255.254.0,172.16.4.0/255.255.255.0 doing parameter load printers = no doing parameter homedir map = auto_user doing parameter nis homedir = true doing parameter encrypt passwords = no doing parameter dns proxy = yes doing parameter max log size = 30000 doing parameter socket options = TCP_NODELAY doing parameter os level = 0 doing parameter domain master = no doing parameter local master = no doing parameter preferred master = no pm_process() returned Yes lp_servicenumber: couldn't find homes set_server_role: ROLE_STANDALONE codepage_initialise: client code page = 850 load_client_codepage: loading codepage 850. Adding chars 0x85 0xb7 (l->u = True) (u->l = True) Adding chars 0xa0 0xb5 (l->u = True) (u->l = True) -- a lot of lines similar to the above -- load_dos_unicode_map: 850 load_unicode_map: loading unicode map for codepage 850. load_unix_unicode_map: ISO8859-1 (init_done=0, override=0) load_unicode_map: loading unicode map for codepage ISO8859-1. added interface ip=130.225.194.30 bcast=130.225.194.255 nmask=255.255.255.0 Client started (version 2.2.7a-security-rollup-fix). resolve_lmhosts: Attempting lmhosts lookup for name lfs1<0x20> getlmhostsent: lmhost entry: 127.0.0.1 localhost resolve_hosts: Attempting host lookup for name lfs1<0x20> 1 addresses returned internal_resolve_name: returning 1 addresses: 130.225.194.8 Connecting to 130.225.194.8 at port 139 socket option SO_KEEPALIVE = 0 socket option SO_REUSEADDR = 0 socket option SO_BROADCAST = 0 socket option TCP_NODELAY = 1 socket option IPTOS_LOWDELAY = 0 socket option IPTOS_THROUGHPUT = 0 socket option SO_SNDBUF = 16384 socket option SO_RCVBUF = 87380 socket option SO_SNDLOWAT = 1 socket option SO_RCVLOWAT = 1 socket option SO_SNDTIMEO = 0 socket option SO_RCVTIMEO = 0 write_socket(3,72) write_socket(3,72) wrote 72 Sent session request got smb length of 0 size=0 smb_com=0x0 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=0 smb_flg2=0 smb_tid=0 smb_pid=0 smb_uid=0 smb_mid=0 smt_wct=0 smb_bcc=0 session request ok write_socket(3,168) write_socket(3,168) wrote 168 got smb length of 75 size=75 smb_com=0x72 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=18433 smb_tid=0 smb_pid=11282 smb_uid=0 smb_mid=1 smt_wct=17 smb_vwv[0]=6 (0x6) smb_vwv[1]=12801 (0x3201) smb_vwv[2]=256 (0x100) smb_vwv[3]=1024 (0x400) smb_vwv[4]=65 (0x41) smb_vwv[5]=0 (0x0) smb_vwv[6]=256 (0x100) smb_vwv[7]=21760 (0x5500) smb_vwv[8]=51 (0x33) smb_vwv[9]=64768 (0xFD00) smb_vwv[10]=32995 (0x80E3) smb_vwv[11]=32768 (0x8000) smb_vwv[12]=23342 (0x5B2E) smb_vwv[13]=16887 (0x41F7) smb_vwv[14]=50117 (0xC3C5) smb_vwv[15]=50177 (0xC401) smb_vwv[16]=255 (0xFF) smb_bcc=6 [000] 43 00 53 00 00 00 C.S... size=75 smb_com=0x72 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=18433 smb_tid=0 smb_pid=11282 smb_uid=0 smb_mid=1 smt_wct=17 smb_vwv[0]=6 (0x6) smb_vwv[1]=12801 (0x3201) smb_vwv[2]=256 (0x100) smb_vwv[3]=1024 (0x400) smb_vwv[4]=65 (0x41) smb_vwv[5]=0 (0x0) smb_vwv[6]=256 (0x100) smb_vwv[7]=21760 (0x5500) smb_vwv[8]=51 (0x33) smb_vwv[9]=64768 (0xFD00) smb_vwv[10]=32995 (0x80E3) smb_vwv[11]=32768 (0x8000) smb_vwv[12]=23342 (0x5B2E) smb_vwv[13]=16887 (0x41F7) smb_vwv[14]=50117 (0xC3C5) smb_vwv[15]=50177 (0xC401) smb_vwv[16]=255 (0xFF) smb_bcc=6 [000] 43 00 53 00 00 00 C.S... Password: write_socket(3,120) write_socket(3,120) wrote 120 got smb length of 35 size=35 smb_com=0x73 smb_rcls=109 smb_reh=0 smb_err=49152 smb_flg=136 smb_flg2=51201 smb_tid=0 smb_pid=11282 smb_uid=0 smb_mid=1 smt_wct=0 smb_bcc=0 size=35 smb_com=0x73 smb_rcls=109 smb_reh=0 smb_err=49152 smb_flg=136 smb_flg2=51201 smb_tid=0 smb_pid=11282 smb_uid=0 smb_mid=1 smt_wct=0 smb_bcc=0 session setup failed: NT_STATUS_LOGON_FAILURE Any help is greatly appreciated. MVH / Best regards Mikael M. Hansen