Dicembre 22, 2024

Alfresco tips & tricks – #2 Verifica connessioni CIFS/SMB

Ecco un altro suggerimento utile in attività di amministrazione e troubleshooting di Alfresco. Vediamo come verificare se il servizio CIFS configurato su Alfresco funziona corretamente.

CASO 1. Client Windows.
Clic su Start >Run e inserire la stringa di connessione verso il server cifs alfresco

\\192.168.1.20\\alfresco

alfresco-tips-tricks-check-cifs-smb-01

alfresco-tips-tricks-check-cifs-smb-02

CASO 2. Client Linux

– Command line

$ smbclient \\\\192.168.1.20\\alfresco -p 139 -U bob 
$ smbclient -L 192.168.1.20 -U bob%password

alfresco-tips-tricks-check-cifs-smb-03

– Nautlus, Dolphin

smb://bob@192.168.1.20/alfresco/

alfresco-tips-tricks-check-cifs-smb-04

 

alfresco-tips-tricks-check-cifs-smb-05


UTILITY E MONITORAGGIO

– Netbios Windows commands

nbtstat -n
nbtstat -c
nbtstat -a SERVER_ALF
nbtstat -R
net view \\SERVER_ALF
net use Z: \\SERVER_ALF\Alfresco

– Alfresco CIFS logging

$ vi ALF_HOME\tomcat\webapps\alfresco\WEB-INF\classes\log4j.properties

# CIFS server debugging
log4j.logger.org.alfresco.smb.protocol=debug
log4j.logger.org.alfresco.smb.protocol.auth=debug
log4j.logger.org.alfresco.fileserver=debug
log4j.logger.org.alfresco.acegi=debug

Leave a Reply

Your email address will not be published.