How do I enable the CIFS/SMB/Windows Share server functionality of CRX?
To enable the SmbServlet, do the following:
crx-quickstart/server/runtime/0/_crx/WEB-INF/web.xml
<!--
<servlet>
<servlet-name>SmbServlet</servlet-name>
<servlet-class>com.day.crx.smb.SmbServlet</servlet-class>
<init-param>
<param-name>ip-address</param-name>
<param-value>localhost</param-value>
</init-param>
<init-param>
<param-name>port</param-name>
<param-value>8445</param-value>
</init-param>
<init-param>
<param-name>share</param-name>
<param-value>crx</param-value>
</init-param>
<load-on-startup>7</load-on-startup>
</servlet>
-->
sudo java -jar crx-quickstart/opt/helpers/proxy.jar localhost 8445 139 -q &
sudo java -jar crx-quickstart/opt/helpers/proxy.jar localhost 8445 445 -q &
crx-quickstart/opt/helpers/cqsvc.exe -i -n "CRX_CIFS_Proxy_139" -x "cmd.exe" -a "/Q /C java -jar crx-quickstart/opt/helpers/proxy.jar localhost 8445 139 -q"
crx-quickstart/opt/helpers/cqsvc.exe -i -n "CRX_CIFS_Proxy_445" -x "cmd.exe" -a "/Q /C java -jar crx-quickstart/opt/helpers/proxy.jar localhost 8445 445 -q"
crx-quickstart/opt/helpers/cqsvc.exe -u -n "CRX_CIFS_Proxy_139"
crx-quickstart/opt/helpers/cqsvc.exe -u -n "CRX_CIFS_Proxy_445"
Note: See here for further details on setting this up on a Windows server
To connect from a windows computer that is part of a domain then do the following:
\\<CRX server hostname or ip>\crx
in the Folder: box
Now the CQ5 CIFS share should be available as a mapped drive
CRX 1.X, 2.X
Sign in to your account