
The localhost/127.0.0.1 configuration does not work under WinXP SP2 due to security
changes introduced by Microsoft. See the Win32 NetBIOS solution below.
If your network is configured to use WINS for NetBIOS naming use the following
configuration :-
<SMB>
<host name=”JLANSRV” domain=”ALFRESCO”>
<netBIOSSMB/>
<broadcast>192.168.1.255</broadcast>
<WINS>
<primary>192.168.1.10</primary>
</WINS>
</host>
</SMB>
3.3.3 Win32 NetBIOS
The Win32 Netbios API allows the JLAN Server code to use the Windows NetBIOS over
TCP/IP code to publish the server name, accept incoming sessions and announce the
server to Network Neighborhood.
Using the Win32 Netbios API allows the JLAN Server to co-exist with the Windows file
server without requiring changes to the network configuration. The JLAN Server is
accessible via the network and from the localhost.
The following SMB/CIFS XML configuration section is the minimum configuration
required to enable JLAN Server Win32 NetBIOS support :-
<SMB>
<host name=”JLANSRV” domain=”ALFRESCO”>
<Win32NetBIOS/>
</host>
</SMB>
If there are multiple network adapters in the server system you may need to specify
the NetBIOS logical adapter, known as a
LANA.
The easiest way to determine the
available LANAs is to enable the 'Socket' debug level using the <sessionDebug
flags=”...”/> setting within the <SMB> configuration section, this will dump out a list
of the available LANAs.
The following configuration section shows how to use a particular LANA for the Win32
NetBIOS interface :-
<SMB>
<host name=”JLANSRV” domain=”ALFRESCO”>
<Win32NetBIOS lana=”6”/>
</host>
</SMB>
To configure the Win32 NetBIOS interface so that the JLAN Server is only accessible to
a particular host the
accept
configuration attribute is used :-
<SMB>
<host name=”JLANSRV” domain=”ALFRESCO”>
<Win32NetBIOS accept=”MYPC”/>
</host>
</SMB>
With the above configuration the JLAN Server Win32 NetBIOS interface will only
accept connections from the host with a NetBIOS name of
MYPC,
this could be the
localhost or a network host.
To have the JLAN Server appear under Network Neighborhood when using the Win32
NetBIOS interface use the following configuration settings :-
45