CIFS-Server nicht erreichbar

cancel
Showing results for 
Search instead for 
Did you mean: 
stolle87
Member II

CIFS-Server nicht erreichbar

Hallo,

ich habe ein Problem mit dem CIFS-Server. Ich bekomme keine Verbindung zu stande, bzw. kann mich nicht mal anmelden an dem Netzlaufwerk.

Meine Konfiguration:
Ich habe die file-servers-custom.xml entsprechend editiert und
   
<config evaluator="string-compare" condition="CIFS Server">
      <serverEnable enabled="true"/>
      <host name="${localname}A"/>
</config>
am ende eingefügt.

NetBIOS habe ich in der Einstellung der Neztzwerkkarte über TCP/IP aktiviert (WINS-Reiter in den Eigenschaften). IP des PC's ist 10.10.1.12/24
Mein Server heist DMS und demnach sollte unter DMSA die ganze Kiste zu erreichen sein.
Angefügt habe ich mal die Ausgabe von nbtstat.exe
Im Tomcat Fenster tut sich auch immer was, im Anhang habe ich die Meldung auch mal reingepackt.

Firewall technisch ist nichts aktiv, der PC ist zudem ganz frisch aufgesetzt. Das ganze soll erstmal ein Testsystem darstellen bevor es auf unsere Server kommt. Ich versuche bisher das ganze erstmal lokal mit dem Netzlaufwerk. Übers Netz habe ich es bislang noch nicht probiert.

Die Dateifreigabe unter Windows habe ich auch rausgenommen mit dem selben Fehler. Ich kann das Netzlaufwerk nicht erreichen. Die Fehlermeldung mit net use habe ich auch hinten dran gepackt. Unter Start - Ausführen - \\DMSA etc. kommt immer der Netzwerkpfad wurde nicht gefunden.

Weiss von euch vllt. jemand rat?
5 Replies
smurph_2639
Member II

Re: CIFS-Server nicht erreichbar

Hallo Stolle87,

hast Du mal versucht aus dem Alfresco-Client (siehe Screenshot) auf das Laufwek zuzugreifen? Funktioniert das?

Alternativ versuch mal das Laufwerk über

net use [LW:] \\dmsa\alfresco

Danach sollte der User und das Passwort abgefragt werden…


Grüsse

Michael
stolle87
Member II

Re: CIFS-Server nicht erreichbar

Hallo,

ich habe beides erfolglos getestet. Net Use gibt Systemfehler 64 - Der Netzwerkname ist nicht mehr verfügbar. Der Link aus der Weboberfläche - da passiert einfach gar nix. …
bwerner
Member II

Re: CIFS-Server nicht erreichbar

Hallo,

Kannst Du bitte mal Deine komplette file-servers-custom.xml posten?
Was passiert, wenn Du versuchst Dich zu dem Share \\DMS\c$ oder einer anderen Freigabe auf dem Rechner zu verbinden?

VG,
Bernhard
stolle87
Member II

Re: CIFS-Server nicht erreichbar

Hallo,

ganz normale Freigaben lassen sich ohne Probleme öffnen. Das Fenster öffnet sich auch sofort.
Hier die Datei
C:\Alfresco\tomcat\shared\classes\alfresco\extension\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.repo.desk.CheckInOutDesktopAction</class>
                  <name>CheckInOut</name>
                  <filename>__CheckInOut.exe</filename>
               </action>
               <action>
                  <class>org.alfresco.filesys.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>

   <config evaluator="string-compare" condition="CIFS Server">
   <serverEnable enabled="true"/>
   <host name="${localname}A"/>
   </config>

</alfresco-config>

Geändert habe ich hier nur den letzten Teil. Also den Teil für CIFS eingefügt.
bwerner
Member II

Re: CIFS-Server nicht erreichbar

Hallo,

sieht so aus als ob Du etwas zu wenig eingetragen hättest.
Lösche doch einfach ein mal den config Teil, den Du eingetragen hast und verwende den hier geposteten Teil.
Ist sicherlich mit einigem Overhead verbunden aber dafür kannst Du dann alle Belange konfigurieren.
  <config evaluator="string-compare" condition="CIFS Server">
      <serverEnable enabled="${cifs.enabled}"/>
     
      <host name="${cifs.localname}A" domain="${cifs.domain}"/>
      <comment>Alfresco CIFS Server</comment>

      <!– Set to the broadcast mask for the subnet –>
      <broadcast>${cifs.broadcast}</broadcast>
     
      <!– Set to the IP for the adapter for Java socket –>
      <bindto>${cifs.bindto}</bindto>

      <!– Use Java socket based NetBIOS over TCP/IP and native SMB on linux –>
      <tcpipSMB ipv6="${cifs.ipv6}" platforms="linux,solaris,macosx"/>
      <netBIOSSMB bindto="${cifs.bindto}" 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" ipv6="${cifs.ipv6}" platforms="linux,solaris,macosx"/>
      <netBIOSSMB sessionPort="1139" namePort="1137" datagramPort="1138" platforms="linux,solaris,macosx"/>
      –>

      <!– Announce the server to the workgroup/domain –>
      <!– Use enabled="false" attribute to disable announcements –>             
      <hostAnnounce interval="5" enabled="${cifs.hostannounce}"/>

      <!– Use Win32 NetBIOS interface on Windows –>
      <Win32NetBIOS/>

      <!– Announce the server to the workgroup/domain –>
      <!– Use enabled="false" attribute to disable announcements –>             
      <Win32Announce interval="5" enabled="${cifs.hostannounce}"/>

      <!– CIFS authentication –>
      <!– Available types are 'alfresco', 'passthru' and 'enterprise' –>
      <authenticator type="alfresco"/>
     
      <!– CIFS Passthru authentication sample –>
      <!– Also see the <DomainMappings> config in the 'Filesystem Security' section below –>
      <!–
      <authenticator type="passthru">
        <Server>ALFRESCO\adsrv1,ADOMAIN\adsrv2,adsrv1</Server>
        <protocolOrder>TCPIP,NetBIOS</protocolOrder>
        <offlineCheckInterval>60</offlineCheckInterval>
      </authenticator>
      –>
     
      <!– CIFS Enterprise authentication sample with Kerberos –>
      <!–
      <authenticator type="enterprise"/>
         <KDC>192.168.1.240</KDC>
         <Realm>WIN2003.ALFRESCO.ORG</Realm>
         <Password>password</Password>
         
         <kerberosDebug/>
      </authenticator>     
      –>
     
      <!– Disable the use of asynchronous sockets/NIO code –>
      <!–
      <disableNIO/>
      –>
     
      <!– Disable the use of JNI code –>
      <!– Only currently affects Windows –>
      <!–
      <disableNativeCode/>
      –>
     
      <!– Session timeout, in seconds –>
      <!– Defaults to 15 minutes, to match the default Windows client setting        –>
      <!– If no I/O is received within that time the session is closed by the server –>
      <!–
      <sessionTimeout>300</sessionTimeout>
      –>
     
      <!– Enable WINS if used for NetBIOS name lookups –>
      <!–
      <WINS>
         <primary>1.2.3.4</primary>
         <secondary>5.6.7.8</secondary>
      </WINS>
      –>
     
      <!– CIFS server debug settings –>
      <!– Enable 'log4j.logger.org.alfresco.fileserver=debug' in log4j.properties file –>
      <!–
      <sessionDebug flags="Negotiate,Socket"/>
      –>
   </config>

Ich würde es auch vor der Zeile
<config evaluator="string-compare" condition="Filesystems" replace="true">
eintragen, da die Änderungen alle "filesystems" betreffen.

VG,
Bernhard