jlan_config.xml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?xml version="1.0" standalone="no"?>
  2. <!-- <!DOCTYPE jlanserver SYSTEM "jlanserver.dtd"> -->
  3. <jlanserver>
  4. <servers>
  5. <SMB/>
  6. <noFTP/>
  7. <noNFS/>
  8. </servers>
  9. <SMB>
  10. <host name="HOME-PC" domain="WORKGROUP">
  11. <broadcast>255.255.255.255</broadcast>
  12. <smbdialects>LanMan,NT</smbdialects>
  13. <comment>Alfresco JLAN Server</comment>
  14. <!-- To run the server using a non-root account on linux, Mac OS X, Solaris -->
  15. <netBIOSSMB sessionPort="28276" namingPort="28274" datagramPort="28275"/>
  16. <tcpipSMB port="28582" ipv6="disabled"/>
  17. <HostAnouncerPort>28275</HostAnouncerPort>
  18. <hostAnounce interval='1'/>
  19. </host>
  20. <authenticator type="local">
  21. <mode>SHARE</mode>
  22. <allowGuest/>
  23. <Debug/>
  24. </authenticator>
  25. </SMB>
  26. <debug>
  27. <output>
  28. <class>org.alfresco.jlan.debug.ConsoleDebug</class>
  29. <append/>
  30. </output>
  31. </debug>
  32. <shares>
  33. <diskshare name="JLAN" comment="Test share">
  34. <driver>
  35. <class>org.alfresco.jlan.smb.server.disk.JavaFileDiskDriver</class>
  36. <LocalPath>/Bla</LocalPath>
  37. </driver>
  38. </diskshare>
  39. </shares>
  40. <security>
  41. <JCEProvider>cryptix.jce.provider.CryptixCrypto</JCEProvider>
  42. <authenticator>
  43. <class>org.alfresco.jlan.server.auth.LocalAuthenticator</class>
  44. <mode>USER</mode>
  45. <allowGuest/>
  46. </authenticator>
  47. <users>
  48. <user name="jlansrv">
  49. <password>jlan</password>
  50. <comment>System administrator</comment>
  51. <administrator/>
  52. </user>
  53. <user name="normal">
  54. <password>normal</password>
  55. </user>
  56. </users>
  57. </security>
  58. </jlanserver>