O Samba não mostra nenhum compartilhamento

1

Quando executo smbstatus --shares , não vejo nenhum compartilhamento listado.

Isso é no final do meu /etc/samba/smb.conf :

[Share]
   path = /var/www
   available = yes
   valid users = robert
   read only = no
   browsable = yes
   public = yes
   writable = yes

Este é o resultado de testparm :

Load smb config files from /etc/samba/smb.conf
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
Processing section "[homes]"
Processing section "[printers]"
Processing section "[Share]"
Loaded services file OK.
Server role: ROLE_STANDALONE

Press enter to see a dump of your service definitions

# Global parameters
[global]
        workgroup = MYGROUP
        server string = Samba Server
        server role = standalone server
        log file = /usr/local/samba/var/log.%m
        max log size = 50
        dns proxy = No
        idmap config * : backend = tdb


[homes]
        comment = Home Directories
        read only = No
        browseable = No


[printers]
        comment = All Printers
        path = /usr/spool/samba
        printable = Yes
        browseable = No


[Share]
        path = /var/www
        valid users = robert
        read only = No
        guest ok = Yes

Eu criei o usuário do samba robert com smbpasswd -a robert e reiniciei o samba com sudo service samba restart .

Editar: este é o resultado de smbclient -L 127.0.0.1 -U robert :

Domain=[MYGROUP] OS=[Windows 6.1] Server=[Samba 4.3.11-Ubuntu]

        Sharename       Type      Comment
        ---------       ----      -------
        Share           Disk
        IPC$            IPC       IPC Service (Samba Server)
        robert          Disk      Home Directories
Domain=[MYGROUP] OS=[Windows 6.1] Server=[Samba 4.3.11-Ubuntu]

        Server               Comment
        ---------            -------
        SHARE                Samba Server

        Workgroup            Master
        ---------            -------
        MYGROUP              SHARE
    
por Robert Hosking 15.08.2018 / 18:40

0 respostas