AnsweredAssumed Answered

JLAN SMB Server config issue

Question asked by roxon on Dec 19, 2014
Hello, im trying to setup a very simple SMB server using the Alfresco JLAN 5.0. I want to configure the server to use a basic, local authentication with a simple user, who should be allowed to read and write.

The server starts correctly, but once I connect using my windows client i get a message that says that it couldnt connect correctly. Heres my file:


<?xml version="1.0" standalone="no"?>
<!– <!DOCTYPE jlanserver SYSTEM "jlanserver.dtd"> –>

<jlanserver>
  <servers>
    <SMB/>
    <noFTP/>
    <noNFS/>
  </servers>
   
  <SMB>
    <host name="JLANSRV" domain="boxsrv">
      <broadcast>192.168.2.255</broadcast>
      <smbdialects>LanMan,NT</smbdialects>
      <comment>Alfresco JLAN Server</comment>

      <Win32NetBIOS/>
      <Win32Announce interval="5"/>
     
      <netBIOSSMB platforms="linux,windows"/>
      <tcpipSMB platforms="windows"/>
     
      <hostAnnounce interval="5"/>
    </host>
    <sessionDebug flags="Negotiate,Socket,Tree"/>
   
      <authenticator type="local">
         <mode>USER</mode>
         <allowGuest/>
      <Debug/>
      </authenticator>
   
  </SMB>

  <debug>
    <output>
      <class>org.alfresco.jlan.debug.ConsoleDebug</class>
      <logFile>jlansrv.log</logFile>
      <append/>
    </output>
  </debug>

  <shares>
    <diskshare name="JLAN" comment="Test share">
      <driver>
        <class>org.alfresco.jlan.smb.server.disk.JavaFileDiskDriver</class>
        <LocalPath>/home/boxsrv/jlan-5/sharedDirectory/</LocalPath>
      </driver>
    </diskshare>
  </shares>      

  <security>
    <JCEProvider>cryptix.jce.provider.CryptixCrypto</JCEProvider>
    <authenticator>
      <class>org.alfresco.jlan.server.auth.LocalAuthenticator</class>
      <mode>USER</mode>
      <allowGuest/>
    </authenticator>

    <users>
      <user name="jlan">
        <password>jlan</password>
        <comment>System administrator</comment>
        <administrator/>
      </user>
    </users>
  </security>

</jlanserver>


Thank you very much!

Outcomes