[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: problem mounting NT share



I've attached the debugging information...  Not sure what to include, so
I'm including everything.  

"s2.txt" is debugging for the share that I can mount, and "s3.txt" is
the debugging info for the share I cannot mount.  The response I get is:

session setup failed: ERRDOS - ERRnoaccess (Access denied.)
SMB connection failed

What seems strange to me is that from Windows98 both shares are mount
without problems using the same username and password.

Thanks again.
-- 

Brian J. Stults
Doctoral Candidate
Department of Sociology
University at Albany - SUNY
Phone: (518) 442-4652  Fax: (518) 442-4936
Web: http://www.albany.edu/~bs7452



aphro wrote:
> 
> turn up debugging in samba and include it in your post it makes it VERY
> difficult to debug with just "it wont work" in the email.
> 
> nate
> 
> On Thu, 2 Mar 2000, Brian J. Stults wrote:
> 
> bs7452 >My university just switched from Novell servers to NT.  There are two
> bs7452 >servers containing discs to which I have access.  One of them gave me no
> bs7452 >trouble at all.  I used this command to mount the shared drive:
> bs7452 >
> bs7452 >smbmount //server1/shared /mountpoint.
> bs7452 >
> bs7452 >However, I could not get the drive on the other server mounted.  My
> bs7452 >username and password are identical for both, and I can mount both
> bs7452 >easily from Windows98.  The sysadmin knows nothing of linux, but did
> bs7452 >suggest one possible difference between the two servers that might be
> bs7452 >causing the problem.  He said the first server, which I don't have
> bs7452 >trouble with, is a "domain hosted" server, or something like that.
> bs7452 >While the one that I am having trouble with is a "stand alone" server,
> bs7452 >or something like that.  Sorry, but I know absolutely nothing about
> bs7452 >Windows NT.  He also suggested that I explicitly pass my username and
> bs7452 >that I use GROUPNAME/USERNAME as my username rather then simply
> bs7452 >USERNAME.  That didn't work, but I thought it might give you a better
> bs7452 >idea of what he thinks the problem is.
> bs7452 >
> bs7452 >Any ideas?  Thanks.
mount.smbfs started (version 2.0.6)
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
doing parameter message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &
doing parameter netbios name = ss3f129
doing parameter passwd program = /usr/bin/passwd
doing parameter workgroup = loganlab
doing parameter config file = /etc/samba/smb.conf
doing parameter printer = lp
doing parameter printing = bsd
doing parameter printcap name = /etc/printcap
doing parameter security = SERVER
doing parameter load printers = True
doing parameter hosts allow = 169.226.108.130 169.226.108.129 169.226.108.142 169.226.108.98 169.226.108.92 169.226.108.147
doing parameter wins server = 169.226.25.32
doing parameter guest account = nobody
doing parameter log file = /var/log/samba-log.%m
doing parameter lock directory = /var/lock/samba
doing parameter encrypt passwords = yes
pm_process() returned Yes
load_client_codepage: loading codepage 850.
added interface ip=169.226.108.129 bcast=169.226.108.255 nmask=255.255.255.0
resolve_lmhosts: Attempting lmhosts lookup for name s2_casnet<0x20>
getlmhostsent: lmhost entry: 169.226.108.92 ss3f092 
getlmhostsent: lmhost entry: 169.226.108.98 ss3f098 
getlmhostsent: lmhost entry: 169.226.108.130 ss3f130 
getlmhostsent: lmhost entry: 169.226.108.129 ss3f129 
getlmhostsent: lmhost entry: 169.226.108.142 ss3f142 
resolve_hosts: Attempting host lookup for name s2_casnet<0x20>
resolve_wins: Attempting wins lookup for name s2_casnet<0x20>
bind succeeded on port 0
nmb packet from 169.226.25.32(137) header: id=9609 opcode=Query(0) response=No
    header: flags: bcast=No rec_avail=No rec_des=Yes trunc=No auth=No
    header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=0
    question: q_name=S2_CASNET<20> q_type=32 q_class=1
Sending a packet of len 50 to (169.226.25.32) on port 137
Received a packet of len 62 from (169.226.25.32) port 137
nmb packet from 169.226.25.32(137) header: id=9609 opcode=Query(0) response=Yes
    header: flags: bcast=No rec_avail=Yes rec_des=Yes trunc=No auth=Yes
    header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
    answers: nmb_name=S2_CASNET<20> rr_type=32 rr_class=1 ttl=0
    answers   0 char @.....   hex 4000A9E21916
Got a positive name query response from 169.226.25.32 ( 169.226.25.22 )
Connecting to 169.226.25.22 at port 139
Sent session request
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
size=91
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=3520
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]=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]=58368 (0xE400)
smb_vwv[12]=23777 (0x5CE1)
smb_vwv[13]=30156 (0x75CC)
smb_vwv[14]=49028 (0xBF84)
smb_vwv[15]=11265 (0x2C01)
smb_vwv[16]=2049 (0x801)
smb_bcc=22
size=91
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=3520
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]=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]=58368 (0xE400)
smb_vwv[12]=23777 (0x5CE1)
smb_vwv[13]=30156 (0x75CC)
smb_vwv[14]=49028 (0xBF84)
smb_vwv[15]=11265 (0x2C01)
smb_vwv[16]=2049 (0x801)
smb_bcc=22

size=82
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=3520
smb_uid=2051
smb_mid=1
smt_wct=3
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=82 (0x52)
smb_vwv[2]=0 (0x0)
smb_bcc=41
size=82
smb_com=0x73
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=3520
smb_uid=2051
smb_mid=1
smt_wct=3
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=82 (0x52)
smb_vwv[2]=0 (0x0)
smb_bcc=41
 session setup ok
size=49
smb_com=0x75
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=2052
smb_pid=3520
smb_uid=2051
smb_mid=1
smt_wct=3
smb_vwv[0]=255 (0xFF)
smb_vwv[1]=49 (0x31)
smb_vwv[2]=1 (0x1)
smb_bcc=8
 tconx ok
mount.smbfs started (version 2.0.6)
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
doing parameter message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &
doing parameter netbios name = ss3f129
doing parameter passwd program = /usr/bin/passwd
doing parameter workgroup = loganlab
doing parameter config file = /etc/samba/smb.conf
doing parameter printer = lp
doing parameter printing = bsd
doing parameter printcap name = /etc/printcap
doing parameter security = SERVER
doing parameter load printers = True
doing parameter hosts allow = 169.226.108.130 169.226.108.129 169.226.108.142 169.226.108.98 169.226.108.92 169.226.108.147
doing parameter wins server = 169.226.25.32
doing parameter guest account = nobody
doing parameter log file = /var/log/samba-log.%m
doing parameter lock directory = /var/lock/samba
doing parameter encrypt passwords = yes
pm_process() returned Yes
load_client_codepage: loading codepage 850.
added interface ip=169.226.108.129 bcast=169.226.108.255 nmask=255.255.255.0
resolve_lmhosts: Attempting lmhosts lookup for name s3_casnet<0x20>
getlmhostsent: lmhost entry: 169.226.108.92 ss3f092 
getlmhostsent: lmhost entry: 169.226.108.98 ss3f098 
getlmhostsent: lmhost entry: 169.226.108.130 ss3f130 
getlmhostsent: lmhost entry: 169.226.108.129 ss3f129 
getlmhostsent: lmhost entry: 169.226.108.142 ss3f142 
resolve_hosts: Attempting host lookup for name s3_casnet<0x20>
resolve_wins: Attempting wins lookup for name s3_casnet<0x20>
bind succeeded on port 0
nmb packet from 169.226.25.32(137) header: id=9564 opcode=Query(0) response=No
    header: flags: bcast=No rec_avail=No rec_des=Yes trunc=No auth=No
    header: rcode=0 qdcount=1 ancount=0 nscount=0 arcount=0
    question: q_name=S3_CASNET<20> q_type=32 q_class=1
Sending a packet of len 50 to (169.226.25.32) on port 137
Received a packet of len 62 from (169.226.25.32) port 137
nmb packet from 169.226.25.32(137) header: id=9564 opcode=Query(0) response=Yes
    header: flags: bcast=No rec_avail=Yes rec_des=Yes trunc=No auth=Yes
    header: rcode=0 qdcount=0 ancount=1 nscount=0 arcount=0
    answers: nmb_name=S3_CASNET<20> rr_type=32 rr_class=1 ttl=0
    answers   0 char @.....   hex 4000A9E21917
Got a positive name query response from 169.226.25.32 ( 169.226.25.23 )
Connecting to 169.226.25.23 at port 139
Sent session request
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
size=91
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=3507
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]=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]=12800 (0x3200)
smb_vwv[12]=10433 (0x28C1)
smb_vwv[13]=30068 (0x7574)
smb_vwv[14]=49028 (0xBF84)
smb_vwv[15]=11265 (0x2C01)
smb_vwv[16]=2049 (0x801)
smb_bcc=22
size=91
smb_com=0x72
smb_rcls=0
smb_reh=0
smb_err=0
smb_flg=136
smb_flg2=1
smb_tid=0
smb_pid=3507
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]=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]=12800 (0x3200)
smb_vwv[12]=10433 (0x28C1)
smb_vwv[13]=30068 (0x7574)
smb_vwv[14]=49028 (0xBF84)
smb_vwv[15]=11265 (0x2C01)
smb_vwv[16]=2049 (0x801)
smb_bcc=22

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=3507
smb_uid=0
smb_mid=1
smt_wct=0
smb_bcc=0
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=3507
smb_uid=0
smb_mid=1
smt_wct=0
smb_bcc=0

Reply to: