Bonjour au forum,Je vous écris car j'ai un problème pour faire fonctionner la fonctionnalité CIFS.Je viens de faire une recherche sur ce forum sur les CIFS, il y a beaucoup de solutions et j'en ai essayé plusieurs mais sans succès malheureusement.Je vous expose donc mon problème :J'ai installé Alfresco via cet installateur "Alfresco-Community-2.1R1-Linux-x86-Install" sur une Kubuntu Feisty Fawn 7.04.D'autre part, j'ai samba d'installé et j'ai suivi ce post http://forum.alfresco-fr.org/viewtopic.php?pid=2564.J'ai donc configuré smb.conf avec l'adresse IP 192.168.1.177 en prenant soin d'activer cette option "bind interfaces only = true", puis du côté de "file-servers.xml" j'ai mis <broadcast>192.168.1.255</broadcast> et <bindto>192.168.1.176</bindto> dans la section approprié comme indiqué dans le post cité ci-dessus.J'ai pris soin de faire un alias via : ifconfig eth0:1 192.168.1.176 et je précise que les 2 adresses sont pinguables et que tout fonctionne sur Alfresco via l'interface Web avec "http://localhost:8080/alfresco".J'essaye de me connecter en suivant la ligne de ce post http://wiki.alfresco.com/wiki/CIFS_linux mais modifiée pour prendre en compte mon adresse IP. Voilà les lignes de commande que j'ai utilisé : "root@pcp-eric:~# smbclient -U admin \\192.168.1.176_A\Alfresco admin Domain=[WORKGROUP] OS=[Java] Server=[Alfresco CIFS Server]"Et voici le résultat : "Connection to 192.168.1.176_A failed""root@pcp-eric:~# smbclient -U admin \\192.168.1.176\Alfresco admin Domain=[WORKGROUP] OS=[Java] Server=[Alfresco CIFS Server]"Et voici le résultat de la seconde commande : "Error connecting to 192.168.1.176 (Connexion refusée) Connection to 192.168.1.176 failed"Qu'ai-je mal paramétré ? Quelqu'un a une idée SVP ? Merci d'avance pour l'attention que vous porterez à ce message.PS : Voilà des fichiers supplémentaires pour mieux situer le problème.Résultat de "netstat -pln" :eric@pcp-eric:/etc/samba$ netstat -pln
(Tous les processus ne peuvent être identifiés, les infos sur les processus
non possédés ne seront pas affichées, vous devez être root pour les voir toutes.)
Connexions Internet actives (seulement serveurs)
Proto Recv-Q Send-Q Adresse locale Adresse distante Etat PID/Program name
tcp 0 0 127.0.0.1:2208 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:2049 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:8100 0.0.0.0:* LISTEN 10132/soffice.bin
tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN -
tcp 0 0 192.168.1.177:139 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:43759 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:784 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:53146 0.0.0.0:* LISTEN -
tcp 0 0 192.168.1.177:445 0.0.0.0:* LISTEN -
tcp 0 0 127.0.0.1:2207 0.0.0.0:* LISTEN -
tcp6 0 0 :::50500 :::* LISTEN 10119/java
tcp6 0 0 ::ffff:127.0.0.1:8005 :::* LISTEN 10119/java
tcp6 0 0 :::8080 :::* LISTEN 10119/java
tcp6 0 0 :::58264 :::* LISTEN 10119/java
udp 0 0 0.0.0.0:32768 0.0.0.0:* -
udp 0 0 0.0.0.0:2049 0.0.0.0:* -
udp 0 0 0.0.0.0:32770 0.0.0.0:* -
udp 0 0 0.0.0.0:32772 0.0.0.0:* -
udp 0 0 192.168.1.177:137 0.0.0.0:* -
udp 0 0 0.0.0.0:137 0.0.0.0:* -
udp 0 0 192.168.1.177:138 0.0.0.0:* -
udp 0 0 0.0.0.0:138 0.0.0.0:* -
udp 0 0 0.0.0.0:781 0.0.0.0:* -
udp 0 0 0.0.0.0:68 0.0.0.0:* -
udp 0 0 0.0.0.0:68 0.0.0.0:* -
udp 0 0 0.0.0.0:5353 0.0.0.0:* -
udp 0 0 0.0.0.0:876 0.0.0.0:* -
udp 0 0 0.0.0.0:111 0.0.0.0:* -
Sockets du domaine UNIX actives (seulement serveurs)
Proto RefCpt Indicatrs Type Etat I-Node PID/Program name Chemin
unix 2 [ ACC ] STREAM LISTENING 19641 6306/artsd /home/eric/.kde/socket-pcp-eric/pcp-eric-18a2-46bacb1a
unix 2 [ ACC ] STREAM LISTENING 19077 6262/kdeinit Runnin /home/eric/.kde/socket-pcp-eric/kdeinit-:0
unix 2 [ ACC ] STREAM LISTENING 29110 10132/soffice.bin /tmp/OSL_PIPE_1000_SingleOfficeIPC_f2f4973f3cc2371d5da84cfa6295baa
unix 2 [ ACC ] STREAM LISTENING 15695 - @/var/run/hald/dbus-4Md6ROKbtH
unix 2 [ ACC ] STREAM LISTENING 19075 6262/kdeinit Runnin /home/eric/.kde/socket-pcp-eric/kdeinit__0
unix 2 [ ACC ] STREAM LISTENING 15405 - /var/run/acpid.socket
unix 2 [ ACC ] STREAM LISTENING 15665 - /var/run/dbus/system_bus_socket
unix 2 [ ACC ] STREAM LISTENING 17459 - /var/run/mysqld/mysqld.sock
unix 2 [ ACC ] STREAM LISTENING 18267 - /var/run/sdp
unix 2 [ ACC ] STREAM LISTENING 20576 6556/gconfd-2 /tmp/orbit-eric/linc-199c-0-362e87d6fc6c
unix 2 [ ACC ] STREAM LISTENING 19116 6268/klauncher [kde /home/eric/.kde/socket-pcp-eric/klauncherAs5ioa.slave-socket
unix 2 [ ACC ] STREAM LISTENING 20586 6520/firefox-bin /tmp/orbit-eric/linc-1978-0-24aa3d4d89f56
unix 2 [ ACC ] STREAM LISTENING 17012 - /var/run/avahi-daemon/socket
unix 2 [ ACC ] STREAM LISTENING 17286 - /var/run/cups/cups.sock
unix 2 [ ACC ] STREAM LISTENING 15692 - @/var/run/hald/dbus-fJbN0hjmQW
unix 2 [ ACC ] STREAM LISTENING 18601 - /var/run/xdmctl/dmctl/socket
unix 2 [ ACC ] STREAM LISTENING 18613 - /var/run/xdmctl/dmctl-:0/socket
unix 2 [ ACC ] STREAM LISTENING 18967 6224/dbus-daemon @/tmp/dbus-11G0hMH7rc
unix 2 [ ACC ] STREAM LISTENING 18609 - /tmp/.X11-unix/X0
unix 2 [ ACC ] STREAM LISTENING 18956 - /tmp/ssh-eFDInk6181/agent.6181
unix 2 [ ACC ] STREAM LISTENING 19088 6265/dcopserver [kd /tmp/.ICE-unix/dcop6265-1186646802
unix 2 [ ACC ] STREAM LISTENING 19251 6277/ksmserver [kde /tmp/.ICE-unix/6277
Contenu de "file-servers-custom.xml" :<alfresco-config area="file-servers">
<!– To override the default Alfresco filesystem use replace="true", to –>
<!– add additional filesystems remove the replace="true" attribute –>
<config evaluator="string-compare" condition="Filesystems" replace="true">
<filesystems>
<filesystem name="Alfresco">
<store>workspace://SpacesStore</store>
<rootPath>/app:company_home</rootPath>
<!– Add a URL file to each folder that links back to the web client –>
<urlFile>
<filename>__Alfresco.url</filename>
<webpath>http://${localname}:8080/alfresco/</webpath>
</urlFile>
<!– Mark locked files as offline –>
<offlineFiles/>
<!– Desktop actions –>
<desktopActions>
<global>
<path>alfresco/desktop/Alfresco.exe</path>
<webpath>http://${localname}:8080/alfresco/</webpath>
</global>
<action>
<class>org.alfresco.filesys.smb.server.repo.desk.CheckInOutDesktopAction</class>
<name>CheckInOut</name>
<filename>__CheckInOut.exe</filename>
</action>
<action>
<class>org.alfresco.filesys.smb.server.repo.desk.JavaScriptDesktopAction</class>
<name>JavaScriptURL</name>
<filename>__ShowDetails.exe</filename>
<script>alfresco/desktop/showDetails.js</script>
<attributes>anyFiles</attributes>
<preprocess>copyToTarget</preprocess>
</action>
</desktopActions>
<!–
<accessControl default="Write">
<user name="admin" access="Write"/>
<address subnet="90.1.0.0" mask="255.255.0.0" access="Write"/>
</accessControl>
–>
</filesystem>
<!– AVM virtualization view of all stores/versions for WCM –>
<avmfilesystem name="AVM">
<virtualView/>
</avmfilesystem>
</filesystems>
</config>
</alfresco-config>Contenu de "file-servers.xml" :<alfresco-config area="file-servers">
<config evaluator="string-compare" condition="CIFS Server">
<serverEnable enabled="true"/>
<host name="${localname}_A" domain="WORKGROUP"/>
<comment>Alfresco CIFS Server</comment>
<!– Set to the broadcast mask for the subnet –>
<broadcast>192.168.1.255</broadcast>
<bindto>192.168.1.176</bindto>
<!– Use Java socket based NetBIOS over TCP/IP and native SMB on linux –>
<tcpipSMB platforms="linux,solaris,macosx"/>
<netBIOSSMB platforms="linux,solaris,macosx"/>
<!– Can be mapped to non-privileged ports, then use firewall rules to forward
requests from the standard ports –>
<!–
<tcpipSMB port="1445" platforms="linux,solaris,macosx"/>
<netBIOSSMB sessionPort="1139" namePort="1137" datagramPort="1138" platforms="linux,solaris,macosx"/>
–>
<hostAnnounce interval="5"/>
<!– Use Win32 NetBIOS interface on Windows –>
<Win32NetBIOS/>
<Win32Announce interval="5"/>
<!–
<WINS>
<primary>1.2.3.4</primary>
<secondary>5.6.7.8</secondary>
</WINS>
–>
<sessionDebug flags="Negotiate,Socket"/>
</config>
<config evaluator="string-compare" condition="FTP Server">
<serverEnable enabled="true"/>
<!– <debug flags="File,Search,Error,Directory,Info,DataPort"/> –>
</config>
<config evaluator="string-compare" condition="NFS Server">
<serverEnable enabled="false"/>
</config>
<config evaluator="string-compare" condition="Filesystems">
<filesystems>
<!– Alfresco repository access shared filesystem –>
<filesystem name="Alfresco">
<store>workspace://SpacesStore</store>
<rootPath>/app:company_home</rootPath>
<!– Add a URL file to each folder that links back to the web client –>
<urlFile>
<filename>__AlfrescoClient.url</filename>
<webpath>http://${localname}:8080/alfresco/</webpath>
</urlFile>
<!– Mark locked files as offline –>
<offlineFiles/>
<!– Desktop actions –>
<!– Uses a client-side application to trigger a server-side action –>
<!– Echo - displays a message echoed from the server –>
<!– URL - launches a URL via the Windows shell –>
<!– CmdLine - launches the Notepad application –>
<!– CheckInOut - checks files in/out, drag and drop files onto the application –>
<!– JavaScript - run a server-side script –>
<!– JavaScriptURL - server-side script that generates a URL to the folder using a ticket –>
<!– to avoid having to logon –>
<!–
<desktopActions>
<global>
<path>alfresco/desktop/Alfresco.exe</path>
<webpath>http://${localname}:8080/alfresco/</webpath>
</global>
<action>
<class>org.alfresco.filesys.smb.server.repo.desk.EchoDesktopAction</class>
<name>Echo</name>
<filename>__AlfrescoEcho.exe</filename>
</action>
<action>
<class>org.alfresco.filesys.smb.server.repo.desk.URLDesktopAction</class>
<name>URL</name>
<filename>__AlfrescoURL.exe</filename>
</action>
<action>
<class>org.alfresco.filesys.smb.server.repo.desk.CmdLineDesktopAction</class>
<name>CmdLine</name>
<filename>__AlfrescoCmd.exe</filename>
</action>
<action>
<class>org.alfresco.filesys.smb.server.repo.desk.CheckInOutDesktopAction</class>
<name>CheckInOut</name>
<filename>__AlfrescoCheckInOut.exe</filename>
</action>
<action>
<class>org.alfresco.filesys.smb.server.repo.desk.JavaScriptDesktopAction</class>
<name>JavaScript</name>
<filename>__AlfrescoScript.exe</filename>
<script>alfresco/desktop/dumpRequest.js</script>
<attributes>anyFiles, multiplePaths , allowNoParams</attributes>
<preprocess>confirm, copyToTarget</preprocess>
</action>
<action>
<class>org.alfresco.filesys.smb.server.repo.desk.JavaScriptDesktopAction</class>
<name>JavaScriptURL</name>
<filename>__AlfrescoDetails.exe</filename>
<script>alfresco/desktop/showDetails.js</script>
<attributes>anyFiles</attributes>
<preprocess>copyToTarget</preprocess>
</action>
</desktopActions>
–>
<!–
<accessControl default="Write">
<user name="admin" access="Write"/>
<address subnet="90.1.0.0" mask="255.255.0.0" access="Write"/>
</accessControl>
–>
</filesystem>
<!– AVM virtualization view of all stores/versions for WCM –>
<avmfilesystem name="AVM">
<virtualView/>
</avmfilesystem>
</filesystems>
</config>
<config evaluator="string-compare" condition="Filesystem Security">
<authenticator type="enterprise">
</authenticator>
<!–
<globalAccessControl default="None">
<user name="admin" access="Write"/>
<address ip="90.1.0.90" access="Write"/>
</globalAccessControl>
<users>
<localuser name="user">
<password>user</password>
<comment>Normal user account</comment>
</localuser>
<localuser name="administrator">
<password>admin</password>
<administrator/>
<comment>Administrator account</comment>
</localuser>
</users>
–>
</config>
</alfresco-config>