Stanley Hopcroft
2003-Jan-11 04:48 UTC
[Samba] Samba 2.2.7 Session setup fails with NetApp filer (F850).
Dear Ladies and Gentlemen, I would dearly like to access CIFs directories on a NetApp filer (850) with Linux/*ix SMB clients. Unfortunately, smbclient from Samba 2.2.7 fails with a session setup request tsitc> /usr/local/samba/bin/smbclient //cbrnas01/Stan3$ -U stan3%PPPP added interface ip=10.0.100.252 bcast=10.255.255.255 nmask=255.0.0.0 session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.) However, the domain controllers _will_ validate this account eg tsitc> /usr/local/samba/bin/smbclient //ipa03/stan3$ -U stan3%PPPP added interface ip=10.0.100.252 bcast=10.255.255.255 nmask=255.0.0.0 Domain=[IPAUSTRALIA] OS=[Windows NT 4.0] Server=[NT LAN Manager 4.0] smb: \> quit tsitc> In this case, the domain is named IPAUSTRALIA and the DCs include 'ipa03'. tsitc> /usr/local/samba/bin/nmblookup -A ipa03 Looking up status of 10.0.100.104 received 11 names IPA03 <00> - M <ACTIVE> IPA03 <20> - M <ACTIVE> IPAUSTRALIA <00> - <GROUP> M <ACTIVE> IPAUSTRALIA <1c> - <GROUP> M <ACTIVE> IPAUSTRALIA <1e> - <GROUP> M <ACTIVE> IPA03 <03> - M <ACTIVE> IPA03 <6a> - M <ACTIVE> IPA03 <be> - M <ACTIVE> IPA03 <6b> - M <ACTIVE> IPA03 <87> - M <ACTIVE> 0ASGGEN <03> - M <ACTIVE> num_good_sends=0 num_good_receives=0 tsitc> This is _not_ a Samba problem since the smbfs in FreeBSD 4.x also fails to connect to shares and likewise samba-tng (2.6 alpha). However, since there is no one I can ask here about CIFS on the filer, expert advice would be very welcome. FWIW, ethereal shows the negotiated protocol index to be 7 (greater thanLANMAN 2.1) and the errors are NT Status: STATUS_LOGON_FAILURE (0xc0 00 00 6d). Pcap file availble on request. Thank you, Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. You can see below the debug output of the Negotiate protocol response and the Session Setup [000] 16 8B 36 14 9F EE 25 3E 49 00 50 00 41 00 55 00 ..6...%> I.P.A.U. [010] 53 00 54 00 52 00 41 00 4C 00 49 00 41 00 00 00 S.T.R.A. L.I.A... size=101 smb_com=0x72 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=152 smb_flg2=1 smb_tid=0 smb_pid=744 smb_uid=0 smb_mid=1 smt_wct=17 smb_vwv[0]=7 (0x7) smb_vwv[1]=12803 (0x3203) smb_vwv[2]=256 (0x100) smb_vwv[3]=1024 (0x400) smb_vwv[4]=129 (0x81) smb_vwv[5]=0 (0x0) smb_vwv[6]=256 (0x100) smb_vwv[7]=5632 (0x1600) smb_vwv[8]=13963 (0x368B) smb_vwv[9]=64788 (0xFD14) smb_vwv[10]=83 (0x53) smb_vwv[11]=53248 (0xD000) smb_vwv[12]=59783 (0xE987) smb_vwv[13]=11274 (0x2C0A) smb_vwv[14]=49849 (0xC2B9) smb_vwv[15]=27649 (0x6C01) smb_vwv[16]=2301 (0x8FD) smb_bcc=32 [000] 16 8B 36 14 9F EE 25 3E 49 00 50 00 41 00 55 00 ..6...%> I.P.A.U. [010] 53 00 54 00 52 00 41 00 4C 00 49 00 41 00 00 00 S.T.R.A. L.I.A... write_socket(3,136) write_socket(3,136) wrote 136 got smb length of 35 size=35 smb_com=0x73 smb_rcls=2 smb_reh=0 smb_err=2 smb_flg=136 smb_flg2=1 smb_tid=0 smb_pid=744 smb_uid=0 smb_mid=1 smt_wct=0 smb_bcc=0 size=35 smb_com=0x73 smb_rcls=2 smb_reh=0 smb_err=2 smb_flg=136 smb_flg2=1 smb_tid=0 smb_pid=744 smb_uid=0 smb_mid=1 smt_wct=0 smb_bcc=0 session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.) tsitc>
Gerald (Jerry) Carter
2003-Jan-17 19:13 UTC
[Samba] Samba 2.2.7 Session setup fails with NetApp filer (F850).
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, 11 Jan 2003, Stanley Hopcroft wrote:> Dear Ladies and Gentlemen, > > I would dearly like to access CIFs directories on a NetApp filer > (850) with Linux/*ix SMB clients. > > Unfortunately, smbclient from Samba 2.2.7 fails with a session setup > requestTry smbclient in the SAMBA_3_0 cvs branch. Also take a look at Steve French's cifs vfs. cheers, jerry ---------------------------------------------------------------------- Hewlett-Packard ------------------------- http://www.hp.com SAMBA Team ---------------------- http://www.samba.org GnuPG Key ---- http://www.plainjoe.org/gpg_public.asc ISBN 0-672-32269-2 "SAMS Teach Yourself Samba in 24 Hours" 2ed "You can never go home again, Oatman, but I guess you can shop there." --John Cusack - "Grosse Point Blank" (1997) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (GNU/Linux) Comment: For info see http://quantumlab.net/pine_privacy_guard/ iD8DBQE+KFRNIR7qMdg1EfYRArqzAJ4+4ObiVJbnQrkhyiMUUqSTLe0X4gCeM5Ue y4kvRzdm/RBlwlnwlelz3e0=HwIm -----END PGP SIGNATURE-----