CIFS FEHLER

cancel
Showing results for 
Search instead for 
Did you mean: 
kutaa_6527
Active Member

CIFS FEHLER

Hallo,

ich wollte bei mir CIFS konfigurieren. Aber gibt eine Fehler zurück.

Kann mir bitte jemand sagen, wie ich diesen Fehler beseitige.
Fehler:

CIFS Server configuration error, Invalid CIFS server bind.


Danke,
Enkhee
5 Replies
bwerner
Member II

Re: CIFS FEHLER

Hallo Enkee,

Um Dir da weiter helfen zu können wären noch ein paar Informationen nötig:

- Welche Alfresco Version verwendest Du?
- Auf welcher Plattform betreibst Du Deinen Alfresco Server?
- Poste bitte ein mal Deine File Server Konfiguration.

Viele Grüße,
Bernhard
kutaa_6527
Active Member

Re: CIFS FEHLER

Hallo Bernhard,

Danke für die Antwort.

Ich benutze Alfresco Labs 3.0. Alfresco Server läuft unter Windows XP.
CIFS Teil ist:
    <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>

Beste Grüße,
Enkhee
bwerner
Member II

Re: CIFS FEHLER

Hallo,

Die Fehlermeldung ist etwas komisch, da eigentlich alle Netzerwkadapter verwendet werden sollten.
Was steht denn für cifs.bindto in der Datei "file-servers.properties" als Wert?
Alternativ kannst Du auch ein mal versuchen in der Datei "file-servers-custom.xml" die IP Adresse fest einzutragen.

>>> Beispiel:
<!– Set to the IP for the adapter for Java socket –>
<bindto>xxx.xxx.xxx.xxx</bindto>
>>>

Viele Grüße,
Bernhard
kutaa_6527
Active Member

Re: CIFS FEHLER

Hallo Bernhard,

bei mir in der Datei file-servers.properties steht die 3 Sachen:

cifs.localname=${localname}
cifs.domain=
cifs.broadcast=255.255.255.255

mehr nicht es.

Muss ich hier cifs.bindto einfügen?

Was werde ich angezeigt bekommen, wenn ich nbtstat -n eintippe, falls CIFS gestartet ist?

Beste Grüße,
Enkhee
bwerner
Member II

Re: CIFS FEHLER

Hallo,

Ja, füge bitte ein mal das cifs.bindto in Deine Konfigurationsdatei ein. Hier dann auch gleich noch die IP Deines Rechners mit angeben.

nbtstat -n sollte Dir neben dem lokalen Rechnernamen auch den Namen Deines CIFS Share anzeigen.
In diesem Dokument findest Du bestimmt auch noch einige, nützliche Informationen zu dem Thema:
http://wiki.alfresco.com/w/images/e/e4/ECM_InstallConfigure_CommunityEdition32.pdf

Viele Grüße,
Bernhard