Hi all After I joined domain, I want to mount a share using domain account, the following is my command: smbmount //172.23.26.83/share1 /tmp/sp1/ -o username=administrator,password=password What I got was : 3231: tree connect failed: ERRDOS - ERRnoaccess (Access denied.) SMB connection failed
The detail debug messages are as follows: mount.smbfs started (version 3.0.23d) added interface ip=172.23.26.83 bcast=172.23.26.255 nmask=255.255.255.0 Connecting to 172.23.26.83 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 TCP_KEEPCNT = 9 socket option TCP_KEEPIDLE = 7200 socket option TCP_KEEPINTVL = 75 socket option IPTOS_LOWDELAY = 0 socket option IPTOS_THROUGHPUT = 0 socket option SO_SNDBUF = 50160 socket option SO_RCVBUF = 87378 socket option SO_SNDLOWAT = 1 socket option SO_RCVLOWAT = 1 socket option SO_SNDTIMEO = 0 socket option SO_RCVTIMEO = 0 3231: session request ok write_socket(3,183) write_socket(3,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=49153 smb_tid=0 smb_pid=3231 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]= 65 (0x41) smb_vwv[ 5]= 0 (0x0) smb_vwv[ 6]= 256 (0x100) smb_vwv[ 7]=40960 (0xA000) smb_vwv[ 8]= 12 (0xC) smb_vwv[ 9]=64768 (0xFD00) smb_vwv[10]=33011 (0x80F3) smb_vwv[11]= 0 (0x0) smb_vwv[12]=53722 (0xD1DA) smb_vwv[13]=42882 (0xA782) smb_vwv[14]=50970 (0xC71A) smb_vwv[15]= 8193 (0x2001) smb_vwv[16]= 2302 (0x8FE) smb_bcc=16 [000] 69 A0 DB 89 48 E0 65 C6 4E 00 41 00 53 00 00 00 i...H.e. N.A.S... size=85 smb_com=0x72 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=49153 smb_tid=0 smb_pid=3231 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]= 65 (0x41) smb_vwv[ 5]= 0 (0x0) smb_vwv[ 6]= 256 (0x100) smb_vwv[ 7]=40960 (0xA000) smb_vwv[ 8]= 12 (0xC) smb_vwv[ 9]=64768 (0xFD00) smb_vwv[10]=33011 (0x80F3) smb_vwv[11]= 0 (0x0) smb_vwv[12]=53722 (0xD1DA) smb_vwv[13]=42882 (0xA782) smb_vwv[14]=50970 (0xC71A) smb_vwv[15]= 8193 (0x2001) smb_vwv[16]= 2302 (0x8FE) smb_bcc=16 [000] 69 A0 DB 89 48 E0 65 C6 4E 00 41 00 53 00 00 00 i...H.e. N.A.S... write_socket(3,142) write_socket(3,142) wrote 142 got smb length of 64 size=64 smb_com=0x73 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=16385 smb_tid=0 smb_pid=3231 smb_uid=100 smb_mid=2 smt_wct=3 smb_vwv[ 0]= 255 (0xFF) smb_vwv[ 1]= 0 (0x0) smb_vwv[ 2]= 1 (0x1) smb_bcc=23 [000] 55 6E 69 78 00 53 61 6D 62 61 20 33 2E 30 2E 32 Unix.Sam ba 3.0.2 [010] 31 63 00 4E 41 53 00 1c.NAS. 3231: session setup ok write_socket(3,76) write_socket(3,76) wrote 76 got smb length of 35 size=35 smb_com=0x75 smb_rcls=1 smb_reh=0 smb_err=5 smb_flg=136 smb_flg2=1 smb_tid=0 smb_pid=3231 smb_uid=100 smb_mid=3 smt_wct=0 smb_bcc=0 3231: tree connect failed: ERRDOS - ERRnoaccess (Access denied.) SMB connection failed The cifs mount also can't work: mount error 13 = Permission denied Refer to the mount.cifs(8) manual page (e.g.man mount.cifs) Could someone help me? Is there's a solution other than add anonymous logon to per-window2 2000 security group (because security issue.)? Thanks a lot, Latrell. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Latrell Wang 王獻綱 Sent: Wednesday, December 06, 2006 2:51 PM To: samba@lists.samba.org Subject: [Samba] Anonymous access in windows 2003 sp1 Hi all: As far as I know, win2k3 sp1 disable anonymous access by default. It will remove user “anonymous logon” from pre-windows 2000 compatible access group. Under such circumstance, smbmount will not success because anonymous access will be blocked. One way to solve the problem is to re-add anonymous logon to pre-windows 2000 compatible access group. However, it seems to be a security hole. Does anyone encounter the same problem? How do you get around the problem? My samba version is 3.0.21c. Thanks for any replies, Latrell -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba