Jacob Friis Larsen [Eksperten admin]
2004-Mar-04 09:41 UTC
[Samba] session setup failed: ERRDOS - ERRnoaccess (Access denied.)
When I try to connect to a NT share I get this: 19788: session setup failed: ERRDOS - ERRnoaccess (Access denied.) SMB connection failed My command is: mount -t smbfs -o username=xxx,password=xxx //DBSERVER/myshare$ /tmp/backup The above command works on other machines. Please help. Here is my debug info: INFO: Current debug levels: all: True/10 tdb: False/0 printdrivers: False/0 lanman: False/0 smb: False/0 rpc_parse: False/0 rpc_srv: False/0 rpc_cli: False/0 passdb: False/0 sam: False/0 auth: False/0 winbind: False/0 vfs: False/0 idmap: False/0 quota: False/0 lp_load: refreshing parameters Initialising global parameters params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf" Processing section "[global]" doing parameter workgroup = IDG_DK doing parameter log file = /var/log/samba/%m.log doing parameter max log size = 50 doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 doing parameter dns proxy = No doing parameter ldap ssl = no pm_process() returned Yes lp_servicenumber: couldn't find homes set_server_role: role = ROLE_STANDALONE Attempting to register new charset UCS-2LE Registered charset UCS-2LE Attempting to register new charset UTF8 Registered charset UTF8 Attempting to register new charset ASCII Registered charset ASCII Attempting to register new charset 646 Registered charset 646 Attempting to register new charset ISO-8859-1 Registered charset ISO-8859-1 Attempting to register new charset UCS2-HEX Registered charset UCS2-HEX Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE Substituting charset 'ISO-8859-15' for LOCALE added interface ip=172.16.20.83 bcast=172.16.255.255 nmask=255.255.0.0 Netbios name list:- my_netbios_names[0]="FEDORA" Client started (version 3.0.2-7.FC1). internal_resolve_name: looking up DBSERVER#20 Opening cache file at /var/cache/samba/gencache.tdb tdb(unnamed): tdb_brlock failed (fd=3) at offset 4 rw_type=1 lck_type=13: Resource temporarily unavailable Returning valid cache entry: key = NBT/DBSERVER#20, value = 172.16.20.42:0, timeout = Thu Mar 4 10:43:39 2004 name DBSERVER#20 found. Connecting to 172.16.20.42 at port 445 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 = 16384 socket option SO_SNDLOWAT = 1 socket option SO_RCVLOWAT = 1 socket option SO_SNDTIMEO = 0 socket option SO_RCVTIMEO = 0 session request ok write_socket(4,183) write_socket(4,183) wrote 183 got smb length of 85 size=85 smb_com=0x72 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=51201 smb_tid=0 smb_pid=20230 smb_uid=0 smb_mid=1 smt_wct=17 smb_vwv[ 0]= 8 (0x8) smb_vwv[ 1]=12803 (0x3203) 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]= 0 (0x0) smb_vwv[ 8]= 0 (0x0) smb_vwv[ 9]=64768 (0xFD00) smb_vwv[10]= 243 (0xF3) smb_vwv[11]= 2688 (0xA80) smb_vwv[12]= 4578 (0x11E2) smb_vwv[13]=52324 (0xCC64) smb_vwv[14]=50177 (0xC401) smb_vwv[15]=50177 (0xC401) smb_vwv[16]= 255 (0xFF) smb_bcc=16 [000] F5 E6 95 4C 42 2E 34 46 B4 DA E4 8C 81 80 B3 91 ??.LB.4F ???...?. size=85 smb_com=0x72 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=51201 smb_tid=0 smb_pid=20230 smb_uid=0 smb_mid=1 smt_wct=17 smb_vwv[ 0]= 8 (0x8) smb_vwv[ 1]=12803 (0x3203) 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]= 0 (0x0) smb_vwv[ 8]= 0 (0x0) smb_vwv[ 9]=64768 (0xFD00) smb_vwv[10]= 243 (0xF3) smb_vwv[11]= 2688 (0xA80) smb_vwv[12]= 4578 (0x11E2) smb_vwv[13]=52324 (0xCC64) smb_vwv[14]=50177 (0xC401) smb_vwv[15]=50177 (0xC401) smb_vwv[16]= 255 (0xFF) smb_bcc=16 [000] F5 E6 95 4C 42 2E 34 46 B4 DA E4 8C 81 80 B3 91 ??.LB.4F ???...?. Serverzone is -3600 Doing spnego session setup (blob length=16) server didn't supply a full spnego negprot write_socket(4,164) write_socket(4,164) wrote 164 got smb length of 392 size=392 smb_com=0x73 smb_rcls=22 smb_reh=0 smb_err=49152 smb_flg=136 smb_flg2=51201 smb_tid=0 smb_pid=20230 smb_uid=2049 smb_mid=2 smt_wct=4 smb_vwv[ 0]= 255 (0xFF) smb_vwv[ 1]= 392 (0x188) smb_vwv[ 2]= 0 (0x0) smb_vwv[ 3]= 275 (0x113) smb_bcc=349 [000] A1 82 01 0F 30 82 01 0B A0 03 0A 01 01 A1 0C 06 ?...0... ....?.. [010] 0A 2B 06 01 04 01 82 37 02 02 0A A2 7A 04 78 4E .+.....7 ...?z.xN [020] 54 4C 4D 53 53 50 00 02 00 00 00 0C 00 0C 00 30 TLMSSP.. .......0 [030] 00 00 00 15 02 89 60 10 A3 9A D8 C5 92 B6 73 00 ......`. ?.??.?s. [040] 00 00 00 00 00 00 00 3C 00 3C 00 3C 00 00 00 49 .......< .<.<...I [050] 00 44 00 47 00 5F 00 44 00 4B 00 02 00 0C 00 49 .D.G._.D .K.....I [060] 00 44 00 47 00 5F 00 44 00 4B 00 01 00 10 00 44 .D.G._.D .K.....D [070] 00 42 00 53 00 45 00 52 00 56 00 45 00 52 00 03 .B.S.E.R .V.E.R.. [080] 00 10 00 64 00 62 00 73 00 65 00 72 00 76 00 65 ...d.b.s .e.r.v.e [090] 00 72 00 00 00 00 00 A3 7A 04 78 4E 54 4C 4D 53 .r.....? z.xNTLMS [0A0] 53 50 00 02 00 00 00 0C 00 0C 00 30 00 00 00 15 SP...... ...0.... [0B0] 02 89 60 10 A3 9A D8 C5 92 B6 73 00 00 00 00 00 ..`.?.?? .?s..... [0C0] 00 00 00 3C 00 3C 00 3C 00 00 00 49 00 44 00 47 ...<.<.< ...I.D.G [0D0] 00 5F 00 44 00 4B 00 02 00 0C 00 49 00 44 00 47 ._.D.K.. ...I.D.G [0E0] 00 5F 00 44 00 4B 00 01 00 10 00 44 00 42 00 53 ._.D.K.. ...D.B.S [0F0] 00 45 00 52 00 56 00 45 00 52 00 03 00 10 00 64 .E.R.V.E .R.....d [100] 00 62 00 73 00 65 00 72 00 76 00 65 00 72 00 00 .b.s.e.r .v.e.r.. [110] 00 00 00 57 00 69 00 6E 00 64 00 6F 00 77 00 73 ...W.i.n .d.o.w.s [120] 00 20 00 35 00 2E 00 30 00 00 00 57 00 69 00 6E . .5...0 ...W.i.n [130] 00 64 00 6F 00 77 00 73 00 20 00 32 00 30 00 30 .d.o.w.s . .2.0.0 [140] 00 30 00 20 00 4C 00 41 00 4E 00 20 00 4D 00 61 .0. .L.A .N. .M.a [150] 00 6E 00 61 00 67 00 65 00 72 00 00 00 .n.a.g.e .r... size=392 smb_com=0x73 smb_rcls=22 smb_reh=0 smb_err=49152 smb_flg=136 smb_flg2=51201 smb_tid=0 smb_pid=20230 smb_uid=2049 smb_mid=2 smt_wct=4 smb_vwv[ 0]= 255 (0xFF) smb_vwv[ 1]= 392 (0x188) smb_vwv[ 2]= 0 (0x0) smb_vwv[ 3]= 275 (0x113) smb_bcc=349 [000] A1 82 01 0F 30 82 01 0B A0 03 0A 01 01 A1 0C 06 ?...0... ....?.. [010] 0A 2B 06 01 04 01 82 37 02 02 0A A2 7A 04 78 4E .+.....7 ...?z.xN [020] 54 4C 4D 53 53 50 00 02 00 00 00 0C 00 0C 00 30 TLMSSP.. .......0 [030] 00 00 00 15 02 89 60 10 A3 9A D8 C5 92 B6 73 00 ......`. ?.??.?s. [040] 00 00 00 00 00 00 00 3C 00 3C 00 3C 00 00 00 49 .......< .<.<...I [050] 00 44 00 47 00 5F 00 44 00 4B 00 02 00 0C 00 49 .D.G._.D .K.....I [060] 00 44 00 47 00 5F 00 44 00 4B 00 01 00 10 00 44 .D.G._.D .K.....D [070] 00 42 00 53 00 45 00 52 00 56 00 45 00 52 00 03 .B.S.E.R .V.E.R.. [080] 00 10 00 64 00 62 00 73 00 65 00 72 00 76 00 65 ...d.b.s .e.r.v.e [090] 00 72 00 00 00 00 00 A3 7A 04 78 4E 54 4C 4D 53 .r.....? z.xNTLMS [0A0] 53 50 00 02 00 00 00 0C 00 0C 00 30 00 00 00 15 SP...... ...0.... [0B0] 02 89 60 10 A3 9A D8 C5 92 B6 73 00 00 00 00 00 ..`.?.?? .?s..... [0C0] 00 00 00 3C 00 3C 00 3C 00 00 00 49 00 44 00 47 ...<.<.< ...I.D.G [0D0] 00 5F 00 44 00 4B 00 02 00 0C 00 49 00 44 00 47 ._.D.K.. ...I.D.G [0E0] 00 5F 00 44 00 4B 00 01 00 10 00 44 00 42 00 53 ._.D.K.. ...D.B.S [0F0] 00 45 00 52 00 56 00 45 00 52 00 03 00 10 00 64 .E.R.V.E .R.....d [100] 00 62 00 73 00 65 00 72 00 76 00 65 00 72 00 00 .b.s.e.r .v.e.r.. [110] 00 00 00 57 00 69 00 6E 00 64 00 6F 00 77 00 73 ...W.i.n .d.o.w.s [120] 00 20 00 35 00 2E 00 30 00 00 00 57 00 69 00 6E . .5...0 ...W.i.n [130] 00 64 00 6F 00 77 00 73 00 20 00 32 00 30 00 30 .d.o.w.s . .2.0.0 [140] 00 30 00 20 00 4C 00 41 00 4E 00 20 00 4D 00 61 .0. .L.A .N. .M.a [150] 00 6E 00 61 00 67 00 65 00 72 00 00 00 .n.a.g.e .r... Got challenge flags: Got NTLMSSP neg_flags=0x60890215 NTLMSSP_NEGOTIATE_UNICODE NTLMSSP_REQUEST_TARGET NTLMSSP_NEGOTIATE_SIGN NTLMSSP_NEGOTIATE_NTLM NTLMSSP_NEGOTIATE_NTLM2 NTLMSSP_CHAL_TARGET_INFO NTLMSSP_NEGOTIATE_128 NTLMSSP_NEGOTIATE_KEY_EXCH NTLMSSP: Set final flags: Got NTLMSSP neg_flags=0x60080215 NTLMSSP_NEGOTIATE_UNICODE NTLMSSP_REQUEST_TARGET NTLMSSP_NEGOTIATE_SIGN NTLMSSP_NEGOTIATE_NTLM NTLMSSP_NEGOTIATE_NTLM2 NTLMSSP_NEGOTIATE_128 NTLMSSP_NEGOTIATE_KEY_EXCH NTLMSSP challenge set by NTLM2 challenge is: [000] 57 FA 2A B8 7F 89 2D C4 W?*?..-? NTLMSSP Sign/Seal - Initialising with flags: Got NTLMSSP neg_flags=0x60080215 NTLMSSP_NEGOTIATE_UNICODE NTLMSSP_REQUEST_TARGET NTLMSSP_NEGOTIATE_SIGN NTLMSSP_NEGOTIATE_NTLM NTLMSSP_NEGOTIATE_NTLM2 NTLMSSP_NEGOTIATE_128 NTLMSSP_NEGOTIATE_KEY_EXCH write_socket(4,258) write_socket(4,258) wrote 258 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=20230 smb_uid=2049 smb_mid=3 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=20230 smb_uid=2049 smb_mid=3 smt_wct=0 smb_bcc=0 SPENGO login failed: Logon failure lang_tdb_init: /usr/lib/samba/en_US.iso885915.msg: No such file or directory session setup failed: NT_STATUS_LOGON_FAILURE