cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping to CIFS share - do I need to do nbtstat -a always?

shikarishambu
Champ in-the-making
Champ in-the-making
I am trying to connect to an Alfresco 3.2 (running on Windows 2003 server) space from my Windows XP machine through a CIFS share.

It looks like I have to run
nbtstat - a <<ALFRESCO_SERVER_IP

every time I restart my machine to connect to the share. Is there a way to persist this information and not have to run the nbtstat -a every time I reboot?

I have tried
nbtstat -a ALFRESCO_SERVER_IP
net use X: \\SERVER_NAMEa\Alfresco\SPACE_NAME /user:<ALFRESCO_USER_NAME> /persistent:yes

This keeps the mapped drive between reboots but I still have to run nbtstat -a for my client to "see" the Alfresco CIFS share.

TIA
1 REPLY 1

shikarishambu
Champ in-the-making
Champ in-the-making
To avoid having to do this every time.

On Windows client trying to access an Alfresco CIFS share, do the following

1. Create lmhosts file in system32\drivers\etc with the following entries
   

<<ALFRESCO_IP_ADDRESS>> ALFRESCO_SRV_NAME
<<ALFRESCO_IP_ADDRESS>> ALFRESCO_SRV_NAMEa

Note the 'a' at the end in the second line

2. Enable LMHOSTS lookup in Windows networking - Control Panel > Networking…

3. Run nbtstat -R. this should reload the netbios cache

4. Check the cache entries nbtstat -c . You should see the entries for the Alfresco server and Alfresco CIFS share.