Configuration Connection from Linux to Windows for SES
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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Converting Oracle Database from Linux to Windows using RMANOracleDatabaseLinuxWindows
- Converting Oracle Database from Windows to Linux using RMANOracleDatabaseWindowsLinux
- MySQL異常刨析:ata source rejected establishment of connection, message from server: “Too many connectionMySqlServer
- Example of SQL Linux Windows Authentication configuration using Managed Service AccountsSQLLinuxWindows
- checkboxList operate in windows fromWindows
- DHCPINFORM requests from Windows clientsORMWindowsclient
- Get your Windows product key from a scriptWindows
- Connect SQL Server from Linux Client using Windows Authentication and troubleshoot stepsSQLServerLinuxclientWindows
- Ness SES技術長:最終,Hadoop老了!Hadoop
- Linux From Scratch(介紹)Linux
- ConnectionManager.getConnection() failed to obtain a connection after 11 retries. The exception fromAIException
- Network Connection Lost When Windows 8 Goes To SleepWindowsGo
- awsec2使用ses郵件服務的坑
- Powershell script to install Windows Updates (msu) from folderWindows
- Windows遠端桌面的使用(Remote Desktop Connection)WindowsREM
- Red Hat linux iSCSI initiator configuration(zt)Linux
- Windows 8上使用SQL 2012 Configuration ManagerWindowsSQL
- Linux系統制定,Linux From Scratch 7.1 釋出Linux
- WINNT: How to Remove Oracle Fail Safe From a Windows NT Cluster ServerREMOracleAIWindowsServer
- Linux From Scratch 7.6 釋出,構建自己的 LinuxLinux
- UDEV SCSI Rules Configuration for ASM in Oracle Linux 5 and 6devASMOracleLinux
- 如何快速提升ftp的上傳速度_from_windows_to_solarisFTPWindows
- Connection
- move linux os from disk A to disk B with 0 lossLinux
- [20201110]How to get the Data Guard broker configuration from a SQL query.txtSQL
- oracle listener錯誤Linux Error: 111: Connection refusedOracleLinuxError
- ssh連線Linux收到The remote system refused the connection報錯LinuxREM
- linux log中大量 Received SNMP packet(s) from UDPLinuxUDP
- sqlserver ConnectionSQLServer
- Linux --windows vsLinuxWindows
- java.net.ConnectException: Connection refused (Connection refused)JavaException
- Linux啟動tomcat後執行shutdown.sh關閉時出現異常:Connection refused (Connection refused)LinuxTomcat
- TNS-12547,Linux Error: 104: Connection reset by peerLinuxError
- TNS-12547 Linux Error: 104: Connection reset by peerLinuxError
- redis configurationRedis
- mysql connection refusedMySql
- XDMCP connection failsAI
- Step by Step Guide on converting a database from Windows to AIX-1373780.1GUIIDEDatabaseWindowsAI