AnsweredAssumed Answered

Problems setting up JLAN SMB with Win32/NetBIOS

Question asked by apogodin on May 21, 2008
Hello everybody,

I am trying to configure JLAN so it uses Win32/NetBIOS to announce its shared drives.
Is it possible to set up SMB so that both old Windows share and Jlan share are accessible through the same host name?

Suppose my computer name is FIGURA. FIGURA workstation initially exposes a shared folder //FIGURA/public.
I started JLAN service and specified <host name="FIGURA" …> together with a new folder /myJlanFolder.
So I am expecting either to see two folders under //FIGURA i.e.
//FIGURA/public
//FIGURA/myJlanFolder

or my new settings
//FIGURA/myJlanFolder

But instead, I see only //FIGURA/public.

In order to expose /myJlanFolder I need to provide a new host name i.e. <host name="MY_NEW_HOST" …>
But after that:
user has to type //MY_NEW_HOST to see /myJlanFolder

Config file attached

Best regards,
Andre


<?xml version="1.0" standalone="no"?>
<!– <!DOCTYPE jlanserver SYSTEM "jlanserver.dtd"> –>
<jlanserver>
<servers>
<SMB/>
<noFTP/>
<noNFS/>
</servers>

<SMB>
<host name="FIGURA" domain="WORKGROUP">
<broadcast>192.168.1.255</broadcast>
<smbdialects>LanMan,NT</smbdialects>
<comment>JLAN</comment>

<Win32NetBIOS/>
<Win32Announce interval="5"/>


<!– Requires running the server using the root account –>
<!–<netBIOSSMB platforms="linux,macosx,solaris"/>
<tcpipSMB platforms="linux,macosx,solaris"/>–>


<!–<hostAnnounce interval="5"/>–>
</host>
<sessionDebug flags="Negotiate,Socket,Tree"/>

<authenticator type="local">
<mode>USER</mode>
<NOallowGuest/>
<Debug/>
</authenticator>

</SMB>

<FTP>
<port>21</port>
<allowAnonymous/>
<debug flags="File,Search,Error,DataPort,Directory"/>
</FTP>

<NFS>
<enablePortMapper/>
<debug flags="File,FileIO"/>
</NFS>

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

<shares>
<diskshare name="myJlanFolder" comment="myJlanFolder">
<driver>
<class>org.alfresco.jlan.smb.server.disk.JavaFileDiskDriver</class>
<LocalPath>c:\myJlanFolder</LocalPath>
</driver>
</diskshare>
<diskshare name="myJlanFolder2" comment="myJlanFolder2">
<driver>
<class>org.alfresco.jlan.smb.server.disk.JavaFileDiskDriver</class>
<LocalPath>C:\myJlanFolder2</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="jlansrv">
<password>jlan</password>
<comment>System administrator</comment>
<administrator/>
</user>
<user name="normal">
<password>normal</password>
</user>
</users>
</security>
</jlanserver>

Outcomes