Can't view SAMBA shares on 3.0.58

  • @nickkay,


    Not sure if this work, but try to un-install the smb_cifs 1.0 from your Windows computer.
    And restart your computer.
    Then access: \\192.168.0.50\Completed\


    Another thing, ensure your workgroup name in OMV is same as your Windows 10 computer.
    Your Windows 10 client(s) need to be on the same subnet as your OMV (Wifi/Wired).

  • Are you able to connect to your share drive on another computer or device?
    How about turn off the Samba shares, delete the share, and turn off Samba service.
    Then turn Samba service back on, re-add the shares folder to Samba.
    Restart OMV, and restart your computer.

    OMV v5.0
    Asus Z97-A/3.1; i3-4370
    32GB RAM Corsair Vengeance Pro

    Einmal editiert, zuletzt von tinh_x7 ()

  • Ok, I've come back to this as I'm getting frustrated using FTP to copy files from my server.


    I've completed all the steps listed above, no cheese.


    On my Ubuntu machine I get the error message 'Failed to retrieve share list from server: Connection refused' when I try and access my OMV appliance, which rules out a windows based problem.


    Any other ideas guys?

  • Maybe your firewall in your router or OMV or a misconfiged network setting that blocking the access.
    Can you ping OMV from your client side?

    OMV v5.0
    Asus Z97-A/3.1; i3-4370
    32GB RAM Corsair Vengeance Pro

    • Offizieller Beitrag

    Is samba running? Should look something like this.



    Code
    root@omv3beta:~#  ps aux |grep smb
    root      3454  0.0  0.3 292404 14840 ?        Ss   Apr01   0:04 /usr/sbin/smbd -D
    root      3506  0.0  0.4 300564 17072 ?        S    Apr01   0:00 /usr/sbin/smbd -D
    root      3807  0.0  0.4 300532 17024 ?        S    Apr01   0:00 /usr/sbin/smbd -D
    root     25996  0.0  0.0  12732  2228 pts/0    S+   09:11   0:00 grep smb

    There is also samba update as of this morning.

    • Offizieller Beitrag

    So for some reason samba is not running. I am not the best with systemd yet.


    Code
    systemctl status smb.service  -l    ### shows status
    
    
    systemctl start smb.service  -l    ### starts
    
    
    systemctl stop smb.service  -l    ### stops
    
    
    systemctl restart smb.service  -l    ### restarts

    Status may show a reason or you might need to look in the logs. Might be something in /etc/samba/smb.conf, did you edit that file?

  • Hmm very interesting. Its a clean install of OMV, I have not altered anything.


    Here's the output:


    root@sulaco:/# systemctl status smb.service -l ### shows status
    ● smb.service
    Loaded: not-found (Reason: No such file or directory)
    Active: inactive (dead)
    root@sulaco:/# systemctl start smb.service -l ### starts
    Failed to start smb.service: Unit smb.service failed to load: No such file or directory.
    root@sulaco:/# systemctl stop smb.service -l ### stops
    Failed to stop smb.service: Unit smb.service not loaded.
    root@sulaco:/# systemctl restart smb.service -l ### restarts
    Failed to restart smb.service: Unit smb.service failed to load: No such file or directory.


    And here is /etc/samba/smb.conf,


    #======================= Global Settings =======================
    [global]
    workgroup = WORKGROUP
    server string = %h server
    dns proxy = no
    log level = 0
    syslog = 0
    log file = /var/log/samba/log.%m
    max log size = 1000
    syslog only = yes
    panic action = /usr/share/samba/panic-action %d
    encrypt passwords = true
    passdb backend = tdbsam
    obey pam restrictions = no
    unix password sync = no
    passwd program = /usr/bin/passwd %u
    passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
    pam password change = yes
    socket options = TCP_NODELAY IPTOS_LOWDELAY
    guest account = nobody
    load printers = no
    disable spoolss = yes
    printing = bsd
    printcap name = /dev/null
    unix extensions = yes
    wide links = no
    create mask = 0777
    directory mask = 0777
    use sendfile = yes
    aio read size = 16384
    aio write size = 16384
    null passwords = no
    local master = yes
    time server = no
    wins support = no
    os level = 65
    #======================= Share Definitions =======================
    [Completed]
    path = /media/682ea88d-620b-4480-805c-c0df24472fe9/completed
    guest ok = no
    read only = no
    browseable = yes
    inherit acls = yes
    inherit permissions = no
    ea support = no
    store dos attributes = no
    vfs objects =
    printable = no
    create mask = 0664
    force create mode = 0664
    directory mask = 0775
    force directory mode = 0775
    hide special files = yes
    follow symlinks = yes
    hide dot files = yes
    valid users =
    invalid users =
    read list =

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!