[CentOS] Unable to share directory via Samba?

Wed Dec 2 20:12:59 UTC 2009
JS <jses27 at gmail.com>


> -----Original Message-----
> From: centos-bounces at centos.org [mailto:centos-bounces at centos.org] On
> Behalf Of James Bensley
> Sent: Tuesday, December 01, 2009 4:39 AM
> To: CentOS mailing list
> Subject: Re: [CentOS] Unable to share directory via Samba?
> 
> This is the repeating entry from my smbd.log from every time I try to
> mount the share via samba;
> 
> [2009/12/01 09:32:59, 0] lib/util_sock.c:get_peer_addr(1224)
>   getpeername failed. Error was Transport endpoint is not connected
> 
> I had read online that this can be caused by samba not making its mind
> up about weather to use TCP ports 139 or 445 so I set it statically
> from within the smb config file by using "smb ports = 445" and "smb
> ports 139" restart after each change and checking if this had fixed my
> problem but it has not.
> 
> --
> Regards,
> James ;)
> 
> Samuel Goldwyn  - "I'm willing to admit that I may not always be
> right, but I am never wrong." -
> http://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

----
Try ports = 445 in /etc/smb.conf or "disable netbios = yes" Make sure for
your config you have you add the user mars to the tdbsam pass word backend.

John