AnsweredAssumed Answered

SMB/CIFS server configuration problems

Question asked by yanpa on Oct 22, 2007
Latest reply on Oct 22, 2007 by yanpa
I'm fairly new to Alfresco and have just installed the "Community Network - v2.1.0" package. I'm trying to get the CIFS server functionality to run. Server environment is Linux (Ubuntu 7.04), Tomcat 5.5; the basic, default installation works. As suggested here I'm trying to connect to the server with

smbclient -U admin \\\\127.0.0.1\\alfresco admin

(admin/admin is a valid login). This fails with

session request to LOCALHOST failed (RAP code 32)
session request to *SMBSERVER failed (RAP code 32)

In alfresco.log I see e.g.

22:59:13,852 DEBUG [org.alfresco.smb.protocol] TCP-SMB session request received from 127.0.0.1
22:59:13,853 DEBUG [org.alfresco.smb.protocol] Waiting for TCP-SMB session request …
22:59:13,854 DEBUG [org.alfresco.smb.protocol] Server session started

On startup I also get the following messages:

22:13:32,288 ERROR [org.alfresco.smb.protocol] Failed to get local domain/workgroup name, using default of WORKGROUP
22:13:32,288 ERROR [org.alfresco.smb.protocol] (This may be due to firewall settings or incorrect <broadcast> setting)
22:13:32,441 INFO  [org.alfresco.smb.protocol] CIFS server started
22:13:32,442 INFO  [org.alfresco.smb.protocol] FTP server started
22:13:32,442 INFO  [org.alfresco.smb.protocol] NFS server NOT started
22:13:32,486 DEBUG [org.alfresco.smb.protocol.netbios] Found 1 addresses using host name lookup
22:13:32,487 ERROR [org.alfresco.smb.protocol.netbios] NetBIOSNameServer setup error:
java.net.BindException: Permission denied
        at java.net.PlainDatagramSocketImpl.bind0(Native Method)
        at java.net.PlainDatagramSocketImpl.bind(PlainDatagramSocketImpl.java:82)
        at java.net.DatagramSocket.bind(DatagramSocket.java:368)
        at java.net.DatagramSocket.<init>(DatagramSocket.java:210)
        at java.net.DatagramSocket.<init>(DatagramSocket.java:261)
        at java.net.DatagramSocket.<init>(DatagramSocket.java:234)
        at org.alfresco.filesys.netbios.server.NetBIOSNameServer.openSocket(NetBIOSNameServer.java:1085)
        at org.alfresco.filesys.netbios.server.NetBIOSNameServer.run(NetBIOSNameServer.java:1611)
        at java.lang.Thread.run(Thread.java:595)
22:13:32,503 INFO  [org.alfresco.smb.protocol] SMB Server IWATA_A starting

(the local computer name is "iwata"). In "file-servers.xml",  tcpipSMB is set to 1445. Tomcat is running as a non-privileged user.

Can someone give me some pointers as to where the problem might lie?

Outcomes