cancel
Showing results for 
Search instead for 
Did you mean: 

CIFS on Win2003

lawndart
Champ in-the-making
Champ in-the-making
I'm having issues with the CIFS share on a windows 2003 server. If I explicitly add the ip of the share to the host file on the client machine, I can ping the share from another machine, otherwise I get a nice "host not found". In the host file case connecting to it gives a "No Network Provider accepted the given network path" error on the client, and the following in the server logs for a random number of times:

16:30:36,352 DEBUG [org.alfresco.smb.protocol] Winsock NetBIOS session request received, caller=[MUON:WorkStation,Unique,]
16:30:36,352 DEBUG [org.alfresco.smb.protocol] Waiting for Win32 NetBIOS session request (Winsock) …
16:30:36,352 DEBUG [org.alfresco.smb.protocol] Server session started
16:30:36,352 DEBUG [org.alfresco.smb.protocol] ## Session closing - Remote disconnect

I ran nbtstat from the client machine, and get similar results from nbtstat -a <servername> and nbtstat -A <serverIP>, and a big nothing from nbtstat -a <sharename>



    <serverName>           <00>  UNIQUE      Registered
    PNL                            <00>  GROUP       Registered
    <serverName>           <20>  UNIQUE      Registered
    PNL                            <1E>  GROUP       Registered
    <shareName>            <20>  UNIQUE      Registered
    <shareName>            <00>  UNIQUE      Registered


Here is the relevant portions of the file-server-custom.xml

<config evaluator="string-compare" condition="CIFS Server" replace="true">
         <host name="${localname}_a" domain="pnl.gov"/>
         <comment>Alfresco CIFS Server</comment>
  
         <!– Set to the broadcast mask for the subnet –>
         <broadcast>130.20.108.255</broadcast>
  
         <!– Use Java socket based NetBIOS over TCP/IP and native SMB on linux –>
         <tcpipSMB platforms="linux,solaris,macosx"/>
         <netBIOSSMB platforms="linux,solaris,macosx"/>
         <hostAnnounce interval="5"/>
  
         <!– Use Win32 NetBIOS interface on Windows –>
         <Win32NetBIOS/>
         <Win32Announce interval="5"/>
  
         <sessionDebug flags="Errors,Negotiate,Socket,NetBIOS,Errors"/>
   </config>


Any idea what to check out next?

Lawndart (edited to add more info)
1 REPLY 1

invantix
Champ in-the-making
Champ in-the-making
Did you find the solution?
I am able to connect from clients bu sometime the share just dissapears with the same error you describe.  I have to restart the server to get things back to normal.  It only happens for some users so I an wordering if it is a security issue.  Here is what is in the log for a user trying to connect. 


08:03:09,948 DEBUG [alfresco.smb.protocol] Winsock NetBIOS session request received, caller=[MFANTINA:WorkStation,Unique,]
08:03:09,948 DEBUG [alfresco.smb.protocol] Waiting for Win32 NetBIOS session request (Winsock) …
08:03:09,948 DEBUG [alfresco.smb.protocol] Server session started
08:03:09,963 DEBUG [alfresco.smb.protocol] ## Session closing - Remote disconnect
08:03:09,963 DEBUG [alfresco.smb.protocol] State changed to NBHANGUP
08:03:09,963 DEBUG [alfresco.smb.protocol] Cleanup session, vcircuits=0, changeNotify=0
08:03:09,963 DEBUG [alfresco.smb.protocol] Server session closed