ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Configuration Connection from Linux to Windows for SES

Configuration Connection from Linux to Windows for SES

原创 Linux操作系统 作者:赵宇 时间:2009-05-21 16:59:04 0 删除 编辑

  If you would want to build a source in SES (security enterprise search),you must sure that serce hold ses can access aim servce with this URL.So if you want to acess or crawler files of windows searver,we need to mount sharing directory of windows to Linux Server.

   The Following Step is :

  
$ smbclient -L ip_address
Password:
Anonymous login successful
Domain=[CN-ORACLE] S=[Windows 5.1] Server=[Windows 2000 LAN Manager]

        Sharename       Type      Comment
        ---------       ----      -------
Error returning browse list: NT_STATUS_ACCESS_DENIED
session request to ip_adress failed (Called name not present)
session request to 10 failed (Called name not present)
Anonymous login successful
Domain=[CN-ORACLE] S=[Windows 5.1] Server=[Windows 2000 LAN Manager]

        Server               Comment
        ---------            -------
        ORDKM-CN             name - China

        Workgroup            Master
        ---------            -------
        CN                     ORDKM-CN


psedb->smbclient '\\ip_address\gc-ordsc-tech-km' -U ordsc
Password:
Domain=[ordkm-cn] S=[Windows 5.1] Server=[Windows 2000 LAN Manager]
smb: \> help
?              altname        archive        blocksize      cancel        
case_sensitive cd             chmod          chown          del           
dir            du             exit           get            hardlink      
help           history        lcd            link           lowercase     
ls             mask           md             mget           mkdir         
more           mput           newer          open           print         
printmode      prompt         put            pwd            q             
queue          quit           rd             recurse        reget         
rename         reput          rm             rmdir          setmode       
stat           symlink        tar            tarmode        translate     
vuid           logon          !             
smb: \> dir
  .                                   D        0  Tue May 12 11:44:41 2009
  ..                                  D        0  Tue May 12 11:44:41 2009
  Case Study                          D        0  Wed Mar  4 15:53:09 2009
  KM Management Directory             D        0  Wed May 20 16:04:07 2009
  Knowledge Sharing & Events          D        0  Tue Apr 28 13:58:18 2009
  Products                            D        0  Wed Mar  4 11:08:28 2009
  Soft Skills                         D        0  Wed Mar  4 11:06:27 2009

                55454 blocks of size 2097152. 20940 blocks available
smb: \>


[root@psedb ~]# smbmount //ip_address/gc-ordsc-tech-km /u01/ses_windows  -o username=ordsc
Password:
[root@psedb ~]# df -k
Filesystem             1K-block        used     free   used% mount
/dev/sda2             16816704   3725784  12236664  24% /
/dev/sda1               139985     14125    118633  11% /boot
none                   1032312         0   1032312   0% /dev/shm
/dev/sda5             55455580   5197592  47440992  10% /u01
//ip_adress/gc-ordsc-tech-km
                     113569792  70684672  42885120  63% /u01/ses_windows


[root@psedb ses_windows]# ls
Case Study  KM Management Directory  Knowledge Sharing & Events  Products  Soft Skills
[root@psedb ses_windows]# ls -l
+Ü++++ 20
drwxr-xr-x  1 root root 4096  3++  4 15:53 Case Study
drwxr-xr-x  1 root root 4096  5++ 20 16:04 KM Management Directory
drwxr-xr-x  1 root root 4096  4++ 28 13:58 Knowledge Sharing & Events
drwxr-xr-x  1 root root 4096  3++  4 11:08 Products
drwxr-xr-x  1 root root 4096  3++  4 11:06 Soft Skills


 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/175005/viewspace-600697/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
暂无介绍

注册时间:2007-12-25

  • 博文量
    73
  • 访问量
    893810