[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MiNT] Samba set-up



Hi guys,

I thought I would have a go at setting up Samba on the milan.

I've installed Samba common, server and client rpms. Then
modified the smb.conf to matach my local network. I have
set-up samba before on a Linux box but it was a while ago.

>From the Milan I can see this:

bash-2.05a# smbclient -L AST-LAPTOP \\\\MyDocuments\\
Password: ******
Anonymous login successful

        Sharename      Type      Comment
        ---------      ----      -------
Error returning browse list: NT_STATUS_ACCESS_DENIED
Anonymous login successful

        Server               Comment
        ---------            -------
        AST-LAPTOP

        Workgroup            Master
        ---------            -------
        WORKGROUP            AST-LAPTOP

bash-2.05a# smbtree
Password:
WORKGROUP
        \\AST-LAPTOP

So it can see the laptop (Win2k) but not the share.

I also tried running the server on the Milan:

bash-2.05a# /etc/rc.d/init.d/smb restart
/etc/rc.d/init.d/smb: [: =: unary operator expected
Shutting down SMB services: [FAILED]
Shutting down NMB services: [FAILED]
Starting SMB services: [  OK  ]
Starting NMB services: [  OK  ]

and this is what appears in the console:

Sep 29 17:16:01 milan nmbd[177]: [2007/09/29 17:16:01, 0] lib/util_sock.c:open_socket_in(662)
Sep 29 17:16:01 milan nmbd[177]: [2007/09/29 17:16:01, 0] lib/util_sock.c:open_socket_in(662)
Sep 29 17:16:01 milan
Sep 29 17:16:01 milan nmbd[177]:   bind failed on port 137 socket_addr = 192.168.0.200.
Sep 29 17:16:01 milan nmbd[177]:   bind failed on port 137 socket_addr = 192.168.0.200.
Sep 29 17:16:01 milan
Sep 29 17:16:01 milan nmbd[177]:   Error = Cannot assign requested address
Sep 29 17:16:01 milan nmbd[177]:   Error = Cannot assign requested address
Sep 29 17:16:01 milan
Sep 29 17:16:01 milan nmbd[177]: [2007/09/29 17:16:01, 0] nmbd/nmbd_subnetdb.c:make_subnet(126)
Sep 29 17:16:01 milan nmbd[177]: [2007/09/29 17:16:01, 0] nmbd/nmbd_subnetdb.c:make_subnet(126)
Sep 29 17:16:01 milan
Sep 29 17:16:01 milan nmbd[177]: nmbd_subnetdb:make_subnet()
Sep 29 17:16:01 milan nmbd[177]: nmbd_subnetdb:make_subnet()
Sep 29 17:16:01 milan
Sep 29 17:16:01 milan nmbd[177]:   Failed to open nmb socket on interface 192.168.0.200
Sep 29 17:16:01 milan nmbd[177]:   Failed to open nmb socket on interface 192.168.0.200
Sep 29 17:16:01 milan nmbd[177]: for port 137.
Sep 29 17:16:01 milan nmbd[177]: for port 137.
Sep 29 17:16:01 milan nmbd[177]: Error was Cannot assign requested address
Sep 29 17:16:01 milan nmbd[177]: Error was Cannot assign requested address
Sep 29 17:16:02 milan
Sep 29 17:16:01 milan nmbd[177]: [2007/09/29 17:16:01, 0] nmbd/nmbd.c:main(732)
Sep 29 17:16:01 milan nmbd[177]: [2007/09/29 17:16:01, 0] nmbd/nmbd.c:main(732)
Sep 29 17:16:02 milan
Sep 29 17:16:01 milan nmbd[177]:   ERROR: Failed when creating subnet lists. Exiting.
Sep 29 17:16:01 milan nmbd[177]:   ERROR: Failed when creating subnet lists. Exiting.
Sep 29 17:16:02 milan

nmbd seems to fail. I am not familiar with this daemon.

The laptop does not show the shared folder on the Milan
which is set-up:

[tmp]
   comment = Temporary file space
   path = /tmp
   read only = no
   public = yes

Regards,

Peter