Re: FC6 and Samba

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

 



On Thu, 2007-03-08 at 16:02 +0100, BerMeJo wrote:
> Hi all, its my first message to this list, im spanish and my name is Rubén
> 
> Well, some days ago i installed samba, i m doing testing with localhost...
> 
> I have two users as in system as in smbpasswd...
> The user i have when install system havent got any problem to connect to 
> server; but any user i create after and try to connect samba , its 
> response me with tree failed connect NT_STATUS_BAD_NETWORK_NAME
> 
> In /var/log/samba/localhost i can read:
> [2007/03/08 14:45:27, 0] smbd/service.c:make_connection_snum(920)
>   '/home/BerMeJo/Almacen/Musica' does not exist or permission denied 
> when connecting to [Musica] Error was Permission denied.
> 
> I look for it in google, and all resources i found speak about selinux, 
> but i have selinux off:
> [root@BERMEJO-NEON ~]# cat /etc/selinux/config
> SELINUX=disabled
> SELINUXTYPE=targeted
> SETLOCALDEFS=0
> 
> Here is my smb.conf:
> 
> #======================= Global Settings 
> =====================================
> [global]
> 
>    workgroup = CIBERCASA
>    netbios name = BERMEJO-NEON
>    server string = Samba Server %v en %L
>     hosts allow = 127.
----
this is a problem...

hosts allow should also include the network for the TCP/IP lan. i.e.

hosts allow = 127. 192.168.1. 192.168.0. 10.0.0.
----
> 
>    cups options = raw
>    log file = /var/log/samba/%m.log
>    max log size = 50
> 
>    security = user
>    encrypt passwords = yes
>    smb passwd file = /etc/samba/smbpasswd
>    username map = /etc/samba/smbusers
> 
>    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
>    interfaces = 127.0.0.1
>    local master = yes
>    dns proxy = no
> 
> #============================ Share Definitions 
> ==============================
> 
> [Musica]
>     comment = Mi musiquita
>     path = /home/BerMeJo/Almacen/Musica
----
does this directory exist?

what do you get when you do...

ls -l /home/BerMeJo/Almacen/Musica

Note: Windows is not case sensitive but Linux/UNIX is very much case
sensitive
----
>     guest ok = no
>     browseable = yes
>     writable = yes
>     create mask = 0765
> 
> 
> This is creating me a really headache, anybody can help me???
> Thanks so much
> Rubén Lara
> 
-- 
Craig White <craig@xxxxxxxxxxxxx>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux