Re: Idiots guide to setting up samba



On Mon, 16 Jan 2012 17:01:57 +0000 (UTC)
Camaleón <noelamac@xxxxxxxxx> wrote:

On Mon, 16 Jan 2012 13:45:15 +0000, Richard wrote:

is there an idiots guide to setting up samba on debian ?

Uf... samba is not idiot-proof :-)

I'm ending up with multiple services on samba and winbindd but smbd not
running.

Before going any further with the samba beast, are you sure you need to
set it up the server side? What are your goals?

Also which version of samba should I be using.

1377 ? S 0:00 /usr/sbin/samba -D
1378 ? S 0:00 /usr/sbin/samba -D
1379 ? S 0:00 /usr/sbin/samba -D
1380 ? S 0:00 /usr/sbin/samba -D
1386 ? S 0:00 /usr/sbin/samba -D
1388 ? S 0:00 /usr/sbin/samba -D

(...)

There are many running instances of samba, I only have 3, but this could
have changed since lenny.

(...)

this is from samba.log :-

===============================================================
[2012/01/16 13:38:34.819332, 0]
smbd/server_exit.c:171(exit_server_common)
Abnormal server exit: open_sockets_smbd() failed
(...)
[2012/01/16 13:40:23.908335, 0] lib/util_sock.c:664(open_socket_in)
bind failed on port 445 socket_addr = 127.0.0.1. Error = Address
already in use
[2012/01/16 13:40:23.908838, 0] smbd/server.c:569(smbd_open_one_socket)
smbd_open_once_socket: open_socket_in: Address already in use
[2012/01/16 13:40:23.908976, 0] lib/util_sock.c:664(open_socket_in)
bind failed on port 139 socket_addr = 127.0.0.1. Error = Address
already in use
(...)
[2012/01/16 13:40:23.909262, 0] smbd/server.c:756(open_sockets_smbd)
open_sockets_smbd: No sockets available to bind to.
(...)


Any ideas please ????

Your samba service is crashing because of the above errors, I'd say related
to the network interface you have set. Check your smb.conf variables:

interfaces =
bind interfaces only =

Greetings,


Thanks,
I've managed to get smbd up and running, the application needs to be a server and not just a client,
as one of the directories is used by another computer. Not my app ,my son's :(.
What I'm not seeing is any broadcast on x.x.x.255, the firewall should be open in both directions on the
samba ports.

Play again in the morning.

--


Best wishes / 73
Richard Bown

e-mail: richard@xxxxxxxxx or richard.bown@xxxxxxxxxxxxxxxx

nil carborundum a illegitemis
##################################################################################
Ham Call G8JVM . OS Debian Wheezy/Sid amd64 on a Dual core AMD Athlon 5200, 4 GB RAM
Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W ( degs mins )
QRV HF + VHF Microwave 23 cms:140W,13 cms:100W,6 cms:10W & 3 cms:5W
##################################################################################


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/20120116233219.31bae073@xxxxxxxxx



Relevant Pages

  • Re: Kann Samba-Share nicht unter Linux mounten
    ... zuerst hatte ich die Antwort im falschen Fred gepostet. ... # server string is the equivalent of the NT Description field ... # WINS Support - Tells the NMBD component of Samba to enable its WINS Server ... # Only bind to the named interfaces and/or networks; ...
    (de.comp.os.unix.networking.samba)
  • Re: Does samba 3.0.14Aa on OS 5.0.6 work with ldapsam backend on another LDAP server?
    ... used 3.0.9 on SCO 5.0.6 for quite some time after suffering problems I ... a RedHat4 box running samba 3.0.10 and OpenLDAP 2.2.13. ... and no LDAP server (although there were the ... share on the SCO server without any smbpasswd on that server! ...
    (comp.unix.sco.misc)
  • Re: can not connect from Win2K to Samba
    ... > It's an option to let the SAMBA server win the Windows Master ... >>DNS server, gateway) because I can access the internet from the Linux ... I added wins support & interfaces to the smb.conf and edited the ...
    (comp.os.linux.networking)
  • Re: Kein Zugriff auf Samba-Share
    ... # server string is the equivalent of the NT Description field ... # WINS Support - Tells the NMBD component of Samba to enable its WINS Server ... # Only bind to the named interfaces and/or networks; ... # If you want Samba to only log through syslog then set the following ...
    (de.comp.os.unix.networking.samba)
  • [HPADM] RE: Mapping Samba Share to XP
    ... "The mapped network drive could not be created because the following error occurred: The remote computer is not available." ... Is there anything I need to change in the configuration on the CIFS server? ... I am unable to map to the Windows XP clients on the 158 subnet still, but this is due to the firewall, so if someone knows how I can make that happen, please let me know? ... Mapping Samba Share to XP ...
    (HP-UX-Admin)