Samba config messes service up

ISSUE1755 on github
I am unable to connect to samba shares when runing samba as service like intended from rockstor!
When running samba from commandline with foreground (-F) option everything is fine!!
It doesnt matter if i change workgroup user or config!
Any hints?

Hi @morn can you provide your samba config?
Thanks
Mirko

Jep no problem …
–>

[root@nas ~]# cat /etc/samba/smb.conf
[global]
    log level = 0
    map to guest = Bad User
    cups options = raw
    log file = /var/log/samba/log.%m
    printcap name = /dev/null
    load printers = no

####BEGIN: Rockstor SAMBA GLOBAL CUSTOM####
    workgroup = MYGROUP
####END: Rockstor SAMBA GLOBAL CUSTOM####

####BEGIN: Rockstor SAMBA CONFIG####
[MDP]
    root preexec = "/opt/rockstor/bin/mnt-share MDP"
    root preexec close = yes
    comment = Samba-Export
    path = /mnt2/MDP
    browseable = yes
    read only = no
    guest ok = no
    admin users = admin morn
[MDP_lzo]
    root preexec = "/opt/rockstor/bin/mnt-share MDP_lzo"
    root preexec close = yes
    comment = Samba-Export
    path = /mnt2/MDP_lzo
    browseable = yes
    read only = no
    guest ok = no
    admin users = admin morn
[MDP_zlib]
    root preexec = "/opt/rockstor/bin/mnt-share MDP_zlib"
    root preexec close = yes
    comment = Samba-Export
    path = /mnt2/MDP_zlib
    browseable = yes
    read only = no
    guest ok = no
    admin users = admin morn
[someuser]
    root preexec = "/opt/rockstor/bin/mnt-share someuser"
    root preexec close = yes
    comment = Samba-Export
    path = /mnt2/someuser
    browseable = yes
    read only = no
    guest ok = no
    admin users = admin someuser morn
####END: Rockstor SAMBA CONFIG####