Linux挂载windows 共享目录

     0.000047 statfs("/proc/sys/fs/binfmt_misc", {f_type=0x42494e4d, f_bsize=4096, f_blocks=0, f_bfree=0, f_bavail=0, f_files=0, f_ffree=0, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0
     0.000045 statfs("/t"

HZ-TEST-TOMCAT:/root# smbclient -U administrator -L  //192.168.32.7/deploy
Enter administrator's password: 
Domain=[FDSERVER] OS=[Windows Server 2012 Standard 9200] Server=[Windows Server 2012 Standard 6.2]

	Sharename       Type      Comment
	---------       ----      -------
	ADMIN$          Disk      远程管理
	C$              Disk      默认共享
	D$              Disk      默认共享
	E$              Disk      默认共享
	F$              Disk      默认共享
	IPC$            IPC       远程 IPC
	Public          Disk      Zhongjun Captial
session request to 192.168.32.7 failed (Called name not present)
session request to 192 failed (Called name not present)
session request to *SMBSERVER failed (Called name not present)
NetBIOS over TCP disabled -- no workgroup available



mount -t cifs //192.168.32.7/Public /t -o username=Administrator,password=xxxx,rw,dir_mode=0777,file_mode=0777

你可能感兴趣的:(Linux挂载windows 共享目录)