Quantcast
Viewing all articles
Browse latest Browse all 36162

[SOLVED] SAMBA - no access on samba shares (FC17)

Hey folks,

I'm new to FC and Linux but I try to set up a samba server in FC17. For this reason I installed all necessary packages and server services (smb and nmb) itself run fine.

Code:

[root@panther /]# /sbin/service smb status
Redirecting to /bin/systemctl  status smb.service
smb.service - Samba SMB Daemon
          Loaded: loaded (/usr/lib/systemd/system/smb.service; disabled)
          Active: active (running) since Sat, 17 Nov 2012 13:41:20 +0100; 13min ago
        Process: 2225 ExecStart=/usr/sbin/smbd $SMBDOPTIONS (code=exited, status=0/SUCCESS)
        Main PID: 2226 (smbd)
          CGroup: name=systemd:/system/smb.service
                  ├ 2226 /usr/sbin/smbd
                  ├ 2228 /usr/sbin/smbd
                  ├ 2233 /usr/sbin/smbd
                  └ 2271 /usr/sbin/smbd

Nov 17 13:41:20 panther.zoo smbd[2225]: [2012/11/17 13:41:20.659166,  0] smb...)
Nov 17 13:41:20 panther.zoo smbd[2225]: standard input is not a socket, assu...n

In my network i run two linux- (Ubuntu 12.04 and FC17) and one winxp-machine. Samba server is also installed on the ubuntucomputer and works fine. So i decided to set up a Samba server on FC as well. Shares of the FC is shown on all other computer but trying to mount the shares produces "Failed to mount windows share". The shares on Ubuntu and WinXP can be seen and accessed by every computer (FC too).
SELinux and firewall are completely disabled
Code:

[root@panther /]# getenforce
Disabled

the smb.conf:
Code:

[global]
        workgroup = ZOO
        server string = Samba Server Version %v

        netbios name = PANTHER
        client lanman auth = Yes                       
        client NTLMv2 auth = No
        security = share

[Music]
        path = /home/Panther/Music
        read only = No
        create mask = 0777
        force create mode = 0777
        directory mask = 0777
        force directory mode = 0777
        guest ok = Yes

[Videos]
        path = /home/Panther/Videos
        read only = No
        create mask = 0777
        force create mode = 0777
        directory mask = 0777
        force directory mode = 0777
        guest ok = Yes

Interesstingly I tried on my FC-computer:
Code:

[root@panther /]# smbclient -L Panther
WARNING: The security=share option is deprecated
Enter Panther's password:
Domain=[ZOO] OS=[Unix] Server=[Samba 3.6.8-95.fc17]

        Sharename      Type      Comment
        ---------      ----      -------
        Music          Disk     
        Videos          Disk     
        IPC$            IPC      IPC Service (Samba Server Version 3.6.8-95.fc17)
Domain=[ZOO] OS=[Unix] Server=[Samba 3.6.8-95.fc17]

        Server              Comment
        ---------            -------
        LEOPARD-ST61V10      leopard-ST61V10 server (Samba, Ubuntu)
        PANTHER              Samba Server Version 3.6.8-95.fc17

        Workgroup            Master
        ---------            -------
        ZOO                  LEOPARD-ST61V10

But on my Ubuntu:
Code:

leopard@leopard-ST61V10:~$ smbclient -L Panther
WARNING: The security=share option is deprecated
Enter leopard's password:
Domain=[ZOO] OS=[Unix] Server=[Samba 3.6.8-95.fc17]
Server requested LANMAN password (share-level security) but 'client lanman auth = no' or 'client ntlmv2 auth = yes'
tree connect failed: NT_STATUS_ACCESS_DENIED

What is wrong? - i cant figure out the problem ...


PS: sorry for my poor english .... :(

---------- Post added at 02:48 PM ---------- Previous post was at 02:19 PM ----------

Arrghhh .... i fixed the problem.... right after posting!

Apparently it's not enough to give rw rights to the actual directory you want to share. It's also necessary to give those right to the parent directory ...

Ok ...

Thanks anyway!

Viewing all articles
Browse latest Browse all 36162

Trending Articles